PHP code example of insolita / yii2-form-prefiller
1. Go to this page and download the library: Download insolita/yii2-form-prefiller 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/ */
insolita / yii2-form-prefiller example snippets
'components'=>[
'prefiller' => [
'class' => \insolita\prefiller\FormPrefiller::class,
'storage' => [
//one of storage types - db,session,cookie,redis supported
'class' => \insolita\prefiller\storages\CookieStorage::class,
],
],
]