vanilo/contracts
Common set of Vanilo Contracts (Interfaces)
5.2.0
235K downloads/mo
#3429 most downloaded on Packagist
vanilophp/contracts
What this package is like to depend on
Last release 4 months ago
21 Apr 2026
Release timing varies
gaps range from 2 weeks to 11 months
Some releases are documented
notes for 16 of 28 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
28 releases · first in 2017
3 releases in the last 12 months
see the full history below
Release timeline
28 releases · Dec 2017 to Apr 2026Releases
latest 28-
5.2.021 Apr 2026Release notes
Open source →2026-04-21
- Added Laravel 13 support
- Changed the minimal Laravel 12 versions from 12.38 to 12.50. Minimums for 10.48, and 11.46.2 have not changed.
-
5.1.002 Dec 2025Release notes
Open source →2025-12-02
- Changed the minimum Laravel version requirements to v10.48, v11.46.2 and v12.38 respectively
-
5.0.003 Sep 2025Release notes
Open source →2025-09-03
- Dropped PHP 8.2 Support
- Changed the minimum Laravel 10 version to v10.48
- Added Laravel 12 Support
- PHP 8.4 deprecation fixes:
- the
Schematized::getSchemaSample()parameter is now explicitly nullable
- the
- Added the
SaleandSaleIteminterfaces - BC: Added the
getOriginalPrice()andhasAHigherOriginalPrice()methods to the Buyable interface - BC: Added the
isShippable()method to theCheckoutSubjectIteminterface - BC: Added the
getShippableItems()method to theCheckoutSubjectinterface
-
4.2.014 Dec 2024 -
4.1.011 Jul 2024 -
4.0.025 Apr 2024Release notes
Open source →2024-04-25
- Dropped PHP 8.0 & PHP 8.1 Support
- Dropped Laravel 9 Support
- Added PHP 8.3 Support
- Added Laravel 11 Support
- Changed minimum Laravel version to v10.43
- Added the
Stockableinterface - Added the
Merchantinterface - Added the
Schematizedinterface - Added the
getConfigurationSchema()method to theConfigurableinterface - BC: Added the
itemsTotal()method to theCheckoutSubjectinterface - BC: Added the
getAddress2()method to theAddressinterface - BC: Added the following methods to the
Payableinterface:getNumber()getPayableRemoteId()setPayableRemoteId()findByPayableRemoteId()hasItems()getItems()
- Added the nette/schema package requirement (v1.2.5+)
-
3.8.024 May 2023 -
3.7.004 Apr 2023 -
3.6.007 Mar 2023 -
3.5.023 Feb 2023Release notes
Open source →2023-02-23
- No-change version bump to match with the rest of the Vanilo Modules
-
3.4.025 Jan 2023 -
3.3.005 Jan 2023Release notes
Open source →2023-01-05
- No-change version bump to match with the rest of the Vanilo Modules
-
3.2.005 Dec 2022Release notes
Open source →2022-12-08
- No-change version bump to match with the rest of the Vanilo Modules
-
3.1.007 Nov 2022 -
3.0.122 May 2022 -
3.0.028 Feb 2022Release notes
Open source →2022-02-28
- Added Laravel 9 support
- Added PHP 8.1 support
- Dropped PHP 7.4 Support
- Dropped Laravel 6-8 Support
- Removed Admin from "Framework" - it is available as an optional separate package see vanilo/admin
- Changed interface method defs:
- Buyable::getId() from no return type to string|int
- Buyable::addSale() $units parameter from no type to int|float
- Buyable::removeSale() $units parameter from no type to int|float
- Added the Dimension interface
- Changed the Shippable interface
- Method getWeight() has been renamed to weight()
- Method getWeightUnit has been renamed to weightUnit()
- Added the dimension() method
-
2.2.011 Sep 2021Nothing published for this version
-
2.1.031 Dec 2020Nothing published for this version
-
2.0.011 Oct 2020Nothing published for this version
-
1.2.029 Mar 2020Nothing published for this version
-
1.1.025 Nov 2019Nothing published for this version
-
1.0.011 Nov 2019Nothing published for this version
-
0.5.011 Feb 2019Nothing published for this version
-
0.4.011 Nov 2018Nothing published for this version
-
0.3.011 Aug 2018Nothing published for this version
-
0.2.019 Feb 2018Nothing published for this version
-
0.1.113 Dec 2017Nothing published for this version
-
0.1.011 Dec 2017Nothing published for this version