PHP code example of vanilo / address
1. Go to this page and download the library: Download vanilo/address 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/ */
vanilo / address example snippets
// app/AppServiceProvider.php:
public function boot()
{
$this->app->concord->registerModel(
\Konekt\Address\Contracts\Address::class,
\App\Address::class
);
}
// app/Address.php
class Address extends \Vanilo\Address\Models\Address
{
// Tweak the hell out of it
}