Developed with love by KnpLabs Hire us for your project!
31

DataTablesBundle

by webinarium

Symfony bundle for DataTables plugin.

PHP
Latest Stable Version
Build Status
Code Coverage
Scrutinizer Code Quality

DataTables Symfony bundle

This bundle helps to implement data source actions for DataTables JavaScript plugin when it's used in server-side processing mode.

Requirements

PHP needs to be a minimum version of PHP 7.0.

Symfony must be of 2.7 or above.

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require webinarium/datatables-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

If you are using Symfony 3 or below, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

public function registerBundles()
{
    $bundles = [
        // ...
        new DataTables\DataTablesBundle(),
    ];
}

Development

./vendor/bin/php-cs-fixer fix
./vendor/bin/phpunit --coverage-html=vendor/coverage

Usage

Please see the complete usage example here.

MIT License

Copyright (c) 2015-2017 Artem Rodygin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
  • [Scrutinizer] Migrate to new PHP Analysis
    By webinarium, 1 year ago
  • Update service configuration
    By webinarium, 1 year ago
  • #8 Conflict with default requirements or minimum-stability
    By webinarium, 1 year ago
  • Symfony 4.0 support
    By webinarium, 1 year ago
  • Update README.md
    By web-flow, 1 year ago
  • Cosmetic changes after pull request #3
    By webinarium, 1 year ago
  • Merge pull request #3 from aligalipcamli/master
    By web-flow, 1 year ago
  • Allow request body parameters () for custom data
    By , 1 year ago
  • Upgrade PHP CS Fixer to 2.8
    By webinarium, 1 year ago
  • Bundle fails when custom column data is specified
    By webinarium, 1 year ago
  • Handlers service autoloading
    By webinarium, 2 years ago
  • Cosmetic changes after pull request #2
    By webinarium, 2 years ago
  • Merge pull request #2 from markitosgv/master
    By web-flow, 2 years ago
  • Add possibility to receive custom data from datatables
    By markitosgv, 2 years ago
  • Cosmetic changes
    By webinarium, 2 years ago
  • Update README.md
    By webinarium, 2 years ago
  • Extension unit test
    By webinarium, 2 years ago
  • Upgrade PHP CS Fixer to 2.2
    By webinarium, 2 years ago
  • Add PHP 7.1 to Travis
    By webinarium, 2 years ago
  • Roave Security Advisories
    By webinarium, 2 years ago
  • Cosmetic changes
    By webinarium, 2 years ago
  • Issue #1: Exception with column[number][data] = null. request string
    By webinarium, 2 years ago
  • Rename the package
    By webinarium, 2 years ago
  • Update config for PHP CS Fixer
    By webinarium, 2 years ago
  • [Travis] Build #46 was broken
    By webinarium, 2 years ago
  • Update composer.json
    By webinarium, 2 years ago
  • Symfony deprecation notice: Setting the strict option of the Choice constraint to false is deprecated since version 3.2 and will be removed in 4.0
    By webinarium, 2 years ago
  • JSON serializable query
    By webinarium, 3 years ago
  • Cosmetic changes
    By webinarium, 3 years ago
  • Optional parameters for server-side response
    By webinarium, 3 years ago