laravel-ready / packager
Laravel package generator package
v1.4.0
2024-01-27 10:44 UTC
Requires
- php: ^8.1
- illuminate/filesystem: ^8.8 || ^v9.0
- illuminate/support: ^v9.9.0
- illuminate/view: 9.0
- nesbot/carbon: ^2.59.1
- nikic/php-parser: ^v4.14.0
- nunomaduro/termwind: ^1.14
- symfony/console: ^6.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.10
- pestphp/pest: ^1.21
- pestphp/pest-plugin-parallel: ^1.2
- phpstan/phpstan: ^1.8.0
- phpunit/phpcov: ^8.2.1
- phpunit/phpunit: ^9.5.20
README
📂 About
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
📦 Installation
Install globally
composer global require laravel-ready/packager --dev
📝 Usage
- 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
Create a package
packager new
or packager n