mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
Compare commits
11 Commits
0.1.8
...
feature/WZ
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d3fe767c4 | ||
|
|
14235b58ba | ||
|
|
140acd1eb3 | ||
|
|
4eaca747e7 | ||
|
|
28a11d611c | ||
|
|
df36e050e7 | ||
|
|
ddd558a7d4 | ||
|
|
e31af27c01 | ||
|
|
3bcda8e906 | ||
|
|
1641c50d1d | ||
|
|
afbbdfe437 |
14
README.md
14
README.md
@@ -6,10 +6,22 @@ Common and useful classes, methods, exceptions etc.
|
||||
|
||||
# Installation
|
||||
|
||||
In your `composer.json` add address of repository into `repositories` section:
|
||||
|
||||
```json
|
||||
"repositories": [
|
||||
(...)
|
||||
{
|
||||
"type": "vcs",
|
||||
"url": "https://github.com/wiosna-dev/common-library"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Run [Composer](https://getcomposer.org) to install this package in your project:
|
||||
|
||||
```bash
|
||||
composer require meritoo/common-library
|
||||
composer require wiosna-dev/common-library
|
||||
```
|
||||
|
||||
> [How to install Composer?](https://getcomposer.org/download)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "meritoo/common-library",
|
||||
"name": "wiosna-dev/common-library",
|
||||
"description": "Useful classes, methods, extensions etc.",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
@@ -10,20 +10,19 @@
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.6",
|
||||
"ext-dom": "*",
|
||||
"ext-fileinfo": "*",
|
||||
"ext-json": "*",
|
||||
"ext-simplexml": "*",
|
||||
"php": ">=5.6",
|
||||
"ext-intl": "*",
|
||||
"ext-pcre": "*",
|
||||
"doctrine/orm": "^2.5",
|
||||
"gedmo/doctrine-extensions": "^2.4"
|
||||
"doctrine/orm": "^2.16",
|
||||
"gedmo/doctrine-extensions": "^2.4 || ^3.11"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.2",
|
||||
"pdepend/pdepend": "^2.5",
|
||||
"phploc/phploc": "^2.1",
|
||||
"phpmd/phpmd": "^2.6",
|
||||
"phpunit/phpunit": "^4.8",
|
||||
"sebastian/phpcpd": "^2.0",
|
||||
|
||||
@@ -45,8 +45,7 @@
|
||||
depends="check:cs,
|
||||
check:md,
|
||||
check:cpd,
|
||||
check:depend,
|
||||
check:loc"
|
||||
check:depend"
|
||||
/>
|
||||
|
||||
<!-- Test target -->
|
||||
@@ -91,13 +90,6 @@
|
||||
</phpdepend>
|
||||
</target>
|
||||
|
||||
<!-- Measure the size and analyzing the structure of a project -->
|
||||
<target name="check:loc" depends="build:prepare">
|
||||
<phploc reportType="txt" reportName="phploc" reportDirectory="${dir.reports}">
|
||||
<fileset refid="sourcecode"/>
|
||||
</phploc>
|
||||
</target>
|
||||
|
||||
<!-- PHPUnit tests -->
|
||||
<target name="test:phpunit" depends="build:prepare">
|
||||
<exec command="${tests.phpunit.command}" passthru="true"/>
|
||||
|
||||
Reference in New Issue
Block a user