PHP code example of el-schneider / statamic-choices
1. Go to this page and download the library: Download el-schneider/statamic-choices 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/ */
el-schneider / statamic-choices example snippets
[
'value' => 'pro',
'label' => 'Pro',
'use_html' => false,
'image' => Statamic\Contracts\Assets\Asset::class,
'description' => 'More automation and editorial flexibility.',
'html' => null,
]