dejwcake/admin-listing

Query-building helper for listing of Eloquent models

Installs: 293

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 5

Type:project

0.9.0 2023-05-06 23:59 UTC

This package is auto-updated.

Last update: 2024-05-07 02:19:16 UTC


README

AdminListing is a helper that simplifies administration listing for your Eloquent models. It helps transforming a typical request to data. It can auto-handle all the basic stuff like pagination, ordering, search. It can handle also translatable eloquent models (see Translatable Eloquent Models).

You can find full documentation at https://docs.getcraftable.com/#/admin-listing

Run tests

To run tests use this docker environment.

  docker-compose run -it test vendor/bin/phpunit

To switch between postgresql and mariadb change in docker-compose.yml DB_CONNECTION environmental variable:

- DB_CONNECTION: pgsql
+ DB_CONNECTION: mysql

Issues

Where do I report issues? If something is not working as expected, please open an issue in the main repository https://github.com/BRACKETS-by-TRIAD/craftable.