Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laravel-ready/packager
Ready to use laravel package generator
https://github.com/laravel-ready/packager
composer laravel laravel-pacakges laravel-package laravel-package-generator package-generator package-installer php
Last synced: 3 months ago
JSON representation
Ready to use laravel package generator
- Host: GitHub
- URL: https://github.com/laravel-ready/packager
- Owner: laravel-ready
- License: mit
- Created: 2022-07-09T21:36:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-27T10:44:41.000Z (about 1 year ago)
- Last Synced: 2024-03-29T10:22:03.944Z (10 months ago)
- Topics: composer, laravel, laravel-pacakges, laravel-package, laravel-package-generator, package-generator, package-installer, php
- Language: PHP
- Homepage:
- Size: 269 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Packager
[![Packager](https://preview.dragon-code.pro/laravel-ready/packager.svg?brand=composer)](https://github.com/laravel-readypackager)
[![Stable Version][badge_stable]][link_packagist]
[![Unstable Version][badge_unstable]][link_packagist]
[![Total Downloads][badge_downloads]][link_packagist]
[![License][badge_license]][link_license]## 📂 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](https://www.php-fig.org/psr/) standards, [laravel API](https://laravel.com/api/9.x/) and laravel [folder structure](https://github.com/laravel/laravel).
- This package is highly inspired by [yediyuz/laravel-package](https://github.com/yediyuz/laravel-package)
## 📦 Installation
Install globally
`composer global require laravel-ready/packager --dev`
## 📝 Usage
1. Create a Github or Gitlab repository for your package
2. Pull the package to your local machine
3. Run `packager new` command
4. Enter required information
5. Install the package with `composer install` command
6. Start developing your package### Create a package
`packager new` or `packager n`
[badge_downloads]: https://img.shields.io/packagist/dt/laravel-ready/packager.svg?style=flat-square
[badge_license]: https://img.shields.io/packagist/l/laravel-ready/packager.svg?style=flat-square
[badge_stable]: https://img.shields.io/github/v/release/laravel-ready/packager?label=stable&style=flat-square
[badge_unstable]: https://img.shields.io/badge/unstable-dev--main-orange?style=flat-square
[link_license]: LICENSE
[link_packagist]: https://packagist.org/packages/laravel-ready/packager