1. Go to this page and download the library: Download tersoft/orchid-fields library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tersoft / orchid-fields example snippets
use Tersoft\OrchidFields\Fields\InputSlug;
InputSlug::make('category.title')
->set('data-slug', 'category[slug]') // category[slug] - field to generate slug
->undefinedSymbol('_'), // default "-"
Input::make('category.slug'), // field to generate slug
use Tersoft\OrchidFields\Fields\RateStars;
RateStars::make('star')
->count(5) // count stars
->step(1) // step
->readOnly() // star only read
->starSize(25) // stars size
->showTextField(), // show number input field