Skip to content

tantee/laravel-model-api

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages