Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beyondcode/laravel-package-tools
Use the make: commands that you know and love from Laravel - outside of Laravel.
https://github.com/beyondcode/laravel-package-tools
Last synced: 3 months ago
JSON representation
Use the make: commands that you know and love from Laravel - outside of Laravel.
- Host: GitHub
- URL: https://github.com/beyondcode/laravel-package-tools
- Owner: beyondcode
- License: mit
- Archived: true
- Created: 2019-03-05T16:54:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-24T04:50:46.000Z (about 5 years ago)
- Last Synced: 2024-07-19T03:51:43.518Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 28.3 KB
- Stars: 73
- Watchers: 5
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel Package Tools
[![Latest Version on Packagist](https://img.shields.io/packagist/v/beyondcode/laravel-package-tools.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-package-tools)
[![Build Status](https://img.shields.io/travis/beyondcode/laravel-package-tools/master.svg?style=flat-square)](https://travis-ci.org/beyondcode/laravel-package-tools)
[![Quality Score](https://img.shields.io/scrutinizer/g/beyondcode/laravel-package-tools.svg?style=flat-square)](https://scrutinizer-ci.com/g/beyondcode/laravel-package-tools)
[![Total Downloads](https://img.shields.io/packagist/dt/beyondcode/laravel-package-tools.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-package-tools)Gives you the `make:` commands that you know and love from Laravel - outside of Laravel. Ready to use in your next package.
[![https://phppackagedevelopment.com](https://phppackagedevelopment.com/img/twitter-card_package_dev.png)](https://phppackagedevelopment.com)
If you want to learn how to create reusable PHP packages yourself, take a look at my upcoming [PHP Package Development](https://phppackagedevelopment.com) video course.
## Installation
You can install the package via composer:
```bash
composer require --dev beyondcode/laravel-package-tools
```## Usage
You can use this package from the root of the package that you are developing. You can use the `pkg-tools` binary to create and scaffold new classes.
The package will automatically detect your namespace from your `composer.json` autoload configuration and apply it to the generated files.
## Available commands
```
./vendor/bin/pkg-tools make:command name [--command=] [--force]./vendor/bin/pkg-tools make:request name [--force]
./vendor/bin/pkg-tools make:job name [--sync] [--force]
./vendor/bin/pkg-tools make:event name [--force]
./vendor/bin/pkg-tools make:notification name [--force]
./vendor/bin/pkg-tools make:rule name [--force]
```### Testing
``` bash
composer test
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Marcel Pociot](https://github.com/beyondcode)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Laravel Package Boilerplate
This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).