vanilo/adjustments
Vanilo Adjustments Module
5.2.0
35K downloads/mo
#3480 most downloaded on Packagist
vanilophp/adjustments
What this package is like to depend on
Last release 4 months ago
21 Apr 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 15 of 15 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
15 releases · first in 2022
3 releases in the last 12 months
see the full history below
Release timeline
15 releases · Nov 2022 to Apr 2026
2023
2024
2025
2026
Releases
latest 15-
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
- Added the polymorphic
sourcerelation/fields to theAdjustmentmodel - Added the
getSourceandsetSourcemethods to theAdjustmentmodel - Changed the
setAdjustablemethod to return the itself (wasvoidbefore) - Changed the minimum Laravel version requirements to v10.48, v11.46.2 and v12.38 respectively
- Changed (fixed, in fact) the
SimpleTax/SimpleTaxDeductionadjusters to properly calculate the tax amount when it is included in the price
- Added the polymorphic
-
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
-
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
- Dropped Enum v3 Support
- Added PHP 8.3 Support
- Added Laravel 11 Support
- Changed minimum Laravel version to v10.43
- Changed minimal Enum requirement to v4.2
- Added the
SimpleTaxDeductionadjuster - Added the
AdjusterAliasesclass that for decoupling FQCNs from the database - Added automatic mapping of adjuster FQCN <-> aliases when saving an adjustment into the DB and when calling the
getAdjuster()method - Added the
mapInto()method to theRelationAdjustmentCollectionclass, which forwards the call to the underlying Eloquent collection - BC: Added the
deleteByType()method to theAdjustmentCollectioninterface + both implementation - BC: Changed the behavior of
AdjustmentCollection::total():- it ignores "included" adjustments by default,
- to incorporate the "included" adjustments pass true to the method:
$adjustments->total(withIncluded: true)
- BC: The
Adjustable::itemsTotal()has been renamed topreAdjustmentTotal() - BC: The
invalidateAdjustments()method has been added to theAdjustableinterface - BC: The
exceptTypes()method has been added to theAdjustmentCollectioninterface - BC: The
AdjustmentTypeinterface extends theEnumInterface - BC: Added the
isNotIncluded()method to theAdjustmentinterface
-
3.8.217 Nov 2023Release notes
Open source →2023-11-17
- Fixed the PHP
IteratorAggregate,ArrayAccessandCountableinterfaces-related deprecation notices
- Fixed the PHP
-
3.8.024 May 2023 -
3.7.004 Apr 2023Release notes
Open source →2023-04-04
- Added the
SimpleTaxadjuster (it calculates the tax amount based on a flat rate in %) - Added the
benefitadjustent type
- Added the
-
3.6.007 Mar 2023Release notes
Open source →2023-03-07
- Added Laravel 10 support
- Added the
clear()method toAdjustmentCollectionimplementations - Added the
invalidateAdjustments()method toAdjustableimplementations
-
3.5.023 Feb 2023 -
3.4.025 Jan 2023 -
3.3.005 Jan 2023 -
3.2.005 Dec 2022 -
3.1.007 Nov 2022