1. Go to this page and download the library: Download contenir/contenir-contact 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/ */
contenir / contenir-contact example snippets
$business = Contenir\Contact\ContactSettings::fromSettings($settings);
$business->name; // "Studio Esteta"
(string) $business->taxId; // "ABN 12 345 678 901"
$business->offices->primary()?->address?->oneLine();
foreach ($business->offices as $office) {
$office->name; // "Melbourne studio"
(string) $office->telephone; // "03 9428 0228", the office's own or the business's
$office->telephone?->uri(); // "tel:+61394280228"
$office->hour->summary(); // "Mon–Fri 9:00am–5:30pm"
$office->hour->isOpenAt(new DateTimeImmutable());
}