PHP code example of smart-dato / non-solo-cap
1. Go to this page and download the library: Download smart-dato/non-solo-cap 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/ */
smart-dato / non-solo-cap example snippets
use SmartDato\NonSoloCap\Services\NonSoloCap;
NonSoloCap::validZipcode('39021'); // true
NonSoloCap::validZipcode('99999'); // false
NonSoloCap::generateUrl('39021', 'Laces'); // https://www.nonsolocap.it/?k=39021&c=Laces