Also shipping: mago-twig-syntax, a lossless Twig 3 lexer, AST, and parser. π
Not wired into Mago yet: it's the testing ground for first-class Twig (and later Blade) support across the linter, formatter, and analyzer.
#php #mago #twig
github.com/carthage-sof...
Posts by Seifeddine / β΅β΅’β΄Ό π π¦
Mago 1.24.0 is out. π
Mostly analyzer correctness: recursive literal-scalar widening through by-ref out types, fixes around isset/array_key_exists, list destructuring, and __call on non-final classes.
#php #mago
github.com/carthage-sof...
Mago 1.20.0 π ~3x faster psl analysis, 6 new lint rules, glob excludes, a hang watcher for pathological inputs, and more!
#php #mago
github.com/carthage-sof...
Mago 1.16.0 is out! π
20+ false positive fixes across loops, type narrowing, switch statements, integer ranges, and more. Plus duplicate enum value detection and improved function stubs.
github.com/carthage-sof...
PSL 6.1 is here! π
New components: Compression, HPACK, H2, and Cache.
github.com/php-standard...
#php #h2 #hpack
Banger release of the PHP standard library by @azjezz.bsky.social: instead of being a single package, we can now require only what we need as standalone packages. Huge!
See: github.com/php-standard...
php-standard-library.dev/6.0.0/
PSL 6.0 is out. π
PHP Standard Library is now split into 61 standalone packages. Install only what you need:
$ composer require php-standard-library/async
No more pulling in 60 packages when you just need one.
github.com/php-standard-library/php-standard-library/releases/tag/6.0.0
#php #psl
PSL 5.0 docs are live: psl.carthage.software
PSL 5.0 ships a full terminal UI framework. Buffered rendering, layouts, widgets, keyboard/mouse events.
You can build TUI apps, dashboards, and even games entirely in PHP.
github.com/azjezz/psl/b...
Binary protocol parsing in PSL 5.0:
file:///Users/azjezz/Downloads/carbon(6).png
Encryption in PSL 5.0:
Symmetric, asymmetric, signing, AEAD, KDF, key exchange, stream ciphers. All built on libsodium.
file:///Users/azjezz/Downloads/carbon(5).png
PSL 5.0 is out! The biggest release of the PHP Standard Library yet.
10 new components: Crypto, Binary, Terminal, Process, TLS, UDP, CIDR, Socks, Ansi, and Interoperability.
Plus a complete networking stack rewrite.
github.com/azjezz/psl/r...
#PHP
Mago is free and open source. If it's saving you time, consider sponsoring to keep development going π
github.com/sponsors/azj...
Need help with your PHP codebase? Static analysis, tooling, performance, or architecture? we can help.
Reach out: azjezz@carthage.software
carthage.software/en/
Mago 1.9.0 is out! π
- PHP 8.5 deprecation detection (casts, backtick syntax, switch semicolons)
- sprintf() and array_map() return type providers
- Generator type inference for closures
- New formatter options
- 16 bug fixes
github.com/carthage-sof...
#php #mago
Mago 1.6.0 is here! π
New analyzer checks, path-scoped ignores, new linter rules, formatter fixes & more.
github.com/carthage-sof...
Building Mago solo takes mass amounts of caffeine β
If it helps your team, consider sponsoring or reaching out for consulting:
β github.com/sponsors/azj...
β carthage.software
Mago 1.4.0: New Parser. 3x faster. Fault-tolerant. Ready for LSP. π
Plus method call assertions, new fixers, and 20+ bug fixes. π
github.com/carthage-sof...
#PHP #Mago #StaticAnalysis
π Mago 1.2.0 is here!
β¨ Unused private methods & properties detection
β¨ Undefined type reference errors
β¨ New no-isset linter rule
β¨ Distribution config files (mago.dist.toml)
π Tons of bug fixes
github.com/carthage-sof...
Mago 1.1.0 is out! π
- Formatter presets (PSR-12, PER-CS, & more)
- @'mixin annotation support
- Docblock type mismatch detection
- Pest PHP lint rules
- Tons of bug fixes
github.com/carthage-sof...
#PHP #Mago #StaticAnalysis
Mago 1.0 is live. π¦ π
β
Linter
β
Formatter
β
Static Analyzer
β
Architectural Guard
A unified, oxidized PHP toolchain. π¦π
github.com/carthage-sof...
#PHP #StaticAnalysis #Linter
π
mago.carthage.software/playground#H...
π Mago 1.0.0-rc.4 is out!
β
PHP 8.5 support
β
PHP 8.6 Partial Function Application support (RFC not even merged yet!)
Stay ahead: github.com/carthage-sof...
π«ΆπΌπ
π
#php #formatter #linter #staticanalysis #mago
github.com/carthage-sof...
π Just released CEL-PHP 1.0.0-rc.1 - Google's Common Expression Language for PHP.
Production-ready and spec-compliant. Feedback welcome!
github.com/carthage-sof...
We got benchmarks :)
mago.carthage.software/benchmarks#l...