PHP code example of chrisbraybrooke / laravel-ecommerce

1. Go to this page and download the library: Download chrisbraybrooke/laravel-ecommerce 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/ */

    

chrisbraybrooke / laravel-ecommerce example snippets

sh
laravel new laravel-shop
php artisan make:auth
sh
php artisan vendor:publish --tag=migrations

php artisan vendor:publish --tag=ecommerce-config
php artisan vendor:publish --tag=ecommerce-migrations
php artisan vendor:publish --tag=ecommerce-admin

php artisan migrate
sh
php artisan vendor:publish --tag=ecommerce-seeds
sh
php artisan migrate --seed
sh
php artisan vendor:publish --tag=config
sh
php artisan passport:install
sh
'web' => [
    // Other middleware...
    \Laravel\Passport\Http\Middleware\CreateFreshApiToken::class,
],
src/ECommerceServiceProvider.php