fanamurov / larrock-cart
Cart to catalog component for larrockCMS
Installs: 204
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Language:HTML
Requires
Requires (Dev)
- davejamesmiller/laravel-breadcrumbs: 5.*
- doctrine/dbal: ^2.5.2
- fanamurov/larrock-core: ^1.0
- laravel/framework: 5.6.*
- mockery/mockery: ^1.0.0
- nicolaslopezj/searchable: ^1.9
- orchestra/testbench: ~3.5.0|~3.6.0
- phpunit/phpunit: ^6.2|^7.0
- proengsoft/laravel-jsvalidation: ^2.0
- spatie/laravel-medialibrary: ^7.0.0
This package is auto-updated.
Last update: 2024-11-09 13:24:34 UTC
README
Depends
- fanamurov/larrock-core
- fanamurov/larrock-catalog
- fanamurov/larrock-category
- fanamurov/larrock-users
- gloudemans/shoppingcart
- artem328/laravel-yandex-kassa
INSTALL
- Install larrock-core, larrock-catalog, larrock-category
- Install larrock-cart
composer require fanamurov/larrock-cart
- Add the ServiceProvider to the providers array in app/config/app.php
//LARROCK COMPONENT Cart DEPENDS
\Larrock\ComponentCart\LarrockComponentCartServiceProvider::class,
//https://packagist.org/packages/gloudemans/shoppingcart :: Корзина для каталога
Gloudemans\Shoppingcart\ShoppingcartServiceProvider::class,
//https://github.com/artem328/laravel-yandex-kassa
Artem328\LaravelYandexKassa\YandexKassaServiceProvider::class,
aliases
'Cart' => Gloudemans\Shoppingcart\Facades\Cart::class,
'YandexKassa' => Artem328\LaravelYandexKassa\Facades\YandexKassa::class,
- Publish views, migrations etc.
$ php artisan vendor:publish
Or
$ php artisan vendor:publish --provider="Larrock\ComponentCart\LarrockComponentCartServiceProvider" $ php artisan vendor:publish --provider="Gloudemans\Shoppingcart\ShoppingcartServiceProvider" $ php artisan vendor:publish --provider="Artem328\LaravelYandexKassa\YandexKassaServiceProvider"
- Run artisan command:
$ php artisan larrock:check
And follow the tips for setting third-party dependencies
- Run migrations
$ php artisan migrate
##START http://yousite/admin/cart