This Laravel packages contain a very simple structure for any kind of packages development for Laravel
- Clean and basic start point in Laravel package development.
- Webpack setup with tailwind css ,sweetalert2 and vue3 basic setup.
- Simple out of the box Laravel Authentication, using the package.
- Example Laravel components, and layout structure.
- Tailwind with npm presetup for runing with packages.
- Republish command
- Reusable laravel layout
- Dynamic form
- Lightweight
- Dark|light mode out of the box
- Now with api read to use with a mobile aplication
You have 2 options.
- composer require mariojgt/skeleton
- php artsain vendor:publish --force (select the package number)
-
git clone https://github.com/mariojgt/skeleton
-
Setup you composer to use local VCS
-
"repositories": [ { "type" : "path", "url": "packages/skeleton", // Path to your local folder package "options": { "symlink": true } } ], "require": { "php": "^7.3|^8.0", //Example "fideloper/proxy": "^4.4",//Example "fruitcake/laravel-cors": "^2.0",//Example "guzzlehttp/guzzle": "^7.0.1",//Example "laravel/framework": "^8.12",//Example "laravel/tinker": "^2.5",//Example "mariojgt/skeleton": "@dev"// Here is where you add the package reference },
-
php artsain vendor:publish --force (select the package number)
The following commands
php artisan republish:skeleton
Will move you changes in your resources like the js or css back to the packages useful to speed up development.
This package purpose is to give a fresh start for a new package so you can use those premade tools or just delete and use the package skeleton, note the by default the system don't allow registration but you can change that i the skeleton config file.
php artisan install:skeleton