Skip to content

Commit 62aab0d

Browse files
authored
Merge pull request #1 from Miljar/feature/basic-setup
Feature/basic setup
2 parents 246aa73 + 183bf63 commit 62aab0d

File tree

11 files changed

+2873
-0
lines changed

11 files changed

+2873
-0
lines changed

.coveralls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
service_name: travis-ci

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
vendor
2+
3+
build/*
4+
!build/.gitkeep

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: php
2+
3+
matrix:
4+
fast_finish: true
5+
include:
6+
- php: 5.6
7+
- php: 7.0
8+
9+
script:
10+
- mkdir -p build/logs
11+
- ./vendor/bin/phpunit
12+
- ./vendor/bin/phpcs --standard=PSR2 ./src/
13+
14+
before_script:
15+
- composer install --prefer-source
16+
17+
after_success:
18+
- travis_retry php vendor/bin/coveralls -v
19+
20+
before_install:
21+
- composer self-update

CONTRIBUTING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Contributing
2+
3+
## Branching strategy
4+
5+
PHPExif Exiftool Adapter uses the [Git Flow](https://github.com/nvie/gitflow) branching strategy.
6+
7+
TL;DR:
8+
9+
- Work on a new version is merged in the `develop` branch
10+
- Current stable release is in the `master` branch
11+
- Hotfixes: branch from `master`, PR to `master`
12+
- New feature: branch from `develop`, PR to `develop`
13+
- Bugfix for older MAJOR version: branch from MAJOR release branch
14+
15+
## Coding Standards
16+
17+
PHPExif Native Adapter is written according the [PSR-0/1/2 standards](http://www.php-fig.org/). When submitting code, please make sure it is conform these standards.
18+
19+
## Testing
20+
21+
PHPExif Native Adapter is unit tested with [PHPUnit](https://phpunit.de/). We aim to have all functionality covered by unit tests. When submitting patches, you are strongly encouraged to provide unit tests. Patches without tests are not accepted.
22+
23+
## Code Coverage
24+
25+
Code coverage is checked by [Coveralls](https://coveralls.io/repos/PHPExif/php-exif-exiftool). Respect the boy scout rule for PHP developers: Always try to keep the Code Coverage level on par or above with the current level.
26+
27+
## Most important Rule
28+
29+
All contributions are welcomed and greatly appreciated.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2016 PHPExif
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

build/.gitkeep

Whitespace-only changes.

composer.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "miljar/php-exif-exiftool",
3+
"description": "Exiftool Adapter for PHPExif",
4+
"type": "library",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Tom Van Herreweghe",
9+
"homepage": "http://theanalogguy.be",
10+
"role": "Developer"
11+
}
12+
],
13+
"keywords": ["EXIF", "IPTC", "jpeg", "tiff", "exiftool"],
14+
"require": {
15+
"php": "^5.6 || ^7.0",
16+
"ext-exif": "*",
17+
"miljar/php-exif-common": "dev-develop"
18+
},
19+
"require-dev": {
20+
"mockery/mockery": "^0.9.5",
21+
"phpmd/phpmd": "~2.4.0",
22+
"phpunit/phpunit": "~5.6.0",
23+
"satooshi/php-coveralls": "~1.0.0",
24+
"sebastian/phpcpd": "~2.0.4",
25+
"squizlabs/php_codesniffer": "2.*"
26+
},
27+
"autoload": {
28+
"psr-4": {
29+
"PHPExif\\Adapter\\Exiftool\\": "src/"
30+
}
31+
},
32+
"autoload-dev": {
33+
"psr-4": {
34+
"Tests\\PHPExif\\Adapter\\Exiftool\\": "tests/unit/"
35+
}
36+
}
37+
}

0 commit comments

Comments
 (0)