Mago 1.59.0
Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.
Download
10.12 MB
26downloads
16this week
FreeFreeware
0reviews
About Mago
Mago is a comprehensive toolchain for PHP that helps developers write better code. Inspired by the Rust ecosystem, Mago brings speed, reliability, and an exceptional developer experience to PHP projects of all sizes.
License: Apache-2.0
License: Apache-2.0
| Release info | Update on Oct 24, 2026 |
|---|---|
| Release notes | Mago 1.59.0 fixes analyzer narrowing across boolean guards, nullsafe checks, and elseif branches, improves generic and callable inference, and updates the analyzer extension protocol to MANA 2.2. > [!NOTE] > > ### Support Mago > > Does your company use Mago? Please consider sponsoring its development so we can keep fixing bugs and shipping releases. > > Sponsor Mago ? Bug Fixes Analyzer o Namespace constants: preserves global constant fallback in namespaced declarations. (#2594, 0e6c1d8) o Method assertions: keeps getter assertions from the right side of ||. (#2600, #2609, 777429f) o CLI argument guards: fixes $argc typing and negated count() bounds. (#2607, #2608, be88d13) o Template defaults: applies declared defaults when constructing generic objects. (#2603, #2606, 2066b18) o Stored booleans: keeps narrowing implied by boolean variables across && and ||. (#2601, 8d739b3) o Nullsafe membership: narrows receivers after strict in_array() checks against non-null values. (#2599, 56e4b49) o Collection intersections: honors narrower read types in intersected collection types. (#2612, 79c295f) o Callable signatures: preserves parameter and return types through Closure::fromCallable(). (#2611, #2614, 3ea5963) o PHPDoc generics: checks missing, excess, and out-of-bounds template arguments in docblocks. (#2616, 2ac5c5d) o Boolean branches: preserves true and false types across short-circuit expressions. (#2593, 9890d23) o Dynamic instanceof: keeps valid operand types when a dynamic class check fails. (#2592, #2595, 65530ba) o Strict equality: narrows both union-typed operands to their shared types. (#2559, 923c061) o Elseif branches: preserves all reachable types and branch facts after conditional chains. (#2619, 0a098f4) o Nullsafe comparisons: avoids false impossible-null reports when assigning comparison results. (#2591, b7273f4) o URL components: allows empty user, password, query, and fragment strings from parse_url(). (#2590, #2610... |
| Related tags | ast dev formatting lint php |
| Listing data | winget |
Reviews
No reviews yet. Be the first to review Mago.
Used Mago? Tell other visitors what you thought.
Log in to write a reviewOther products by this publisher
- "No Distractions" for YouTube 4.10 ----
- #Bible 11.6 "Incredible App - My sister shared this app with me a few weeks ago and it is truly incredible.
- #filmphotography 1.4.2 So, you decided to shoot on film?
- $quirrel 1.5.1 $quirrel Budget & Finance helps you plan each paycheck, track spending, manage debt, and see what is safe to spend before the next payday.
- % Percentage Calculator Pro 1.41 This is the Pro version of % Percentage Calculator.
Most viewed Windows Specialized Tools
-
1
Project: Merge 1.0.1338
Project: Merge is a Windows? application for comparing and merging XML files. Comparing two or three XML files allows you to see what's changed, while merging allows you to integrate the differences from the input files into a single output file.
-
2
Advanced BAT to EXE Converter 2.61
Convert BATch files to EXE format with encryption. . Select EXE Icon. Run Invisible. Embed dependency files. Select EXE version properties, print centered color text, gather user input, do math. Option to Password Protect EXE.
-
3
Speed Test Pro Silver 1.0.736
Monitor your website's bandwidth speed, response time and errors completely free, without registering. The only software that does an actual full Speed Test of your Internet connection and many other features.
-
4
Active File Compare 2.0
Active File Compare is an advanced utility for the comparison and synchronization of any text files in visual mode. Use this tool to compare two versions of the same file or to correct the source code versions.
-
5
Quick Batch File Compiler 4.0.0.0
Quick Batch File compiler convert batch files into actual program (EXE format) in one click. This program may be run on Windows 98/Millenium/2000/2003/XP without any limitations. Content of batch file will be encripted and protected from changes.
-
6
1D Barcode VCL Components 7.1.0.2075
The components set is designed for generating and printing barcode in your Delphi or C++ Builder application. Most popular linear and postal barcode symbologies are supported. Database functionality and most popular reports are supported.
-
7
eCover Engineer 6.3.1
Create professional ebook covers, CD covers, DVD covers and software box covers. Edit pictures using eCover Engineer's build in image editor and take advantage of almost 100 free templates.
- 8 Neat Wizards 1.1 High-quality images for creating professional user wizards and dialog boxes.
-
9
Crystal FLOW for C 4.60
Crystal FLOW is valuable for reviewing C/C++ source. It has: Flowcharts, Rich Trees, Visio/JPEG exports, Browser
Editions:
Docs: HTML docs + flowcharts, trees
Professional: Call/Data Flows, RichTree, Object/Stack Size, DataDependency
-
10
Batch Replacer 4.0
Batch Replacer is a multi-string search-and-replace converter necessary for webmasters, programmers and everybody who is concerned with computers. Both text and binary files can be processed by the program. Many options are available.
Most downloaded Windows Specialized Tools
-
1
Project: Merge 1.0.1338
Project: Merge is a Windows? application for comparing and merging XML files. Comparing two or three XML files allows you to see what's changed, while merging allows you to integrate the differences from the input files into a single output file.
-
2
Advanced BAT to EXE Converter 2.61
Convert BATch files to EXE format with encryption. . Select EXE Icon. Run Invisible. Embed dependency files. Select EXE version properties, print centered color text, gather user input, do math. Option to Password Protect EXE.
-
3
Speed Test Pro Silver 1.0.736
Monitor your website's bandwidth speed, response time and errors completely free, without registering. The only software that does an actual full Speed Test of your Internet connection and many other features.
-
4
Active File Compare 2.0
Active File Compare is an advanced utility for the comparison and synchronization of any text files in visual mode. Use this tool to compare two versions of the same file or to correct the source code versions.
- 5 ABCupload.NET V5.1 ABCUpload .NET enhances the basic .NET file upload functionality. Advanced features like Pure HTML Progress Bar ™ support, GigUpload ™ technology for truly massive uploads and MacBinary decoding. All in 100% Managed Code. Free license available
- 6 BMDFM 5.9.9_R15_b1701 BMDFM (Binary Modular DataFlow Machine) is software, which enables running an application in parallel on shared memory symmetric multiprocessors (SMP) using the multiple processor cores to speed up the execution of single applications.
-
7
1D Barcode VCL Components 7.1.0.2075
The components set is designed for generating and printing barcode in your Delphi or C++ Builder application. Most popular linear and postal barcode symbologies are supported. Database functionality and most popular reports are supported.
-
8
Crystal FLOW for C 4.60
Crystal FLOW is valuable for reviewing C/C++ source. It has: Flowcharts, Rich Trees, Visio/JPEG exports, Browser
Editions:
Docs: HTML docs + flowcharts, trees
Professional: Call/Data Flows, RichTree, Object/Stack Size, DataDependency
-
9
Batch Replacer 4.0
Batch Replacer is a multi-string search-and-replace converter necessary for webmasters, programmers and everybody who is concerned with computers. Both text and binary files can be processed by the program. Many options are available.
-
10
Quick Batch File Compiler 4.0.0.0
Quick Batch File compiler convert batch files into actual program (EXE format) in one click. This program may be run on Windows 98/Millenium/2000/2003/XP without any limitations. Content of batch file will be encripted and protected from changes.