PHP code example of shopper / customer-groups
1. Go to this page and download the library: Download shopper/customer-groups 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/ */
shopper / customer-groups example snippets
use Shopper\CustomerGroups\CustomerGroupsAddon;
use Shopper\Facades\Shopper;
Shopper::addons([
new CustomerGroupsAddon,
]);
Shopper::addons([
(new CustomerGroupsAddon)->usingLivewireComponents([
'customer-groups.index' => App\Livewire\CustomerGroupList::class,
]),
]);
bash
php artisan migrate