PHPackages                             tiagomichaelsousa/laravelresources - 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. tiagomichaelsousa/laravelresources

ActiveLibrary

tiagomichaelsousa/laravelresources
==================================

Laravel Resources is a speed-up development package that allows you to create a boilerplate for Laravel apps with a default API structure.

v3.0.0(3y ago)15613.6k15MITPHP

Since Jan 29Pushed 3y ago2 watchersCompare

[ Source](https://github.com/tiagomichaelsousa/LaravelResources)[ Packagist](https://packagist.org/packages/tiagomichaelsousa/laravelresources)[ Docs](https://github.com/tiagomichaelsousa/laravelresources)[ RSS](/packages/tiagomichaelsousa-laravelresources/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (5)Versions (13)Used By (0)

Laravel Resources
=================

[](#laravel-resources)

 [![Laravel Resources Demo](./docs/demo.gif)](./docs/demo.gif)

 [![Packagist Version](https://camo.githubusercontent.com/5dd14cf6fde9421228ebead0aff55952b86479963a7fe72e08a35f4138e4e1b8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746961676f6d69636861656c736f7573612f6c61726176656c7265736f75726365732e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/5dd14cf6fde9421228ebead0aff55952b86479963a7fe72e08a35f4138e4e1b8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746961676f6d69636861656c736f7573612f6c61726176656c7265736f75726365732e7376673f7374796c653d666c61742d737175617265) [![Packagist Downloads](https://camo.githubusercontent.com/2fc3a8054cadd813934dc57d46145ec385a2f0e9e937c1ca92b0359891881dd3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746961676f6d69636861656c736f7573612f6c61726176656c7265736f75726365732e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/2fc3a8054cadd813934dc57d46145ec385a2f0e9e937c1ca92b0359891881dd3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746961676f6d69636861656c736f7573612f6c61726176656c7265736f75726365732e7376673f7374796c653d666c61742d737175617265) [![Build Status](https://camo.githubusercontent.com/2bb60eb074e434e98a58d95c3fc62664442e088ef386f09abefb04c451669aa4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746961676f6d69636861656c736f7573612f6c61726176656c7265736f75726365732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/2bb60eb074e434e98a58d95c3fc62664442e088ef386f09abefb04c451669aa4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746961676f6d69636861656c736f7573612f6c61726176656c7265736f75726365732f6d61737465722e7376673f7374796c653d666c61742d737175617265) [![Style Status](https://camo.githubusercontent.com/18be2fcd1b0ba2d0317e9d58f359c22daafd0b1c86f395ddbaaec1e08c6faea9/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3233363936343934322f736869656c64)](https://camo.githubusercontent.com/18be2fcd1b0ba2d0317e9d58f359c22daafd0b1c86f395ddbaaec1e08c6faea9/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3233363936343934322f736869656c64) [![Licence](https://camo.githubusercontent.com/b7240268d5bb03bcbe71f64ce80f8b493d24ded36c2b2dfa9e4af624fe58c61f/68747470733a2f2f706f7365722e707567782e6f72672f746961676f6d69636861656c736f7573612f6c61726176656c7265736f75726365732f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://camo.githubusercontent.com/b7240268d5bb03bcbe71f64ce80f8b493d24ded36c2b2dfa9e4af624fe58c61f/68747470733a2f2f706f7365722e707567782e6f72672f746961676f6d69636861656c736f7573612f6c61726176656c7265736f75726365732f6c6963656e73653f666f726d61743d666c61742d737175617265) [![All Contributors](https://camo.githubusercontent.com/4e96de37ea680371089642c8762ee051f42043eb64b50c4119a4e48970a2d434/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f616c6c5f636f6e7472696275746f72732d312d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/4e96de37ea680371089642c8762ee051f42043eb64b50c4119a4e48970a2d434/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f616c6c5f636f6e7472696275746f72732d312d6f72616e67652e7376673f7374796c653d666c61742d737175617265) [![Code Quality](https://camo.githubusercontent.com/eb1653f4955cb3b976b445b05663d8d63e272d4fe7154ab669e848358e961e93/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3863356661666262626635323462346462373731613762623163353562623339)](https://camo.githubusercontent.com/eb1653f4955cb3b976b445b05663d8d63e272d4fe7154ab669e848358e961e93/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3863356661666262626635323462346462373731613762623163353562623339) [![Code Coverage](https://camo.githubusercontent.com/5bba1fe44eda0298f0574eae642bd5ef2a6f985e649b5115c96425fe7ca2ad93/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f3863356661666262626635323462346462373731613762623163353562623339)](https://camo.githubusercontent.com/5bba1fe44eda0298f0574eae642bd5ef2a6f985e649b5115c96425fe7ca2ad93/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f3863356661666262626635323462346462373731613762623163353562623339)

---

Laravel Resources is a speed-up development package that allows you to create a boilerplate for Laravel apps with a default API structure.

Versions
--------

[](#versions)

LaravelLaravel Resources7.xv1.78.xv2.x9.xv2.x10.xv3.xInstallation
------------

[](#installation)

Via Composer

```
$ composer require tiagomichaelsousa/laravelresources --dev
```

Usage
-----

[](#usage)

Create the resources

```
$ php artisan resources:create
```

This command will create the Controller, the Request, the Policy, the API Resource and Collection and will also add the default routes for the API.

Publish configuration file

```
$ php artisan vendor:publish --provider="tiagomichaelsousa\LaravelResources\LaravelResourcesServiceProvider" --tag="config"
```

**Notes:**

- This package is fully configurable. You can change all the namespaces for the resources that will be created in the config file.
- Don't forget to edit the request file in order to add your default validation for the model.
- Don't forget to edit the policy file in order to fulfill your app business logic.

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

### With test coverage

[](#with-test-coverage)

```
$ composer test-report
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email the [author](mailto:tiagomichaelsousa@gmail.com) instead of using the issue tracker.

Credits
-------

[](#credits)

- [@tiagomichaelsousa](https://github.com/tiagomichaelsousa)
- [All Contributors](../../contributors)

License
-------

[](#license)

License MIT. Please see the [license file](license.md) for more information.

Code Of Conduct
---------------

[](#code-of-conduct)

Please see the [code of conduct](code_of_conduct.md) for more information.

Contributors ✨
--------------

[](#contributors-)

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

  [![](https://avatars1.githubusercontent.com/u/15105462?v=4)
**Rafael Ferreira**](http://www.xgeeks.io)
[📖](https://github.com/tiagomichaelsousa/LaravelResources/commits?author=RafaelFerreiraTVD "Documentation") [![](https://avatars1.githubusercontent.com/u/28356381?v=4)
**tiagomichaelsousa**](https://github.com/tiagomichaelsousa)
[💻](https://github.com/tiagomichaelsousa/LaravelResources/commits?author=tiagomichaelsousa "Code") [📖](https://github.com/tiagomichaelsousa/LaravelResources/commits?author=tiagomichaelsousa "Documentation") [🖋](#content-tiagomichaelsousa "Content") [👀](https://github.com/tiagomichaelsousa/LaravelResources/pulls?q=is%3Apr+reviewed-by%3Atiagomichaelsousa "Reviewed Pull Requests") [![](https://avatars3.githubusercontent.com/u/62600397?v=4)
**White Hyena**](https://github.com/white-hyena)
[💻](https://github.com/tiagomichaelsousa/LaravelResources/commits?author=white-hyena "Code") [🖋](#content-white-hyena "Content") [![](https://avatars2.githubusercontent.com/u/13960169?v=4)
**Keunbae Park**](https://github.com/pkboom)
[💻](https://github.com/tiagomichaelsousa/LaravelResources/commits?author=pkboom "Code") [🖋](#content-pkboom "Content") This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~108 days

Recently: every ~280 days

Total

12

Last Release

1102d ago

Major Versions

v1.8 → v2.02020-09-29

v2.0.1 → v3.0.02023-05-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/26550bab7dc2128c616cafe07dfaf9e859efe4bf29364a56ef636bc6574e3317?d=identicon)[tiagomichaelsousa](/maintainers/tiagomichaelsousa)

---

Top Contributors

[![tiagomichaelsousa](https://avatars.githubusercontent.com/u/28356381?v=4)](https://github.com/tiagomichaelsousa "tiagomichaelsousa (30 commits)")[![allcontributors[bot]](https://avatars.githubusercontent.com/in/23186?v=4)](https://github.com/allcontributors[bot] "allcontributors[bot] (4 commits)")[![stephanesoares](https://avatars.githubusercontent.com/u/4375100?v=4)](https://github.com/stephanesoares "stephanesoares (2 commits)")[![white-hyena](https://avatars.githubusercontent.com/u/62600397?v=4)](https://github.com/white-hyena "white-hyena (1 commits)")[![RafaelFerreiraTVD](https://avatars.githubusercontent.com/u/15105462?v=4)](https://github.com/RafaelFerreiraTVD "RafaelFerreiraTVD (1 commits)")[![angtheod](https://avatars.githubusercontent.com/u/14092452?v=4)](https://github.com/angtheod "angtheod (1 commits)")[![pkboom](https://avatars.githubusercontent.com/u/13960169?v=4)](https://github.com/pkboom "pkboom (1 commits)")

---

Tags

hacktoberfestlaravellaravel-packagelaravel-resourceslaravelLaravelResourceslaravel-resources

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tiagomichaelsousa-laravelresources/health.svg)

```
[![Health](https://phpackages.com/badges/tiagomichaelsousa-laravelresources/health.svg)](https://phpackages.com/packages/tiagomichaelsousa-laravelresources)
```

###  Alternatives

[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[glhd/linen

21135.6k](/packages/glhd-linen)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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