kilroyweb / options
Class-based select options for Laravel
Installs: 315
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/kilroyweb/options
This package is not auto-updated.
Last update: 2025-09-24 05:02:31 UTC
README
Please instead use https://github.com/binarycabin/options
Options
Class-based select options for Laravel
Installation
Add to providers:
KilroyWeb\Options\Providers\OptionServiceProvider::class,
publish config:
php artisan vendor:publish --tag=config
Generate Permissions
php artisan make:option CLASSNAME
ie:
php artisan make:option County
Display the option
$field->options(\App\Options\County::get('---')) !!}