Download the PHP package m2mtech/api-platform-datatables-format without Composer

On this page you can find all versions of the php package m2mtech/api-platform-datatables-format. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package api-platform-datatables-format

API Platform Datatables Format

Author


This bundle provides the Datatables format to the API Platform.

Installation

If you are not using Flex enable the bundle:

Usage

Enable the datatables format:

Pagination

The package rewrites the query parameters start and length from datatables to page and itemsPerPage or whatever you have set as page_parameter_name and items_per_page_parameter_name for the API Platform.

e.g.:

Pagination is enabled by default in the API Platform.

Sorting

The package rewrites the query parameters columns and order from datatables to order or whatever you have set as order_parameter_name for the API Platform.

e.g.:

You need to enable sorting for the API Platform.

e.g. in your entity definition:

Search

The package rewrites the query parameters columns and search from datatables to or for the Filter logic for API Platform.

e.g.: `

You need to install Filter logic for API Platform, an equivalent bundle or your own filter for this functionality, e.g.:

You need also to enable the search filter for the API Platform.

e.g. in your entity definition:

Output

Including the data, the output contains recordsTotal and recordsFiltered (which are always the same) as well as the draw parameter from the query.

Testing

This package has been developed for php 7.4 with compatibility tested for php 7.2 to 8.1.

Changelog

Please see CHANGELOG for more information about recent changes.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of api-platform-datatables-format with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.5
api-platform/core Version ^2.5
symfony/config Version ^5.4|^6.0
symfony/dependency-injection Version ^5.4|^6.0
symfony/http-kernel Version ^5.4|^6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package m2mtech/api-platform-datatables-format contains the following files

Loading the files please wait ....