PHPackages                             lydic-group/rapid-api-crud - 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. lydic-group/rapid-api-crud

ActiveLibrary[API Development](/categories/api)

lydic-group/rapid-api-crud
==========================

This software enables rapid and flexible Symfony CRUD API development.

0.1.12(4y ago)353[7 issues](https://github.com/LYDIC-GROUP/rapid-api-crud-bundle/issues)MITPHPPHP &gt;=7.4

Since Apr 29Pushed 4y ago3 watchersCompare

[ Source](https://github.com/LYDIC-GROUP/rapid-api-crud-bundle)[ Packagist](https://packagist.org/packages/lydic-group/rapid-api-crud)[ RSS](/packages/lydic-group-rapid-api-crud/feed)WikiDiscussions main Synced 3mo ago

READMEChangelog (10)Dependencies (11)Versions (14)Used By (0)

LYDIC group / Rapid API CRUD Bundle
===================================

[](#lydic-group--rapid-api-crud-bundle)

This software enables rapid and flexible Symfony API CRUD development.

What it does
------------

[](#what-it-does)

- Creates an endpoint for CRUD actions on a given entity (configurable)
- Validates the entity by using the annotations in the class
- Ex-/Includes specific properties from output by using the @Groups annotation (e.g. exclude $id from 'detail', but not from 'list')
- Association fields (relations to other entities) will be normalized to the ID of the entity and vice versa.

### Endpoints

[](#endpoints)

When you extend the RapidApiCrudController, these endpoints will become accessible automagically:

ActionHTTP MethodExample URLHTTP Response codeHTTP Response bodyCreate an entityPOST/users201Created entityList all entities (\*)GET/users200Array of entitiesFind one entityGET/users/1200EntityUpdate an entityPUT/users/1200Updated entityDelete an entityDELETE/users/1204-Find association (\*\*)GET/users/1/best-friends200ToOne: A single associated entity
ToMany: An array of associated entitiesCreate association (\*\*)POST/users/1/best-friends/2201EntityDelete association (\*\*)DELETE/users/1/best-friends/2204-(\*) These endpoints accepts some query parameters.

(\*\*) These endpoints work for ToOne and ToMany associations. `best-friends` is the name of the association on the User model: `$bestFriends`.

### Filtering

[](#filtering)

There are several implementations for filtering. You can change the filter mode using the `ControllerConfig`.

FilterExampleBasic`/users?name=Steve`Extended`/users?filter=name:eq:Steve OR age:gt:21`DQL (Doctrine Query Language)`/users?filter=entity.name = 'Steve'`### Sorting

[](#sorting)

You can also add sorting to your result: `/users?sort=age ASC`

### Pagination

[](#pagination)

You can also add paging queries: `/users?page=1&limit=10`

### Associated entities

[](#associated-entities)

Associated entities are normalized to their ID by default for performance reasons.
If you want to include the entire entity you can use a query param with (comma separated) association names. For example:
On the list endpoint: `/users?include=bestFriends`
On the detail endpoint: `/users/1?include=bestFriends`
On an assocation endpoint: `/users/1/best-friends?include=car`
This will only go 1 deep.

How to use
----------

[](#how-to-use)

### The fast/flexible way

[](#the-fastflexible-way)

1. Create an entity and implement the RapidApiCrudEntity (optionally use Symfony validation annotations)
2. Create a controller that extends the RapidApiCrudController
3. Implement the required method(s) and use the config DTO to enable/disable certain routes

### The fully customizable way

[](#the-fully-customizable-way)

1. Create or edit an existing model and implement the RapidApiCrudEntity interface
2. Create or edit an existing controller and **don't** extend the RapidApiCrudController
3. Inject the CrudService
4. Create the desired methods/routes and use the logic from CrudService to be up and running super fast

Feel free to use the ControllerFacade for specific route functionality. If you need even more specific logic, use the CrudService.

Roadmap
-------

[](#roadmap)

Take a look at our [kanban board here](https://github.com/LYDIC-GROUP/rapid-api-crud-bundle/projects/1)

Support
-------

[](#support)

Hey 👋 If you like our libraries. Support us by [buying](https://www.buymeacoffee.com/LYDICGROUP) us a coffee!

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.1% 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 ~9 days

Total

13

Last Release

1776d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9151b30ab85161b1108849ac3131babd4d5c7742f304708014094b6ceffd2773?d=identicon)[Rellix999](/maintainers/Rellix999)

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

---

Top Contributors

[![rellix999](https://avatars.githubusercontent.com/u/11339048?v=4)](https://github.com/rellix999 "rellix999 (25 commits)")[![WeTurkstra](https://avatars.githubusercontent.com/u/4559042?v=4)](https://github.com/WeTurkstra "WeTurkstra (15 commits)")[![thijsschalk-w2w](https://avatars.githubusercontent.com/u/93517496?v=4)](https://github.com/thijsschalk-w2w "thijsschalk-w2w (3 commits)")

### Embed Badge

![Health badge](/badges/lydic-group-rapid-api-crud/health.svg)

```
[![Health](https://phpackages.com/badges/lydic-group-rapid-api-crud/health.svg)](https://phpackages.com/packages/lydic-group-rapid-api-crud)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

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

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

8.5k5.9M738](/packages/sylius-sylius)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[sulu/sulu

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

1.3k1.4M203](/packages/sulu-sulu)

PHPackages © 2026

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