PHPackages                             tantee/laravel-model-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. tantee/laravel-model-api

ActiveLibrary[API Development](/categories/api)

tantee/laravel-model-api
========================

Expose all models as CRUD, search and query API

1.0.10.1(3y ago)01.1kMITPHPPHP ^7.4|^8.0

Since Feb 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/tantee/laravel-model-api)[ Packagist](https://packagist.org/packages/tantee/laravel-model-api)[ Docs](https://github.com/tantee/laravel-model-api)[ GitHub Sponsors](https://github.com/tantee)[ RSS](/packages/tantee-laravel-model-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (22)Used By (0)

Expose all models as CRUD, search and query API
===============================================

[](#expose-all-models-as-crud-search-and-query-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2c1f3cd47b04097c0f18ffa3c8c5c7eb660c4f26da46e42fe3a0ae9eba4824a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74616e7465652f6c61726176656c2d6d6f64656c2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tantee/laravel-model-api)[![Total Downloads](https://camo.githubusercontent.com/820fdfb4e2374097a725b4ca997612ef37bbeffc5f68519ff5c49d5ed65b078f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74616e7465652f6c61726176656c2d6d6f64656c2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tantee/laravel-model-api)

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

Installation
------------

[](#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
-----

[](#usage)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [TaNteE](https://github.com/tantee)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~37 days

Recently: every ~91 days

Total

21

Last Release

1146d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0de438430b9f2df7babcd9166a6f3518e15eb7f172a313247e027b895275a68?d=identicon)[tantee](/maintainers/tantee)

---

Top Contributors

[![tantee](https://avatars.githubusercontent.com/u/24253163?v=4)](https://github.com/tantee "tantee (41 commits)")

---

Tags

tanteelaravel-model-api

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tantee-laravel-model-api/health.svg)

```
[![Health](https://phpackages.com/badges/tantee-laravel-model-api/health.svg)](https://phpackages.com/packages/tantee-laravel-model-api)
```

###  Alternatives

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1221.1k](/packages/codebar-ag-laravel-docuware)[likeabas/filament-chatgpt-agent

Integrate with OpenAI ChatGPT

235.3k](/packages/likeabas-filament-chatgpt-agent)[tapp/filament-webhook-client

Add a Filament resource and a policy for Spatie Webhook client

1120.2k](/packages/tapp-filament-webhook-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
