erkurn / laravel-product-catalog
This is my package laravel-product-catalog
dev-main
2023-01-30 05:07 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^9.0
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.8
- nunomaduro/collision: ^6.0
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpunit/phpunit: ^9.5
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2023-03-01 00:51:33 UTC
README
Multi Purpose Product Catalogs, Inspired By Wordpress Post And Wordpress Custom Fiels (Meta)
Installation
You can install the package via composer:
composer require erkurn/laravel-product-catalog
You can publish and run the migrations with:
php artisan vendor:publish --tag="laravel-product-catalog-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="laravel-product-catalog-config"
This is the contents of the published config file:
return [ // Override Product Model For Extends Features, like Adding Spatie Media Library or Slug Generator 'model' => \Erkurn\LaravelProductCatalog\Models\ProductCatalog::class, ];
Optionally, you can publish the views using
php artisan vendor:publish --tag="laravel-product-catalog-views"
Todo
- create product catalog
- sync metas data
- search by meta name and value
- search by meta values
- search by sku
- get product collections by status
- make product variants
- add simple pricing
Usage
TODO
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.