PHPackages                             pers1307/cart - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. pers1307/cart

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pers1307/cart
=============

Base class cart for Publisher 6.0

011JavaScript

Since May 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/pers1307/cart)[ Packagist](https://packagist.org/packages/pers1307/cart)[ RSS](/packages/pers1307-cart/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Publisher base cart
===================

[](#publisher-base-cart)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

Кароч, это базовый класс для корзины Publisher'а. От него можно унаследоваться и кастомизировать под свой проект.

Пока проект можно использовать только как сырую основу

Install
-------

[](#install)

Используй composer и все.

```
$ php composer.phar require --prefer-dist pers1307/cart "dev-master"
```

Как мне с этим работать?
------------------------

[](#как-мне-с-этим-работать)

Сам пока не знаю ...

Таблица

```
DROP TABLE IF EXISTS `mp_cart`;
    CREATE TABLE `mp_cart` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `user_id` varchar(255) NOT NULL,
    `item_id` int(11)      NOT NULL,
    `amount`  int(11)      NOT NULL,
    `cost`    double(11)   NOT NULL,
    PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
```

Автор
-----

[](#автор)

- [Pereskokov Yurii (pers1307)](https://github.com/pers1307)

Лицензия
--------

[](#лицензия)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15194486?v=4)[Юрий](/maintainers/pers1307)[@pers1307](https://github.com/pers1307)

### Embed Badge

![Health badge](/badges/pers1307-cart/health.svg)

```
[![Health](https://phpackages.com/badges/pers1307-cart/health.svg)](https://phpackages.com/packages/pers1307-cart)
```

###  Alternatives

[dillingham/nova-conditional-fields

Laravel Nova conditional fields

3837.1k](/packages/dillingham-nova-conditional-fields)[laminas/laminas-config-aggregator-parameters

PostProcessor extension for laminas/laminas-config-aggregator to allow usage of templated parameters within your configuration

1094.4k](/packages/laminas-laminas-config-aggregator-parameters)[dahmen/automad-terminal

A minimal Automad blog theme for terminal lovers

522.2k](/packages/dahmen-automad-terminal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
