Download the PHP
package carthage-software/mago without Composer
On this page you can find all versions of the php package
carthage-software/mago. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor carthage-software Package mago Short Description Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code. License
MIT OR Apache-2.0
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
Informations about the package mago
**An extremely fast PHP linter, formatter, and static analyzer, written in Rust.**
[](https://github.com/carthage-software/mago/actions/workflows/ci.yml)
[](https://github.com/carthage-software/mago/actions/workflows/cd.yml)
[](https://crates.io/crates/mago)
[](https://packagist.org/packages/carthage-software/mago)
[](https://packagist.org/packages/carthage-software/mago)
[](https://packagist.org/packages/carthage-software/mago)
[](https://github.com/carthage-software/mago/blob/main/LICENSE-MIT)
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.
Table of Contents
Installation
Getting Started
Features
Our Sponsors
Contributing
Inspiration & Acknowledgements
License
Installation
The most common way to install Mago on macOS and Linux is by using our shell script:
For all other installation methods, including Homebrew, Composer, and Cargo, please refer to our official Installation Guide.
Getting Started
To get started with Mago and learn how to configure your project, please visit our Getting Started Guide in the official documentation.
Features
β‘οΈ Extremely Fast: Built in Rust for maximum performance.
π Lint: Identify issues in your codebase with customizable rules.
π¬ Static Analysis: Perform deep analysis of your codebase to catch potential type errors and bugs.
π οΈ Automated Fixes: Apply fixes for many lint issues automatically.
π Formatting: Automatically format your code to adhere to best practices and style guides.
π§ Semantic Checks: Ensure code correctness with robust semantic analysis.
π³ AST Visualization: Explore your codeβs structure with Abstract Syntax Tree (AST) parsing.
Our Sponsors
See all sponsors
Contributing
Mago is a community-driven project, and we welcome contributions! Whether you're reporting bugs, suggesting features, writing documentation, or submitting code, your help is valued.
OXC: A major inspiration for building a high-performance toolchain in Rust.
Hakana: For its deep static analysis capabilities.
Acknowledgements:
We deeply respect the foundational work of tools like PHP-CS-Fixer, Psalm, PHPStan, and PHP_CodeSniffer. While Mago aims to offer a unified and faster alternative, these tools paved the way for modern PHP development.
License
Mago is dual-licensed under your choice of the following:
Requiresphp Version
~8.1 || ~8.2 || ~8.3 || ~8.4 composer-plugin-api Version
^2.6
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package carthage-software/mago contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.