PHP code example of hampel / synergy-wholesale-laravel
1. Go to this page and download the library: Download hampel/synergy-wholesale-laravel 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/ */
hampel / synergy-wholesale-laravel example snippets
use SynergyWholesale\Commands\CheckDomainCommand;
$sw = App::make('SynergyWholesale\SynergyWholesale');
$available = $sw->execute(new CheckDomainCommand(new Domain('example.com')));
$available = App::make('SynergyWholesale\SynergyWholesale')->execute(new CheckDomainCommand(new Domain('example.com')));
$available = SynergyWholesale::execute(new CheckDomainCommand(new Domain('example.com')));