PHPackages                             trikoder/jsonapibundle - 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. trikoder/jsonapibundle

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

trikoder/jsonapibundle
======================

Json API bundle for Symfony

v0.19.0(4y ago)46.0k↓32.6%2[1 issues](https://github.com/trikoder/jsonapibundle/issues)PHPPHP &gt;=7.0.0|&gt;=7.1.0CI failing

Since Mar 20Pushed 4y ago7 watchersCompare

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

READMEChangelog (6)Dependencies (29)Versions (8)Used By (0)

Json Api CRUD Bundle
====================

[](#json-api-crud-bundle)

Package to provide out-of-the box support for jsonapi in symfony with as native as possible way.

Under development
=================

[](#under-development)

This package is currently under active development, but it is considered production safe.

How to install
--------------

[](#how-to-install)

Guide how to setup bundle is located in [quick start guide](src/Resources/doc/getting_started/quick.md)

Sample usage
------------

[](#sample-usage)

For quick start see [quick start guide](src/Resources/doc/getting_started/quick.md)You can also look at demo code located in [test suite](tests/Resources)

Advanced usage
--------------

[](#advanced-usage)

For advanced usages that are outside of generic api you get from quick start, see [advanced usage](src/Resources/doc/getting_started/advanced_usage.md)

Requirements
------------

[](#requirements)

Bundle is uses symfony 3 and doctrine.

Documentation and examples
--------------------------

[](#documentation-and-examples)

Example code can also be found in `tests/Resources/`.

Documentations is located inside `src/Resources/doc/` directory.

Issues
------

[](#issues)

Use the issue tracker.

Known limitations
-----------------

[](#known-limitations)

- each jsonapi enabled action that receives arguments must receive Request as first argument

Versioning and changelog
------------------------

[](#versioning-and-changelog)

Project follows [Semantic versioning](http://semver.org/).

Change log for the project can be found in changelog.md

Testing
-------

[](#testing)

The whole sandbox and development environment is located inside project.

To run tests, position yourself inside `tests/Resources/docker` and run `bin/test.sh`This will build whole docker setup, load fixtures and run all test suites.

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

[](#contributing)

*TODO* write how people can send pull requests

For development of the package, we are using the same tools as for testing. Position yourself inside `tests/Resources/docker` and run `bin/start.sh`PHP cli commands can be run from same directory using `bin/console`. There is also php access script `bin/php [CMD]` (eg. `bin/php bash` to enter bash).

### Coding standards

[](#coding-standards)

When contributing to this package, you will need to adhere to our coding standards. They are following PSR-2 with some additional rules. To check your code during development you can use provided config for php-cs-fixer. it's in root of the project, file:

`.php_cs.dist`

**Checking your code**

First you need to setup test environment (as described in paragraph above).

Then:

Checking code:

```
bin/php_cs --dry-run

```

If you want automatic fix, just omit ``--dry-run`:

```
bin/php_cs

```

This will check and fix your code.

Credits
-------

[](#credits)

Copyright (C) 2017 Trikoder

Author: Alen Pokos.

Contributors (in alphabetic order): Antonio Pauletich, Alen Pokos, Antonio Šunjić, Damir Trputec, Juraj Juričić, Krešo Kunjas, Petar Obradović, Vedran Krizek, Vedran Mihočinec

License
-------

[](#license)

Package is licensed under [MIT License](./LICENSE)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~251 days

Recently: every ~285 days

Total

6

Last Release

1726d ago

PHP version history (2 changes)v0.9.0PHP &gt;=7.0.0

v0.10.0PHP &gt;=7.0.0|&gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d6c9b1e763ee9f045c714e8ad045c05b4bd29d5b86b350a2c6d7eede25c78d9?d=identicon)[alenpokos](/maintainers/alenpokos)

---

Top Contributors

[![alenpokos](https://avatars.githubusercontent.com/u/1493829?v=4)](https://github.com/alenpokos "alenpokos (13 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/trikoder-jsonapibundle/health.svg)

```
[![Health](https://phpackages.com/badges/trikoder-jsonapibundle/health.svg)](https://phpackages.com/packages/trikoder-jsonapibundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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