PHPackages                             flipboxfactory/craft-rest - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. flipboxfactory/craft-rest

ActiveLibrary[HTTP &amp; Networking](/categories/http)

flipboxfactory/craft-rest
=========================

Rest application components for Yii2 and Craft CMS

5.0.0(6mo ago)1915.0k↓42.5%31MITPHPCI failing

Since Oct 19Pushed 6mo ago4 watchersCompare

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

READMEChangelog (9)Dependencies (3)Versions (14)Used By (1)

RESTful Application Components for Craft CMS
============================================

[](#restful-application-components-for-craft-cms)

[![Join the chat at https://gitter.im/flipboxfactory/craft-rest](https://camo.githubusercontent.com/b24e7520a7d8866e712a4f9e4d1b274cfcc87e83e20ac518296dd2600084b8c7/68747470733a2f2f6261646765732e6769747465722e696d2f666c6970626f78666163746f72792f63726166742d726573742e737667)](https://gitter.im/flipboxfactory/craft-rest?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Latest Version](https://camo.githubusercontent.com/e10f66e03712482a9eb2e8c2b39c3d4aeda6c40a8855317933a5ff59450e613b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f666c6970626f78666163746f72792f63726166742d726573742e7376673f7374796c653d666c61742d737175617265)](https://github.com/flipboxfactory/craft-rest/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/37fb9b240d8f25541bdd59bbe690f6907b661c47876e0925df209b8ec3345350/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f666c6970626f78666163746f72792f63726166742d726573742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/flipboxfactory/craft-rest)[![Coverage Status](https://camo.githubusercontent.com/937f92d279f1e34f14306f3284e030da444bbfa1680427c19a77219777975ebc/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f666c6970626f78666163746f72792f63726166742d726573742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/flipboxfactory/craft-rest/code-structure)[![Quality Score](https://camo.githubusercontent.com/5a1f83474c59a55a1e848f707fc7093af14cfd18d56748ca7736c031cfe1b894/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f666c6970626f78666163746f72792f63726166742d726573742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/flipboxfactory/craft-rest)[![Total Downloads](https://camo.githubusercontent.com/eb066281b388be0ae870999b75c0c77252833d006227cc195d0e496d4518b806/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666c6970626f78666163746f72792f63726166742d726573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/flipboxfactory/craft-rest)

Description
-----------

[](#description)

This package provides some RESTful specific components that are useful when building a RESTful api. These components are used in a [RESTful Plugin for Craft](https://github.com/flipboxfactory/craft-restful); however they may also be used on their own if you wish to start from scratch.

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

[](#installation)

To install, use composer:

```
composer require flipboxfactory/craft-rest

```

Usage
-----

[](#usage)

With this plugin as the scaffolding, you'll need to register and build your own RESTful endpoints. We've created a [test project as a reference](https://github.com/flipboxlabs/craft-restful-project).

Testing
-------

[](#testing)

```
$ ./vendor/bin/phpunit
```

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/flipboxfactory/craft-rest/blob/master/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Flipbox Digital](https://github.com/flipbox)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/flipboxfactory/craft-rest/blob/master/LICENSE) for more information.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance66

Regular maintenance activity

Popularity35

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~293 days

Recently: every ~621 days

Total

11

Last Release

201d ago

Major Versions

1.0.0-beta.1 → 2.0.0-rc.12018-01-15

2.1.0 → 3.0.02023-07-26

3.1.0 → 5.0.02025-10-30

### Community

Maintainers

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

---

Top Contributors

[![nateiler](https://avatars.githubusercontent.com/u/1892443?v=4)](https://github.com/nateiler "nateiler (34 commits)")[![dsmrt](https://avatars.githubusercontent.com/u/1995478?v=4)](https://github.com/dsmrt "dsmrt (6 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

craft3apirestyii2restfulCraftflipbox

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/flipboxfactory-craft-rest/health.svg)

```
[![Health](https://phpackages.com/badges/flipboxfactory-craft-rest/health.svg)](https://phpackages.com/packages/flipboxfactory-craft-rest)
```

###  Alternatives

[nategood/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

1.8k17.2M267](/packages/nategood-httpful)[tbbc/rest-util-bundle

Bundle for integrating tbbc/rest-util lib in a Symfony application.

30205.4k1](/packages/tbbc-rest-util-bundle)[ismaeltoe/osms

PHP library wrapper of the Orange SMS API.

4540.0k](/packages/ismaeltoe-osms)[wellrested/wellrested

Simple PHP Library for RESTful APIs

4818.7k4](/packages/wellrested-wellrested)

PHPackages © 2026

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