PHP code example of molotov / laravel-canpost-validator
1. Go to this page and download the library: Download molotov/laravel-canpost-validator 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/ */
molotov / laravel-canpost-validator example snippets
'providers' => array(
// ...
'Molotov\CanpostValidator\CanpostValidatorServiceProvider'
);
$rules = array('postal_code' => 'canadian_postal_code|