Updated for Laravel 12.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 devSetup your .env file and run the migrations.
cp .env.example .env
php artisan key:generate
php artisan storage:linkphp artisan migratephp artisan db:seedphp artisan app:create-super-admin- Set stripe keys in the
.envfile. - 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.createdcustomer.subscription.updatedcustomer.subscription.deletedcustomer.updatedcustomer.deletedpayment_method.automatically_updatedinvoice.payment_action_requiredinvoice.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.