LaravelSupports
composer require spatie/laravel-view-models
git submodule add https://github.com/WilsonParker/LaravelSupports app/Modules/Supports
git init app/Library/LaravelSupports
cd app/Library/LaravelSupports
git config core.sparseCheckout true
git remote add -f origin https://github.com/WilsonParker/LaravelSupports.git
echo "app/Libraries" >> .git/info/sparse-checkout
echo "app/Models" >> .git/info/sparse-checkout
echo "app/Controllers" >> .git/info/sparse-checkout
echo "app/Views" >> .git/info/sparse-checkout
echo "app/ViewModels" >> .git/info/sparse-checkout
git pull origin master
"autoload": {
"psr-4": {
"App\\": "app/",
"LaravelSupports\\Http\\": "app/Modules/Supports/Http/src/"
...
},
The Laravel framework is open-sourced software licensed under the MIT license.