https://github.com/alpheuscfg/mago
A shareable Mago configuration
https://github.com/alpheuscfg/mago
config configuration formatter linter mago php shareable
Last synced: 7 days ago
JSON representation
A shareable Mago configuration
- Host: GitHub
- URL: https://github.com/alpheuscfg/mago
- Owner: alpheuscfg
- License: mit
- Created: 2026-06-28T20:26:12.000Z (21 days ago)
- Default Branch: main
- Last Pushed: 2026-06-30T01:49:54.000Z (20 days ago)
- Last Synced: 2026-06-30T03:22:40.956Z (20 days ago)
- Topics: config, configuration, formatter, linter, mago, php, shareable
- Language: TOML
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Mago Configuration
A shareable Mago configuration.
## Installation
Install these packages as a dev dependencies in the project:
```sh
composer require --dev alpheus/mago carthage-software/mago
```
## Usage
Implement the configuration into `mago.toml`:
```toml
extends = "./vendor/alpheus/mago"
[source]
paths = [
"./src",
]
[analyzer]
excludes = [
"./vendor",
]
```
Or go with different presets:
```toml
extends = [
"./vendor/alpheus/mago",
"./vendor/alpheus/mago/presets/psl",
"./vendor/alpheus/mago/presets/phpunit",
]
[source]
paths = [
"./src",
]
[analyzer]
excludes = [
"./vendor",
]
```
## License
This project is licensed under the terms of the MIT license.