Download the PHP package dskripchenko/orchid-extra without Composer
On this page you can find all versions of the php package dskripchenko/orchid-extra. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dskripchenko/orchid-extra
More information about dskripchenko/orchid-extra
Files in dskripchenko/orchid-extra
Download dskripchenko/orchid-extra
More information about dskripchenko/orchid-extra
Files in dskripchenko/orchid-extra
Vendor dskripchenko
Package orchid-extra
Short Description Extra Classes For Orchid.
License MIT
Homepage https://github.com/dskripchenko/orchid-extra
Package orchid-extra
Short Description Extra Classes For Orchid.
License MIT
Homepage https://github.com/dskripchenko/orchid-extra
Please rate this library. Is it a good library?
Informations about the package orchid-extra
orchid-extra
Extra building blocks for the Orchid admin platform — an inline filter factory and base Screen / Layout classes that cut boilerplate.
🌐 English · 中文
Requirements
PHP 8.2–8.5 · Laravel 11 / 12 / 13 · Orchid Platform 14.
Install
Selection — inline filters
Instead of writing a Filter class per column, build filters inline through the
Selection facade:
| method | purpose |
|---|---|
input($name, $field, $operator = 'like') |
text filter |
date($name, $field, $format = 'Y-m-d', $range = true) |
date / date-range |
switcher($name, $field) |
boolean toggle |
selectFromModel($name, $field, Model $entity, $entityName = 'name', $entityKey = 'id') |
select from a model |
selectFromQuery($name, $field, Builder $query, …) |
select from a query |
selectFromOptions($name, $field, array $options) |
select from a static list |
Each is also available as a Filters\Base*Filter class if you prefer subclassing.
Base classes
Extend these to stand up list / edit screens with less setup:
Screens\BaseListScreen,Screens\BaseEditScreen,Screens\ScreenLayouts\BaseListLayout
License
MIT © Denis Skripchenko
All versions of orchid-extra with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
ext-json Version *
laravel/framework Version ^11.0 || ^12.0 || ^13.0
orchid/platform Version ^14.0
ext-json Version *
laravel/framework Version ^11.0 || ^12.0 || ^13.0
orchid/platform Version ^14.0
The package dskripchenko/orchid-extra contains the following files
Loading the files please wait ...