Updated for Laravel 11.0 and Livewire 3.0
This repository contains my starting point when developing a new Laravel project. It comes with a basic user management, role management and permissions management and a dashboard.
- Laravel Pint for code style fixes
- PestPHP for testing
- missing-livewire-assertions for extra testing of Livewire components by Christoph Rumpel
- Strict Eloquent Models for safety
- Laravel Debugbar for debugging
- Laravel IDE helper for IDE support
- Spatie Roles & Permissions for user roles and permissions
- Wire Elements / Modals for modals
- LivewireAlerts for SweetAlerts
- Laravel Cashier for Stripe integration
After cloning the repository, do the following:
composer install
npm install
npm run build # or npm run dev
Setup your .env
file and run the migrations.
cp .env.example .env
php artisan key:generate
php artisan storage:link
php artisan migrate
php artisan db:seed
php artisan app:create-super-admin
- Set stripe keys in the
.env
file. - Set the webhook in Stripe to point to your server with the path
/stripe/webhook
. - In Stripe Panel, set up to subscribe to these events:
customer.subscription.created
customer.subscription.updated
customer.subscription.deleted
customer.updated
customer.deleted
payment_method.automatically_updated
invoice.payment_action_required
invoice.payment_succeeded
Feel free to contribute to this project by submitting a pull request.
I'd like to thank all the people who have contributed to the packages used in this project. Especially Spatie for their great packages, Livewire and Alpinejs for their awesome framework and the Laravel community for their great work. Furthermore, the Tallstack.dev team for their preset. And of course Laravel for their awesome framework.
If you like this project, please consider donating to support it.