PHPackages                             php-rpc/cruds - 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. [Database &amp; ORM](/categories/database)
4. /
5. php-rpc/cruds

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

php-rpc/cruds
=============

Symfony CRUD bundle

1.0(8y ago)1224[2 issues](https://github.com/php-rpc/cruds/issues)MITPHPPHP ~7.0

Since Sep 15Pushed 8y agoCompare

[ Source](https://github.com/php-rpc/cruds)[ Packagist](https://packagist.org/packages/php-rpc/cruds)[ RSS](/packages/php-rpc-cruds/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (5)Dependencies (20)Versions (7)Used By (0)

PHP Cruds bundle
================

[](#php-cruds-bundle)

[![License](https://camo.githubusercontent.com/dd5b8ac35dc27890e7a66bb02f3952d619a4bcf9a5ab34d792514985be4d7ee3/68747470733a2f2f706f7365722e707567782e6f72672f7068702d7270632f63727564732f6c6963656e7365)](https://packagist.org/packages/php-rpc/cruds)[![Build Status](https://camo.githubusercontent.com/ea6e893f07a830f2e7b2c694a162b110a008aaa6f29f7f55e4a242f2fe7d199b/68747470733a2f2f7472617669732d63692e6f72672f7068702d7270632f63727564732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/php-rpc/cruds)[![Code Coverage](https://camo.githubusercontent.com/4853c17d224da79601f219c58f852c89f1f2b37bf73b45ae4aade8edb61eb6da/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068702d7270632f63727564732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/php-rpc/cruds/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5d2820686ec5c118839a580c4c9df438448b1510afad38d1e8f3eb7c7d7baa60/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068702d7270632f63727564732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/php-rpc/cruds/?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/d20dc115a18ba00a21890a08bb02924e2500d77421194e51e9543d68713e9457/68747470733a2f2f706f7365722e707567782e6f72672f7068702d7270632f63727564732f76657273696f6e)](https://packagist.org/packages/php-rpc/cruds)[![Latest Unstable Version](https://camo.githubusercontent.com/9f3e66fbf7672ba3b2addc8ecde0090e8f5b9ca6f312c561dff8b80d471b7583/68747470733a2f2f706f7365722e707567782e6f72672f7068702d7270632f63727564732f762f756e737461626c65)](//packagist.org/packages/php-rpc/cruds)[![Total Downloads](https://camo.githubusercontent.com/33ad98dd95f8827cff626277dd930147a14837372854c2a8fcfb492d8178e139/68747470733a2f2f706f7365722e707567782e6f72672f7068702d7270632f63727564732f646f776e6c6f616473)](https://packagist.org/packages/php-rpc/cruds)

Features
--------

[](#features)

The main purpose of this library it to create easy configurable and extensible API for entities:

- Read controller with flexible entity querying and filtering
- Create and update controllers with easy entity lifecycle control
- Basic access checks

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

[](#installation)

1. Require package from packagist:

```
composer require php-rpc/cruds:~1.0
```

2. Include bundle into your application kernel

Doctrine bundle is mandatory to include too as it provides the common "@doctrine" service.

```
class AppKernel extends Kernel {
    public function registerBundles()
    {
        return [
            //...
            new Doctrine\Bundle\DoctrineBundle\DoctrineBundle,
            new ScayTrase\Api\Cruds\CrudsBundle(),
            //...
        ];
    }
}
```

That's all, you are ready to go!

Configuration
-------------

[](#configuration)

See [Configuration reference](Resources/doc/configuration.md)

Usage
-----

[](#usage)

See [usage manual](Resources/doc/usage.md)

Hooking (Event system)
----------------------

[](#hooking-event-system)

See [usage manual](Resources/doc/events.md)

Dependencies
------------

[](#dependencies)

Currently the main dependency is `doctrine/common` library which provides the `Criteria` and the `Selectable` interface as powerful tool to configure fetch the entities. Second important dependency is `doctrine/doctrine-bundle` providing the doctrine registry. You can implement and override it though.

Integrations
------------

[](#integrations)

See [integration reference](Resources/doc/integrations.md)

Current limitations
-------------------

[](#current-limitations)

### Property mapper

[](#property-mapper)

Currently only application-wide API property mapper is supported. This happens because you can use the relations during the criteria configuration and the mapper used for the one entity should handle all of them.

This means that you cannot use both `jms/serializer` and `symfony/serializer` as api metadata provider at the same time, you have to choose and convert mappings.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~110 days

Total

5

Last Release

3133d ago

PHP version history (2 changes)1.0-alpha1PHP ~5.5 || ~7.0

1.0-alpha4PHP ~7.0

### Community

Maintainers

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

---

Top Contributors

[![scaytrase](https://avatars.githubusercontent.com/u/6578413?v=4)](https://github.com/scaytrase "scaytrase (60 commits)")

---

Tags

apicruddoctrinesymfony

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-rpc-cruds/health.svg)

```
[![Health](https://phpackages.com/badges/php-rpc-cruds/health.svg)](https://phpackages.com/packages/php-rpc-cruds)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M379](/packages/easycorp-easyadmin-bundle)[sylius/sylius

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

8.5k5.9M719](/packages/sylius-sylius)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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