PHP code example of gp247 / s-cart
1. Go to this page and download the library: Download gp247/s-cart 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/ */
gp247 / s-cart example snippets bash
php artisan key:generate
bash
php artisan sc:install
bash
php artisan sc:sample
bash
php artisan sc:install
php artisan sc:sample # optional, sample data
bash
php artisan sc:info
bash
php artisan sc:update
bash
php artisan gp247:make-plugin --name=PluginName
bash
php artisan gp247:make-plugin --name=PluginName --download=1
bash
php artisan gp247:make-template --name=TemplateName
bash
php artisan gp247:make-template --name=TemplateName --download=1
bash
php artisan vendor:publish --tag=config-lfm
bash
php artisan vendor:publish --tag=gp247:core-view # -> views/vendor/gp247-admin
php artisan vendor:publish --tag=gp247:front-admin # -> views/vendor/gp247-front-admin
php artisan vendor:publish --tag=gp247:shop-view-admin # -> views/vendor/gp247-shop-admin
bash
php artisan vendor:publish --tag=gp247:front-view # -> app/GP247/Templates/GP247Front
php artisan vendor:publish --tag=gp247:front-public # -> public/GP247/Templates/GP247Front
php artisan vendor:publish --tag=gp247:shop-view-front # -> app/GP247/Templates/GP247Front