Skip to content

Commit

Permalink
Merge branch 'release/v1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
songlipeng2003 committed Nov 29, 2017
2 parents a2770cf + 4dc1110 commit a1eb36e
Show file tree
Hide file tree
Showing 11 changed files with 2,268 additions and 351 deletions.
18 changes: 18 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
engines:
duplication:
enabled: true
config:
languages:
php:
mass_threshold: 8

fixme:
enabled: true
phpmd:
enabled: true
ratings:
paths:
- "**.php"
exclude_paths:
- test/
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true


[.travis.yml]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ vendor/

# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock
# composer.lock
log
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: php

sudo: false

matrix:
include:
- php: 7.1
- php: 7.2

before_script:
- composer install
- mkdir -p log

script:
- vendor/bin/phpunit

addons:
code_climate:
repo_token: 39a499ae17627cba18476644a99eaeda2fe56112a510f41011f0122cc65f6b6f
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## php x-sendfile


[![Latest Stable Version](https://poser.pugx.org/songlipeng2003/php-x-sendfile/v/stable)](https://packagist.org/packages/songlipeng2003/php-x-sendfile) [![Total Downloads](https://poser.pugx.org/songlipeng2003/php-x-sendfile/downloads)](https://packagist.org/packages/songlipeng2003/php-x-sendfile) [![License](https://poser.pugx.org/songlipeng2003/php-x-sendfile/license)](https://packagist.org/packages/songlipeng2003/php-x-sendfile) [![Build Status](https://travis-ci.org/songlipeng2003/php-x-sendfile.svg?branch=develop)](https://travis-ci.org/songlipeng2003/php-x-sendfile)

php send static files use web server, now support apache, nginx, Lighttpd

## require
Expand All @@ -14,4 +17,4 @@ require xdebug

### License

[Apache License Version 2.0](https://github.com/songlipeng2003/php-x-sendfile/blob/master/LICENSE.md)
[Apache License Version 2.0](https://github.com/songlipeng2003/php-x-sendfile/blob/master/LICENSE.md)
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
"codeclimate/php-test-reporter": "^0.4.4",
"phpunit/phpunit": "^5.7"
}
}
}
Loading

0 comments on commit a1eb36e

Please sign in to comment.