PHPackages                             floor9design/laravel-restful-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. floor9design/laravel-restful-api

ActiveLibrary[API Development](/categories/api)

floor9design/laravel-restful-api
================================

A set of restful API classes that offer strict RESTful methods for laravel

0204PHPCI failing

Since Feb 9Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/floor9design-ltd/laravel-restful-api)[ Packagist](https://packagist.org/packages/floor9design/laravel-restful-api)[ RSS](/packages/floor9design-laravel-restful-api/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

laravel-restful-api
===================

[](#laravel-restful-api)

[![Latest Version](https://camo.githubusercontent.com/ca7d38f2d0a639b8a587947dceab0b918609e9f7730bca60fae0d5992038d7aa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f666c6f6f723964657369676e2d6c74642f6c61726176656c2d7265737466756c2d6170693f696e636c7564655f70726572656c6561736573267374796c653d706c6173746963)](https://github.com/floor9design-ltd/laravel-restful-api/releases)[![Packagist](https://camo.githubusercontent.com/3fd2c0f0916bc81b0bcd80db63b5b8c98e0d0d1d5b93c8f2f43b734a983cecb7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c6f6f723964657369676e2f6c61726176656c2d7265737466756c2d6170693f7374796c653d706c6173746963)](https://packagist.org/packages/floor9design/laravel-restful-api)[![Software License](https://camo.githubusercontent.com/10955426da15c7ed27f262e19d2eddeb65055494880cc858e8fc0792d5e15d1c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d706c6173746963)](LICENCE.md)

[![Build Status](https://camo.githubusercontent.com/93daff6f0f794079980a6c7afd9767ad5a7ae130c52605f869f4921f8e9fa7eb/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f666c6f6f723964657369676e2d6c74642f6c61726176656c2d7265737466756c2d6170693f7374796c653d706c6173746963)](https://travis-ci.com/github/floor9design-ltd/laravel-restful-api)[![Build Status](https://camo.githubusercontent.com/0d694f6e05a351843a7a293cf1e106f3481af70c14f2326e3301b3ff0cfe42d6/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f666c6f6f723964657369676e2d6c74642f6c61726176656c2d7265737466756c2d6170693f7374796c653d706c6173746963)](https://codecov.io/gh/floor9design-ltd/laravel-restful-api)

[![Github Downloads](https://camo.githubusercontent.com/b22b48e38fd2adac6263b91984952f7592e79fd485d88cd03cc6d07cbdcbe311/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f666c6f6f723964657369676e2d6c74642f6c61726176656c2d7265737466756c2d6170692f746f74616c3f7374796c653d706c6173746963)](https://github.com/floor9design-ltd/laravel-restful-api)[![Packagist Downloads](https://camo.githubusercontent.com/344cae4da6de2b93d2ed741f7413d05d63348b64650d197bb54547e0914286dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666c6f6f723964657369676e2f6c61726176656c2d7265737466756c2d6170693f7374796c653d706c6173746963)](https://packagist.org/packages/floor9design/laravel-restful-api)

A set of restful API classes that offer strict RESTful methods for laravel. Currently in development.

Introduction
------------

[](#introduction)

Laravel's out the box RESTful implementation is fairly easy to use, but it is not a strict REST api. This repository offers classes to deliver a true REST implementation that matches the wikipedia definition.

- [Wikipedia definition](https://en.wikipedia.org/wiki/Representational_state_transfer#Relationship_between_URI_and_HTTP_methods)

Features
--------

[](#features)

- Simple setup/configuration
- Simple "plug-in" traits and interfaces that quickly add a full set of RESTful responses to a controller
- JSON API compliant responses
- Not implemented/not allowed/data responses available on a per method/route basis
- Easily overrideable by your own code on a per method/route basis
- Suports laravel validation

Install
-------

[](#install)

Via Composer

```
composer require floor9design/laravel-restful-api
```

Usage
-----

[](#usage)

It is recommended you read the background information section:

- [background](docs/project/background.md)

This is defined in detail in the usage section:

- [usage](docs/project/usage.md)

Setup
-----

[](#setup)

This is defined in detail in the setup section:

- [setup](docs/project/setup.md)

Testing
-------

[](#testing)

Tests under development and are underway.

To run the existing tests:

- `./vendor/phpunit/phpunit/phpunit`

Documentation and coverage can be generated as follows:

- `./vendor/phpunit/phpunit/phpunit --coverage-html docs/tests/`

Credits
-------

[](#credits)

- [Rick](https://github.com/elb98rm)

Changelog
---------

[](#changelog)

A changelog is generated here:

- [Change log](CHANGELOG.md)

License
-------

[](#license)

This software is available under the MIT licence.

- [License File](LICENCE.md)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance55

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 86.9% 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.

### Community

Maintainers

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

---

Top Contributors

[![elb98rm](https://avatars.githubusercontent.com/u/2630101?v=4)](https://github.com/elb98rm "elb98rm (93 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![jackcruden](https://avatars.githubusercontent.com/u/2648061?v=4)](https://github.com/jackcruden "jackcruden (1 commits)")

### Embed Badge

![Health badge](/badges/floor9design-laravel-restful-api/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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