simklee/laravel-local-packages

Helper to develop local packages in Laravel.

dev-main 2022-11-06 10:33 UTC

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 in packages.
  • Clone the git repository into packages/vendor/package.
  • Add repository information into composer.json (section respoitories).
  • Require repository via composer.

Usage

php artisan package:add REPOSITORY