PHP code example of orq / laravel-yacommerce
1. Go to this page and download the library: Download orq/laravel-yacommerce 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/ */
orq / laravel-yacommerce example snippets
Route::namespace('Admin')->prefix('admin')->name('admin.')->group(function () {
\Orq\Laravel\YaCommerce\Yac::webRoutes();
});
$this->app->bind(
'Orq\Laravel\YaCommerce\Order\PrepaidUserInterface',
'App\Service\BpshopUserService'
);