PHPackages                             treehouselabs/base-api-bundle - 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. treehouselabs/base-api-bundle

ActiveSymfony-bundle[API Development](/categories/api)

treehouselabs/base-api-bundle
=============================

Base bundle for Api functionality

v0.1.1(10y ago)015.3k1MITPHPPHP &gt;=5.5

Since May 19Pushed 9y ago11 watchersCompare

[ Source](https://github.com/treehouselabs/base-api-bundle)[ Packagist](https://packagist.org/packages/treehouselabs/base-api-bundle)[ RSS](/packages/treehouselabs-base-api-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (8)Versions (4)Used By (0)

Base API bundle
===============

[](#base-api-bundle)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2b5c8d8485dbdbcb5b42a1163816deb949dc7c3498032a1fdbee7d61b4cb0655/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74726565686f7573656c6162732f626173652d6170692d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/treehouselabs/base-api-bundle)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/493ae2f356aec80707e08e97d18149d7482d645c43bac8a91201495b62010931/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f74726565686f7573656c6162732f626173652d6170692d62756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/treehouselabs/base-api-bundle)[![Coverage Status](https://camo.githubusercontent.com/58e910b99a1553f876d11f57c06ff2addcbe4080777db3e64fa61d3af80dcfe5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f74726565686f7573656c6162732f626173652d6170692d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/treehouselabs/base-api-bundle/code-structure)[![Quality Score](https://camo.githubusercontent.com/6562ecbbe219eab57bf8f20c3b77f1f83f353fb967189180786e6d1466aedbf1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f74726565686f7573656c6162732f626173652d6170692d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/treehouselabs/base-api-bundle)

This bundle provides basic functionality to create an API.

It contains a controller with convenient methods to extend/call, some exceptions to use in your API calls, and Behat contexts to easily test your API.

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

[](#installation)

```
composer require treehouselabs/base-api-bundle
```

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

[](#documentation)

1. [Installation](/docs/01-installation.md)
2. [Creating controllers](/docs/02-creating-controllers.md)
3. [Testing](/docs/03-testing.md)

Security
--------

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

License
-------

[](#license)

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

Credits
-------

[](#credits)

- [Peter Kruithof](https://github.com/pkruithof)
- [Jeroen Fiege](https://github.com/fieg)
- [All Contributors](../../contributors)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65.4% 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 ~61 days

Total

2

Last Release

3728d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.4

v0.1.1PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/49e70c4936c5121b835d48680dcf4bb57d21724c533dd99591e80101e4a25dd6?d=identicon)[pkruithof](/maintainers/pkruithof)

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

---

Top Contributors

[![pkruithof](https://avatars.githubusercontent.com/u/330828?v=4)](https://github.com/pkruithof "pkruithof (17 commits)")[![fieg](https://avatars.githubusercontent.com/u/1086908?v=4)](https://github.com/fieg "fieg (8 commits)")[![cleentfaar](https://avatars.githubusercontent.com/u/795661?v=4)](https://github.com/cleentfaar "cleentfaar (1 commits)")

---

Tags

api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/treehouselabs-base-api-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/treehouselabs-base-api-bundle/health.svg)](https://phpackages.com/packages/treehouselabs-base-api-bundle)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[webit/w-firma-api

wFirma.pl API

1822.0k](/packages/webit-w-firma-api)[bitmovin/bitmovin-php

PHP-Client which enables you to seamlessly integrate the Bitmovin API into your existing projects

2059.9k](/packages/bitmovin-bitmovin-php)[perimeter/rate-limit-bundle

Perimeter RateLimitBundle

411.5k](/packages/perimeter-rate-limit-bundle)

PHPackages © 2026

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