Skip to content

Commit a08ddd4

Browse files
committed
Added usage instructions to readme
1 parent c8bb25c commit a08ddd4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
# Datacode PHP Code Standard
22
This repo contains the phpcs ruleset used by all of our other PHP projects.
3+
4+
The package should be included by composer
5+
```
6+
{
7+
"require": {
8+
"datacodetech/phpcs-ruleset": "^2.0.0"
9+
}
10+
}
11+
```
12+
Then references in the `ruleset.xml` file for the project
13+
```
14+
<ruleset>
15+
<rule ref="vendor/datacodetech/phpcs-ruleset/DatacodeStandard" />
16+
</ruleset>
17+
```

0 commit comments

Comments
 (0)