stolfam/eshop

PHP Classes for building an e-shop system.

2.0.23 2021-03-21 12:56 UTC

This package is auto-updated.

Last update: 2024-04-21 19:55:11 UTC


README

Universal PHP Classes for e-shop system.

Requirements

  • PHP 7.4

Install

composer require stolfam/eshop

What's inside?

Now this package includes classes for:

  • Cart
    • CartStorage (interface)
  • Products
    • Attributes (interfaces)
  • Orders
    • Status history
  • Customers
    • Addreses
  • Roles
  • Tags
  • Repositories (interfaces)

How to use it?

As you want and as you need. I recommend creating your own classes and implementing all interfaces (repositories, attributes). For example:

class MyAttribute implements IAttribute {
    // here should be your implementation
}