simklee / laravel-local-packages
Helper to develop local packages in Laravel.
dev-main
2022-11-06 10:33 UTC
Requires
- php: ^8.1
- ext-json: *
Requires (Dev)
- orchestra/testbench: ^7.0
This package is auto-updated.
Last update: 2024-12-06 14:05:40 UTC
README
Helper for developing local packages in Laravel.
Functionality
- Creates a directory
packages
for the local composer packages. - Creates a
.gitignore
file in packages directory to prevent committing files in laravel project. - Creates a subdirectoy
vendor/package
inpackages
. - Clone the git repository into
packages/vendor/package
. - Add repository information into
composer.json
(sectionrespoitories
). - Require repository via composer.
Usage
php artisan package:add REPOSITORY