kasperkloster / monkcommerce
A Laravel Basic E-commerce
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Language:HTML
This package is auto-updated.
Last update: 2025-05-26 07:34:24 UTC
README
Installation
- Install a new laravel project.
- Install laravel/ui and run
php artisan ui vue --auth
- Run composer require kasperkloster/monkcommerce.
- Go to config/app.php > providers, add:
KasperKloster\MonkCommerce\Providers\MonkCommerceServiceProvider::class,
- Run php
artisan vendor:publish --tag=monkcommerce
- Update seeder and run
php artisan db:seed
- Create an admin: Run
php artisan monkcommerce:admin
- Create shop information: Run
php artisan monkcommerce:shop
- Register admin middleware under app/kernel, routeMiddleware,
'admin' => \KasperKloster\MonkCommerce\Middleware\AdminMiddleware::class,
Views
Storefront views will be located in /resources/views/monkcommerce-storefront/.
Seeder
Paste in DatabaseSeeder.php
$this->call(McProductCategoriesTableSeeder::class);
$this->call(McProductsTableSeeder::class);
$this->call(McCategoryProductTableSeeder::class);
$this->call(McStaticPagesSeeder::class);
$this->call(McProductAttributesTableSeeder::class);
$this->call(McProductAttributeValuesTableSeeder::class);
$this->call(McProductAttrProductAttrValueTableSeeder::class);
$this->call(McShipmentCouriersTableSeeder::class);
$this->call(McOrdersStatusSeeder::class);
$this->call(McOrdersCustomerSeeder::class);
$this->call(McOrdersTableSeeder::class);
$this->call(McRolesTableSeeder::class);