Brick\Money VS Psalm

Compare Brick\Money vs Psalm and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Brick\Money Psalm
15 45
1,592 5,473
1.0% 0.7%
6.4 9.8
30 days ago 6 days ago
PHP PHP
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Brick\Money

Posts with mentions or reviews of Brick\Money. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-18.
  • Introducing Bag 1.0: Immutable Values Objects for PHP
    3 projects | dev.to | 18 May 2024
    For the last couple of years I’ve been using Value Objects in my projects to bring language-level strict types to what would typically be array data structures in my code. From method inputs to JSON API responses, value objects have almost entirely replaced arrays throughout. The ability to get runtime type checking and IDE auto-complete has eliminated many potential bugs, from key typos, to assigning an incorrectly typed value by accident: what type is an “amount” property in a credit card transaction API response? An integer of cents (or other minor units), a Money object such as brick/money or moneyphp/money? Or worst of all, a float?
  • PHP libraries and tools
    47 projects | dev.to | 18 Oct 2023
    brick/money: A money and currency library for PHP
  • Weekly help thread
    1 project | /r/PHP | 15 May 2023
    1 - Floating point is not always great for money operations and can introduce odd rounding errors - https://www.php.net/manual/en/language.types.float.php - you might want to use something like this: https://github.com/brick/money
  • PHP is trolling me
    5 projects | /r/webdev | 3 May 2023
    He should have said to use Brick/Money https://github.com/brick/money which is based on Brick/Math but is specifically money related.
  • How to format prices?
    1 project | /r/PHPhelp | 26 Apr 2023
    If you don’t want to do the integer conversions yourself, I highly recommend looking at: https://github.com/brick/money
  • Which native PHP features do you regret not knowing about/adapting earlier?
    5 projects | /r/PHP | 5 Aug 2022
    brick/date-time is great! I personally prefer its interface and functionality over Carbon's. I also really like his money library
  • Financial values in PHP
    4 projects | /r/PHPhelp | 19 May 2022
  • Best way to handle PHP float issue
    2 projects | /r/PHP | 19 May 2022
    Is the most popular, but https://github.com/brick/money is preferrable IMO. One of the reasons is that it handles not just money, but all arbitrary precision calculations independent of currecy via brick/math.
  • Dealing with money
    4 projects | /r/laravel | 31 Dec 2021
  • Weekly "ask anything" thread
    3 projects | /r/PHP | 14 Sep 2021

Psalm

Posts with mentions or reviews of Psalm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-08.
  • Laravel code-quality tools
    16 projects | dev.to | 8 Feb 2024
    Psalm is a static analysis tool for PHP. Much like PHPStan is to Larastan, Psalm has a plugin called Laravel Psalm that allows you to easily use it in Laravel projects.
  • PHP 8.3
    3 projects | news.ycombinator.com | 24 Nov 2023
  • PHP libraries and tools
    47 projects | dev.to | 18 Oct 2023
    Psalm: A static analysis tool for finding errors in PHP applications. Plugins: boesing/psalm-plugin-stringf: Psalm plugin to provide more details for sprintf, printf, sscanf and fscanf functions. hectorj/safe-php-psalm-plugin: vimeo/psalm plugin for thecodingmachine/safe. marartner/psalm-no-empty: Psalm plugin to detect usage of empty(). marartner/psalm-strict-equality: Psalm plugin to enforce strict equality. psalm/plugin-phpunit: A PHPUnit plugin for Psalm. psalm/plugin-symfony: Psalm Plugin for Symfony. weirdan/doctrine-psalm-plugin: Stubs to let Psalm understand Doctrine better. ghostwriter/psalm-plugin: Provides an ALL-IN-ONE plugin for Psalm
  • PHP-Tokio – Use any async Rust library from PHP
    7 projects | news.ycombinator.com | 27 Aug 2023
    PHP 8 is the best version of PHP yet, and the main reason why it's so good is precisely because it got rid of a huge amount of ugly, legacy behavior.

    Upgrading a codebase to PHP 8 is not an insurmountable task, I've upgraded our 1 million SLOC codebase at work in just a few weeks, with the help of tools like https://psalm.dev and our own strict coding standard.

  • Devs interesados en aprender
    1 project | /r/devsarg | 21 Jun 2023
  • Top 6 PHP code quality tools 2023
    7 projects | dev.to | 30 May 2023
    Psalm is a static analysis tool specifically designed for PHP. It performs advanced type inference and checks for various types of errors, including type errors, undefined variables, incorrect function calls, and more. It provides comprehensive code analysis and helps improve code quality and maintainability. Documentation: You can find more information about Psalm, including installation instructions and usage details, in the official repository: Psalm Repository
  • Avoiding empty() in PHP
    4 projects | /r/PHP | 11 May 2023
    vimeo/psalm
  • [Laravel] Maintenant que PHPStorm prend en charge le Psaume et le PHPSTAN, lequel utilisez-vous / recommandez-vous pour les projets Laravel?
    2 projects | /r/enfrancais | 28 Apr 2023
  • TIL how PHP type hinting works
    2 projects | /r/PHP | 23 Mar 2023
  • Templates available in Yii3.
    11 projects | /r/yii3 | 11 Jan 2023
    Static analysis - Psalm .

What are some alternatives?

When comparing Brick\Money and Psalm you can also consider the following projects:

laravel-money - Currency formatting and conversion package for Laravel

PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!

Money - PHP implementation of Fowler's Money pattern.

phan - Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.

Laravel - The Laravel Framework.

Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

laravel-currency-casting - Cast currency attributes stored as integer to floats automatically.

PHPCompatibility - PHP Compatibility check for PHP_CodeSniffer

laravel-currency - This provides Laravel with currency functions such as currency formatting and conversion using up-to-date exchange rates.

PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

Brick\Math - Arbitrary-precision arithmetic library for PHP

PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured