Download the PHP package flytachi/winter-mui-data-grid without Composer

On this page you can find all versions of the php package flytachi/winter-mui-data-grid. 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 winter-mui-data-grid

Winter MUI Data Grid

Latest Version on Packagist PHP

Server-side adapter that connects MUI X DataGrid to the Winter Framework (K2).

You declare a column schema — which fields may be filtered and sorted, and how they map to SQL. The library takes the grid's request (page, sort model, filter model), enforces that schema as a whitelist, builds a parameterized query on top of your repository, and returns a { rowCount, rows } payload the DataGrid understands. SQL-injection safe by construction.


Requirements

Installation


How it works (60 seconds)

A grid request has three moving parts: pagination, sorting and filtering. This library handles all three around a query you build yourself:

The schema is the contract: a field the frontend references that you did not declare is rejected (for filtering) or ignored (for sorting). Operators are gated by each column's FilterType, so a text operator can't be sent against a numeric column.


Quick start

A minimal "list articles" endpoint. Two tables: articles a joined to authors au.

1. Request

Extend MuiGridRequest. The grid envelope (page, pageSize, sortModel, filterModel) is hydrated for you by the K2 request layer — add only your own domain filters:

2. Service

You own the query; the library overlays the grid concerns:

3. Controller

4. The request the frontend sends

5. The response

rowCount is the total matching the filter (for the grid's pager); rows is the current page.


Documentation

Guide What's inside
Getting started End-to-end walkthrough, request/response shape, frontend wiring.
Schema & columns GridSchema, GridColumn, mapping fields to SQL, whitelisting.
Filtering FilterType, operator gating, per-column overrides, AND/OR logic.
Sorting Sort model, custom ORDER BY expressions, default order.
Requests & responses Extending MuiGridRequest, the entity DTOs, MuiGridResponse.
Recipes Joins, subquery search, mappers, category-tree / EXISTS patterns.

At a glance

FilterType Allowed operators
String contains, notContains, startsWith, endsWith, equals, is, not, =, !=, isAnyOf, isEmpty, isNotEmpty
Number equals, is, not, =, !=, >, >=, <, <=, isAnyOf, isEmpty, isNotEmpty
Boolean is, equals, =, isEmpty, isNotEmpty
Date is, not, equals, =, !=, after, onOrAfter, before, onOrBefore, isEmpty, isNotEmpty

License

MIT — Flytachi


All versions of winter-mui-data-grid with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
flytachi/winter-kernel Version ^3.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 flytachi/winter-mui-data-grid contains the following files

Loading the files please wait ...