PHPackages                             julianobailao/laravel-easy-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. julianobailao/laravel-easy-api

ActiveLibrary[API Development](/categories/api)

julianobailao/laravel-easy-api
==============================

Laravel Easy Api Helper.

0.1.2(9y ago)13692MITPHPPHP ~5.6|~7.0

Since Jan 31Pushed 9y ago1 watchersCompare

[ Source](https://github.com/julianobailao/laravel-easy-api)[ Packagist](https://packagist.org/packages/julianobailao/laravel-easy-api)[ Docs](https://github.com/julianobailao/laravel-easy-api)[ RSS](/packages/julianobailao-laravel-easy-api/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Laravel - Easy Api
==================

[](#laravel---easy-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/186af1998d7e07e8f52515cacefa9cb8e4354678c8d9736a49b57730cad5b355/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a756c69616e6f6261696c616f2f6c61726176656c2d656173792d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/julianobailao/laravel-easy-api)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/65c1008c90815892e0ce986c93315e976f2ce05b9d4c6c331fa3643eef3e131a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a756c69616e6f6261696c616f2f6c61726176656c2d656173792d6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/julianobailao/laravel-easy-api)[![StyleCI](https://camo.githubusercontent.com/fc753c7eea86e01ba6526ea54efa1bdfa7debb38933c094df96649328fb092a2/68747470733a2f2f7374796c6563692e696f2f7265706f732f38303336313837322f736869656c64)](https://styleci.io/repos/80361872)[![Coverage Status](https://camo.githubusercontent.com/a22cf866430d62083e42c8d9b414902803e8168c34196229ed0336999bb3cd1d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6a756c69616e6f6261696c616f2f6c61726176656c2d656173792d6170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/julianobailao/laravel-easy-api/?branch=master)[![Quality Score](https://camo.githubusercontent.com/f965210e32b61d39e93d29601738b0c2ec762b5910ccb0432674cb67e8bf92a5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6a756c69616e6f6261696c616f2f6c61726176656c2d656173792d6170692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/julianobailao/laravel-easy-api/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/f4f51e32dbc56b433d3bfdcce4102f222288d7911a2544096453de1a97fdc3a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a756c69616e6f6261696c616f2f6c61726176656c2d656173792d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/julianobailao/laravel-easy-api)[![Donate](https://camo.githubusercontent.com/4b39cd48430ff408677ddac253d7d617397a6c32e38cf475f6a158b15bfd7dd0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LDRJCTGY2YXYJ)

This package will helps you build as quickly as possible your APIs, using pre-configured traits and resource controllers, [see the wiki for more information](https://github.com/julianobailao/laravel-easy-api/wiki).

Install
-------

[](#install)

Via Composer

```
$ composer require julianobailao/laravel-easy-api
```

Documentation
-------------

[](#documentation)

Please, see the [wiki](https://github.com/julianobailao/laravel-easy-api/wiki) for the full documentation of this project.

Basic Usage
-----------

[](#basic-usage)

### Create a Model:

[](#create-a-model)

Create a model and configure it has you wish.

```
namespace App;

use Illuminate\Database\Eloquent\Model;

class Donkey extends Model
{
  //
}
```

### Create a controller

[](#create-a-controller)

Create a controller, and use the ResourceTrait of this package. Exists one trait for each method from resource controller equivalent, if you want use a especific methods, and not all of then, read about [Independent Methods](#).

```
namespace App\Http\Controllers;

use JulianoBailao\LaravelEasyApi\ResourceTrait;

class DonkeyController extends Controller
{
  use ResourceTrait;
}
```

### Route

[](#route)

Configure your route like a resource controller:

```
Route::resource('donkeys', 'DonkeyController', ['except' => ['create', 'edit']]);
```

### It's runing!

[](#its-runing)

You have a resource controller with the index, show, store, update and destroy methods, runing for model Donkey, in the /donkeys route.

Please, see the [wiki](https://github.com/julianobailao/laravel-easy-api/wiki) for the full documentation of this project.

License
-------

[](#license)

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

Donate
------

[](#donate)

Support this project and others, via [PayPal](link-donate).

[![Donate](https://camo.githubusercontent.com/4b39cd48430ff408677ddac253d7d617397a6c32e38cf475f6a158b15bfd7dd0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LDRJCTGY2YXYJ)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

3437d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16c0415615b85ad4a9d86a92c39f25ac1fc1082c2dcd6b10e22799826d8c95cf?d=identicon)[JUB4](/maintainers/JUB4)

---

Top Contributors

[![julianobailao](https://avatars.githubusercontent.com/u/1957944?v=4)](https://github.com/julianobailao "julianobailao (28 commits)")

---

Tags

apiapi-serverlaravelpackagephpphpapilaraveleasyjuliano bailao

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/julianobailao-laravel-easy-api/health.svg)

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

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162151.8k1](/packages/joisarjignesh-bigbluebutton)[jeroen-g/flickr

Modern PHP package to make Flickr API calls. Ships with Laravel implementation.

2562.1k2](/packages/jeroen-g-flickr)[exlo89/laravel-sevdesk-api

A helpful Sevdesk API client for Laravel.

1117.7k](/packages/exlo89-laravel-sevdesk-api)[dystcz/lunar-api

Dystore API layer for Lunar e-commerce package

411.2k3](/packages/dystcz-lunar-api)[yxx/laravel-quick

agile development

145.5k](/packages/yxx-laravel-quick)[gufy/whmcs

WHMCS API for Laravel 5

201.7k](/packages/gufy-whmcs)

PHPackages © 2026

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