PHPackages                             modera/server-crud-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. [Admin Panels](/categories/admin)
4. /
5. modera/server-crud-bundle

ActiveSymfony-bundle[Admin Panels](/categories/admin)

modera/server-crud-bundle
=========================

v5.0.0(1y ago)25.5k13MITPHPPHP &gt;=7.4

Since Jul 22Pushed 1y ago8 watchersCompare

[ Source](https://github.com/modera/ModeraServerCrudBundle)[ Packagist](https://packagist.org/packages/modera/server-crud-bundle)[ RSS](/packages/modera-server-crud-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (9)Versions (20)Used By (3)

ModeraServerCrudBundle
======================

[](#moderaservercrudbundle)

The bundle provides a set of tools that simplifies building applications which need to operate with data coming from client-side. These operations are supported:

- Creating new records
- Validating data ( both Symfony validation and domain validation )
- Querying data - single record, batch
- Removing record(s)
- Getting default values that can be used on client-side as a template for a new record

What this bundle does:

- Provides a super-type controller that you can inherit from to harness power of all aforementioned operations
- Integrates a powerful querying language where you define queries using JSON - now you can safely build queries on client-side
- Hydration package - this component provides a nice way of converting your entities to data-structure that can be understood by client-side logic
- Provides a simple yet powerful client-server communication protocol
- Simplifies functional testing of your controller

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

[](#installation)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

```
composer require modera/server-crud-bundle:5.x-dev
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

This bundle should be automatically enabled by [Flex](https://symfony.com/doc/current/setup/flex.html). In case you don't use Flex, you'll need to manually enable the bundle by adding the following line in the `config/bundles.php` file of your project:

```
