erkurn/laravel-product-catalog

This is my package laravel-product-catalog

dev-main 2023-07-03 05:54 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.