Looking to hire Laravel developers? Try LaraJobs

laravel-model-api maintained by tantee

Description
Expose all models as CRUD, search and query API
Author
Last update
2023/03/21 23:10 (dev-master)
License
Downloads
1 116

Comments
comments powered by Disqus

Expose all models as CRUD, search and query API

Latest Version on Packagist 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 tantee/laravel-model-api

You can publish and run the migrations with:

php artisan vendor:publish --provider="TaNteE\LaravelModelApi\LaravelModelApiServiceProvider" --tag="laravel-model-api-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --provider="TaNteE\LaravelModelApi\LaravelModelApiServiceProvider" --tag="laravel-model-api-config"

This is the contents of the published config file:

return [
  'route-prefix' => 'api',
  'route-middleware' => ['api'],
];

Usage

All of models can be exposed as API with CRUD functions. Complete manual will be written soon.

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.