initbiz / money-plugin Goto Github PK
View Code? Open in Web Editor NEWPlugin to use money in OctoberCMS painlessly.
License: MIT License
Plugin to use money in OctoberCMS painlessly.
License: MIT License
When the plugin fetches the current amount stored, it always grabs the 'amount' column. This only works if the actual configured column is also called 'amount' - otherwise the returned current value would be null.
We're running WinterCMS with Laravel 9.1. Laravel uses the ramsey/uuid package which depends on "brick/math": "^0.8 || ^0.9"
. This plugin depends on "brick/money": "^0.5.3"
which in turn depends on "brick/math": "~0.7.3 || ~0.8.0 || ~0.9.0"
.
It is my understanding that ~0.9.0 does not allow 0.10.x to be installed whereas the ^0.9 constraint does allow it. Therefore the Laravel framework pulls in the latest version of brick/money (0.10.x) which is too high for brick/money ^0.5.3.
It is possible to run composer update -W initbiz/money-plugin
which will downgrade the brick/math dependency to a lower version which can be used by both this plugin and ramsey/uuid. However, this is undesirable because it installs an older version of the package.
Is there any specific reason this package depends on an older brick/money library?
This plugin does not seem to work with the \October\Rain\Database\Traits\Encryptable
trait. I've added the amount column to the encryptable
array but the value is not encrypted in the database.
This repository seems to be missing a license declaration. Is it omitted on purpose? The plugin page says MIT
but I feel this should also be reflected in the repository.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.