https://github.com/grasmash/artifice
https://github.com/grasmash/artifice
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/grasmash/artifice
- Owner: grasmash
- Created: 2018-01-09T21:56:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T20:11:23.000Z (over 8 years ago)
- Last Synced: 2025-03-30T06:41:20.968Z (about 1 year ago)
- Language: PHP
- Size: 66.4 KB
- Stars: 1
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/grasmash/artifice) [](https://coveralls.io/github/grasmash/artifice?branch=master)
## Install
`$ composer require grasmash/artifice`
## Contributing
Clone repo:
```
$ git clone git@github.com:grasmash/artifice.git /path/to/artifice
```
Edit `~/.composer/composer.json`:
```
{
"repositories": {
"artifice": {
"type": "path",
"url": "/path/to/artifice",
"options": {
"symlink": true
}
}
},
"require": {
"grasmash/artifice": "*@dev"
}
}
```
Execute:
```
$ composer global update
$ composer list
```
You should now see `generate-artifact` as an available command.
### Testing
```
$ cd /path/to/artifice
$ composer test
```
### Auto-fix code style
```
$ cd /path/to/artifice
$ composer cbf
```
### Debugging
Composer disables xDebug by default. To force xDebug usage when debugging the `generate-arifact` command, run:
```
$ COMPOSER_ALLOW_XDEBUG=1 composer generate-artifact
```