dejwcake / admin-listing
Query-building helper for listing of Eloquent models
Requires
- php: ^8.1
- illuminate/support: ^10.0
Requires (Dev)
- dejwcake/craftable-translatable: dev-main
- fakerphp/faker: ^1.19
- mockery/mockery: ^1.0
- orchestra/testbench: ~8.5
- phpunit/phpunit: ^10.1
This package is auto-updated.
Last update: 2024-11-07 03:29:36 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.