llabbasmkhll / laravel-resources
add resource and collection by one command
Requires
- php: ^7.1.3|^8.0.0
- laravel/framework: 5.*|6.*|7.*|8.*|9.*
Requires (Dev)
- orchestra/testbench: 6.0
This package is auto-updated.
Last update: 2024-11-06 16:27:01 UTC
README
laravel resources
add resource and collection by one artisan command
About
This package helps create both resource and collection by one artisan command.
for more information about resoutces visit laravel documents : https://laravel.com/docs/9.x/eloquent-resources
Usage
Installation
You can install the package via composer by this command:
composer require llabbasmkhll/laravel-resources
Command Usage
Once you added the package to your project you can run this command :
php artisan make:resources post
PostCollection.php
and PostResurce.php
will be created in resources folder
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Abbas mkhzomi - Telegram@llabbasmkhll - llabbasmkhll@gmail.com
Project Link: https://github.com/llabbasmkhll/laravel-resources