gmj/laravel_shopping

Laravel Block2 for backend and frontend - need tailwindcss support

dev-main 2021-12-30 04:53 UTC

This package is not auto-updated.

Last update: 2025-06-12 21:28:12 UTC


README

Laravel Block for backend and frontend - need tailwindcss support

composer require bumbummen99/shoppingcart
https://github.com/bumbummen99/LaravelShoppingcart
php artisan vendor:publish --provider="Gloudemans\Shoppingcart\ShoppingcartServiceProvider" --tag="config"

composer require srmklive/paypal:~3.0
https://github.com/srmklive/laravel-paypal

composer require stripe/stripe-php
https://github.com/stripe/stripe-php

composer require gmj/laravel_shopping

in terminal run:
php artisan vendor:publish --provider="GMJ\LaravelShopping\LaravelShoppingServiceProvider" --force

php artisan migrate

php artisan db:seed --class=LaravelShoppingSeeder

env:
PAYPAL_MODE=sandbox
PAYPAL_SANDBOX_CLIENT_ID={your paypal client id}
PAYPAL_SANDBOX_CLIENT_SECRET={your paypal client secret}
STRIPE_KEY={your stripe key}
STRIPE_SECRET={your stripe secret}

package for test
composer.json#autoload-dev#psr-4: "GMJ\LaravelShopping\": "package/laravel_shopping/src/",
config: GMJ\LaravelShopping\LaravelShoppingServiceProvider::class,