Download the PHP package omerkoseoglu/devextreme-data-laravel without Composer

On this page you can find all versions of the php package omerkoseoglu/devextreme-data-laravel. 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 devextreme-data-laravel

DevExtreme Data for Laravel

Packagist Version PHP Version CI Downloads

Unofficial. This is an independent, community-maintained port. It is not affiliated with, endorsed by or supported by Developer Express Inc. "DevExtreme" and "DevExpress" are trademarks of Developer Express Inc.

Laravel integration for omerkoseoglu/devextreme-data: answer DevExtreme widget requests (DataGrid, PivotGrid, SelectBox, ... with remoteOperations) straight from Eloquent models, relations, query builders, collections or arrays. Filtering, sorting, paging, grouping and summaries run in the database.

Requires PHP 8.2+, Laravel 12 or 13. SQLite, MySQL/MariaDB and PostgreSQL connections.

Install

The service provider and the DevExtreme facade are auto-discovered. Optional config:

Usage

DevExtreme::load($source) returns the LoadResult object (JSON-serializable) when you need to post-process it. Sources: model class-string, Eloquent\Builder, Relation, Query\Builder, Collection, array, or any DevExtreme\Data\Contracts\DataSourceInterface. Parameters are read from the query string, form or JSON body.

Malformed requests (bad JSON, mixed and/or, unknown field, ...) become HTTP 400 automatically.

How EloquentSource works

The builder is compiled to SQL — global scopes (soft deletes, tenancy), constraints and bindings included — and used as a derived table. DevExtreme operations are applied on top of it by the database. Consequences:

Exposing only some fields / joins

Pass a whitelist mapping client field names to output columns of your query. Dotted names become nested JSON:

Without columns, any plain column name of the query is accepted (identifier-checked, values are always bound). Use columns in production. Values may also be DB::raw() expressions: 'total' => DB::raw('amount * qty').

Configuration (config/devextreme-data.php)

Key Default Meaning
normalize_dates true Compare ISO-8601 filter dates as wall-clock time
max_take null Cap rows per request (protects against "load everything"). Leave null for PivotGrid endpoints

Request helper

Known limitations

Development

Tests run the core package's SQL-vs-memory parity matrix against EloquentSource, plus soft deletes, relations, joins, bindings and HTTP-level behaviour (Orchestra Testbench, SQLite in memory).

MIT licensed.


All versions of devextreme-data-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/database Version ^12.0 || ^13.0
illuminate/http Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
omerkoseoglu/devextreme-data Version ^0.1 || dev-main
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 omerkoseoglu/devextreme-data-laravel contains the following files

Loading the files please wait ...