PHPackages                             vanilo/contracts - 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. vanilo/contracts

ActiveLibrary

vanilo/contracts
================

Common set of Vanilo Contracts (Interfaces)

5.1.0(5mo ago)3119.9k↑184.3%317MITPHPPHP ^8.3CI passing

Since Dec 11Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/vanilophp/contracts)[ Packagist](https://packagist.org/packages/vanilo/contracts)[ RSS](/packages/vanilo-contracts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (34)Used By (17)

Vanilo Contracts
================

[](#vanilo-contracts)

[![Tests](https://camo.githubusercontent.com/984999b80f670e5aa8527361841344bd45d6fbd2d4e5b6192d60f8d3806af5be/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f76616e696c6f7068702f636f6e7472616374732f74657374732e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/vanilophp/contracts/actions?query=workflow%3Atests)[![Packagist Stable Version](https://camo.githubusercontent.com/4a5c8b52fb55676d211fda8c987db9c240b6065fd5ca9c1677fa1060a099dddd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76616e696c6f2f636f6e7472616374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d737461626c65)](https://packagist.org/packages/vanilo/contracts)[![Packagist downloads](https://camo.githubusercontent.com/15724452da9b4c32a1e3d3a3accba7edb2e9146afaed014e0825431014bc4a26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76616e696c6f2f636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vanilo/contracts)[![MIT Software License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

> Vanilo is an E-commerce Framework for Laravel. Check out [vanilo.io](https://vanilo.io).

This is a subtree-split of the `Contracts` folder from Vanilo Framework and constitutes a standalone package that defines shared interfaces across various Vanilo Modules.

It aims to support using individual modules without the Framework. So that you can choose for example to use the [checkout](https://github.com/vanilophp/checkout) component without the [cart](https://github.com/vanilophp/cart) component.

Usage
-----

[](#usage)

See the [Vanilo Documentation](https://vanilo.io/docs/master/what-is-vanilo) for more details.

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance70

Regular maintenance activity

Popularity38

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~91 days

Recently: every ~127 days

Total

33

Last Release

167d ago

Major Versions

0.5.0 → 1.0.02019-11-11

1.2.x-dev → 2.0.02020-10-11

2.x-dev → 3.0.02022-02-28

3.x-dev → 4.0.02024-04-25

4.x-dev → 5.0.02025-09-03

PHP version history (9 changes)0.1.0PHP &gt;=7.0.0

1.0.0PHP ^7.1.3

1.2.0PHP ^7.2

2.0.0PHP ^7.3

2.1.0PHP ^7.3|^8.0

2.2.0PHP ^7.4|^8.0

3.0.0PHP ^8.0

4.0.0PHP ^8.2

5.0.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3653935?v=4)[Vanilo](/maintainers/vanilo)[@Vanilo](https://github.com/Vanilo)

---

Top Contributors

[![fulopattila122](https://avatars.githubusercontent.com/u/1162360?v=4)](https://github.com/fulopattila122 "fulopattila122 (104 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

vanilolaravelecommercevanilo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vanilo-contracts/health.svg)

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

###  Alternatives

[vanilo/cart

Vanilo Cart Module

51100.9k1](/packages/vanilo-cart)[amsgames/laravel-shop

Package set to provide shop or e-commerce functionality (such as CART, ORDERS, TRANSACTIONS and ITEMS) to Laravel for customizable builds.

4845.9k](/packages/amsgames-laravel-shop)[vanilo/order

Vanilo Order Module

3595.3k](/packages/vanilo-order)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[vanilo/product

Vanilo Product Module

2095.7k2](/packages/vanilo-product)[vanilo/checkout

Vanilo Checkout Module

1592.5k](/packages/vanilo-checkout)

PHPackages © 2026

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