An open API service indexing awesome lists of open source software.

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

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.