Skip to content

laraflow/crud

Repository files navigation

API CRUD

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation

You can install the package via composer:

composer require laraflow/crud

After that run this command to configure project.

php artisan laraflow:install

Usage

To create a complete API CRUD stub file use this command

php artisan make:crud ResourceName

If you want to add fields to migration and request validation then

php artisan make:crud ResourceName --fields=name,email,phone,image

Optionally, If you want to create an inside subdirectory.

php artisan make:crud Directory1/Directorry2/ResourceName

Note: Root Namespace will be added from the configuration.

Testing

composer test

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

License

The MIT License (MIT). Please see License File for more information.