Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
service_name: travis-ci
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
vendor

build/*
!build/.gitkeep
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: php

matrix:
fast_finish: true
include:
- php: 5.6
- php: 7.0

script:
- mkdir -p build/logs
- ./vendor/bin/phpunit
- ./vendor/bin/phpcs --standard=PSR2 ./src/

before_script:
- composer install --prefer-source

after_success:
- travis_retry php vendor/bin/coveralls -v

before_install:
- composer self-update
29 changes: 29 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Contributing

## Branching strategy

PHPExif Exiftool Adapter uses the [Git Flow](https://github.com/nvie/gitflow) branching strategy.

TL;DR:

- Work on a new version is merged in the `develop` branch
- Current stable release is in the `master` branch
- Hotfixes: branch from `master`, PR to `master`
- New feature: branch from `develop`, PR to `develop`
- Bugfix for older MAJOR version: branch from MAJOR release branch

## Coding Standards

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.

## Testing

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.

## Code Coverage

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.

## Most important Rule

All contributions are welcomed and greatly appreciated.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2016 PHPExif

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Empty file added build/.gitkeep
Empty file.
37 changes: 37 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "miljar/php-exif-exiftool",
"description": "Exiftool Adapter for PHPExif",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Tom Van Herreweghe",
"homepage": "http://theanalogguy.be",
"role": "Developer"
}
],
"keywords": ["EXIF", "IPTC", "jpeg", "tiff", "exiftool"],
"require": {
"php": "^5.6 || ^7.0",
"ext-exif": "*",
"miljar/php-exif-common": "dev-develop"
},
"require-dev": {
"mockery/mockery": "^0.9.5",
"phpmd/phpmd": "~2.4.0",
"phpunit/phpunit": "~5.6.0",
"satooshi/php-coveralls": "~1.0.0",
"sebastian/phpcpd": "~2.0.4",
"squizlabs/php_codesniffer": "2.*"
},
"autoload": {
"psr-4": {
"PHPExif\\Adapter\\Exiftool\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\PHPExif\\Adapter\\Exiftool\\": "tests/unit/"
}
}
}
Loading