Add a simple webshop to your Laravel project
composer require nickdekruijk/webshop
Publish the config file with
php artisan vendor:publish --tag=config --provider="NickDeKruijk\Webshop\ServiceProvider"
You will need a working Product model and database table. See the sample migration and model in the examples folder.
If your Product model differs from App\Product then change the product_model value in your config/webshop.php file.
More info coming soon...
To manage products/vat/coupons etc with the nickdekruijk/admin package add the modules as described in this example file to your config/admin.php file.
To make the payment provider webhooks work you may need to update the $except array in app\Http\Middleware\VerifyCsrfToken.php
protected $except = [
'webshop/webhook-payment',
];Dutch VAT
php artisan db:seed --class=NickDeKruijk\\Webshop\\Seeds\\VatDutch
Dutch Discounts
php artisan db:seed --class=NickDeKruijk\\Webshop\\Seeds\\DiscountsDutch
Admin is open-sourced software licensed under the MIT license.