Orchid Fields
Extra library which add different fields in Laravel Orchid Platform
Installation
You may install into your project using the Composer package manager:
composer require agoalofalife/orchid-fields
Next, you should publish resources files using the vendor:publish
Artisan command.
php artisan vendor:publish --provider="agoalofalife\\Orchid\\OrchidFieldsServiceProvider"
Fields
Range
It's very elegant field, which can set min and max value.
Example:
use agoalofalife\Orchid\Fields\Range;
Range::make('age')
->title('Age')
->min(18)
->max(50)
->hasGrid(true);
Rate
It's very elegant field, which can set min and max value.
Example:
use agoalofalife\Orchid\Fields\Rate;
Rate::make('rate')
->count(4)
->readonly(true)
->haveRated(5);
Image Zoom
documentation
You can watch fullExample:
use agoalofalife\Orchid\Fields\ImageZoom;
ImageZoom::make('image')
->zoomPercent(100)
->widthPercent(70);