This is my personal starter with some custom stubs inspired by laraveldaily vuejs example
- Clone the repository with
git clone
- Copy
.env.example
file to.env
and edit database credentials there - Run
composer install
- Run
php artisan key:generate
- Run
php artisan migrate --seed
(it has some seeded data for your testing) - Run
php artisan passport:install
- Run
npm install
- Run
npm run dev
- That's it: launch the main URL.
- Run
php artisan tkr:module name
This will create
- Model in
app/Models
- Controller in
app/Http/Controllers/Api/V1/Admin
- Resource in
app/Http/Resources
- Store and Update Requests in
app/Http/Requests
- Vue cruds in
resources/adminapp/js/cruds
- Vue store requests in
resources/adminapp/js/store/cruds
- Change router to dynamically load everything from routes folder
- Change store to dynamically load everything from store folder
- Change to inertia.js when intertia.js is at v2 atleast