Currently, Laravel does not provide a package creation / generation / wizard tool. Packager is a package creation tool and it fills this field. You can create laravel packages with this tool on CLI easily. Generally, we use singleton packages for developing laravel packages, or we often craft the packages manually. This takes some time and it process is open to errors. Packager generates all files from templates and accelerates the development phases.
Notes:
-
Packager follows PSR standards, laravel API and laravel folder structure.
-
This package is highly inspired by yediyuz/laravel-package
Install globally
composer global require laravel-ready/packager --dev
- Create a Github or Gitlab repository for your package
- Pull the package to your local machine
- Run
packager new
command - Enter required information
- Install the package with
composer install
command - Start developing your package
packager new
or packager n