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

ActiveLibrary[API Development](/categories/api)

origami/api
===========

API Laravel 5 package

2.0.1(2y ago)35.4k1MITPHPPHP ^7.2|^8.0.2

Since Mar 15Pushed 2y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (5)Versions (19)Used By (0)

Origami API Package
===================

[](#origami-api-package)

This package simplifies the process of setting up an API using Laravel 6. Many of the practices utilised in this package are courtesy of [Build APIs you Won't Hate](https://leanpub.com/build-apis-you-wont-hate) by Phil Sturgeon.

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

[](#installation)

Install this package through Composer.

`composer require origami/api`

### Requirements

[](#requirements)

This package is designed to work with Laravel &gt;= 6 currently.

### Configuration

[](#configuration)

There are some API configuration options that you'll want to overwrite. First, publish the default configuration.

```
php artisan vendor:publish
```

This will add a new configuration file to: `config/api.php`.

```
