llabbasmkhll/laravel-resources

add resource and collection by one command

v1.1 2022-03-06 08:52 UTC

This package is auto-updated.

Last update: 2024-11-06 16:27:01 UTC


README


Logo

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