Download the PHP package redberryproducts/laravel-packager without Composer
On this page you can find all versions of the php package redberryproducts/laravel-packager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download redberryproducts/laravel-packager
More information about redberryproducts/laravel-packager
Files in redberryproducts/laravel-packager
Package laravel-packager
Short Description Package to easily initiate new package using spatie's laravel package skeleton
License MIT
Homepage https://github.com/redberryproducts/laravel-packager
Informations about the package laravel-packager
Package to easily initiate new package using spatie's laravel package skeleton
Laravel Packager is a streamlined Laravel package designed to simplify the creation of new package skeletons within your project. With minimal effort, it clones a customizable skeleton repository, detaches it from its original Git history, and seamlessly integrates the new package into your application’s composer.json. By automating these steps, Laravel Packager eliminates the friction of package initialization, making it effortless to extract reusable features into standalone packages for enhanced modularity and maintainability.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
If you want to add another skeleton, or create your custom skeleton and give package ability to initilize this inside your project, you will need to do the following:
- Create a package skeleton github repository
- Add new entry to skeletons list inside the published config
- Modify default_skeletons to reflect new skeleton name
Usage
For example:
This command: Clones the Spatie skeleton (or your configured skeleton) to packages/acme/example.
Initializes a new Git repository, detaching it from the skeleton’s history.
Updates composer.json to include:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Nika Jorjoliani
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-packager with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0