PHPackages                             coreproc/api-builder - 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. coreproc/api-builder

ActiveLibrary[API Development](/categories/api)

coreproc/api-builder
====================

API builder for Laravel

0.0.1(7y ago)5119↓100%1[1 issues](https://github.com/CoreProc/api-builder/issues)MITPHPPHP ^7.1

Since Feb 25Pushed 7y ago3 watchersCompare

[ Source](https://github.com/CoreProc/api-builder)[ Packagist](https://packagist.org/packages/coreproc/api-builder)[ Docs](https://github.com/coreproc/api-builder)[ RSS](/packages/coreproc-api-builder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

API Builder for Laravel
=======================

[](#api-builder-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/49a9a2486ecb0f6f039b4787e0cb04d33d8c4e012c739ae937121b2a83d1b6d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370617469652f6170692d6275696c6465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/api-builder)[![Build Status](https://camo.githubusercontent.com/3b629a9224900567a05aa61bbdcdf591e680819b5cb1c698ea87be1071251c54/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7370617469652f6170692d6275696c6465722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/spatie/api-builder)[![Quality Score](https://camo.githubusercontent.com/49c1afa42a4016114c8a85ee4cc408eeaa5280ea2062cef7ee2fbd4ac98d3554/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7370617469652f6170692d6275696c6465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/spatie/api-builder)[![Total Downloads](https://camo.githubusercontent.com/c21140cd5901c5de42cdac25b03f7df5f4fbca2dbecc053fa6da41f061037d78/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370617469652f6170692d6275696c6465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/api-builder)

API builder for Laravel aims to provide a quick and standard way of creating APIs. When you create an API for your resource using this package, you will get the standard CRUD endpoints and is flexible enough to adapt to the needs of your business logic.

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

[](#installation)

You can install the package via composer:

```
composer require coreproc/api-builder
```

Usage
-----

[](#usage)

To start using API builder, simply create a controller, have it extend the `ApiBuilderController` class, then define the necessary information regarding the resource. Here is what a basic controller should look like:

```
