PHP code example of visual1au / statamic-phone-fieldtype
1. Go to this page and download the library: Download visual1au/statamic-phone-fieldtype 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/ */
visual1au / statamic-phone-fieldtype example snippets
return [
'primary_country' => env('PHONE_FIELDTYPE_PRIMARY_COUNTRY', 'AU'),
'auto_fallback' => env('PHONE_FIELDTYPE_AUTO_FALLBACK', true),
];
bash
php artisan vendor:publish --tag=phone-fieldtype-config