Skip to content

Commit f22d4f7

Browse files
committed
Initial commit.
0 parents  commit f22d4f7

File tree

8 files changed

+124
-0
lines changed

8 files changed

+124
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
build
2+
composer.lock
3+
vendor

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: php
2+
3+
php:
4+
- 5.4
5+
- 5.5
6+
- 5.6
7+
- 7.0
8+
- hhvm
9+
10+
sudo: false
11+
12+
env:
13+
- COMPOSER_OPTS=""
14+
- COMPOSER_OPTS="--prefer-lowest"
15+
16+
before_script:
17+
- travis_retry composer self-update
18+
- travis_retry composer update $COMPOSER_OPTS
19+
20+
script:
21+
- php vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
22+
23+
after_script:
24+
- wget https://scrutinizer-ci.com/ocular.phar
25+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Jonathan Reinink <[email protected]>
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
13+
all 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
21+
THE SOFTWARE.

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Glide adapter for Laravel
2+
3+
[![Author](http://img.shields.io/badge/[email protected]?style=flat-square)](https://twitter.com/reinink)
4+
[![Latest Version](https://img.shields.io/github/release/thephpleague/glide-laravel.svg?style=flat-square)](https://github.com/thephpleague/glide-laravel/releases)
5+
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://github.com/thephpleague/glide-laravel/blob/master/LICENSE)
6+
[![Build Status](https://img.shields.io/travis/thephpleague/glide-laravel/master.svg?style=flat-square)](https://travis-ci.org/thephpleague/glide-laravel)
7+
[![HHVM Status](https://img.shields.io/hhvm/league/glide-laravel.svg?style=flat-square)](http://hhvm.h4cc.de/package/league/glide-laravel)
8+
[![Total Downloads](https://img.shields.io/packagist/dt/league/glide-laravel.svg?style=flat-square)](https://packagist.org/packages/league/glide-laravel)
9+
10+
## Installation
11+
12+
```bash
13+
$ composer require league/glide-laravel
14+
```
15+
16+
## Documentation
17+
18+
Full documentation can be found at [glide.thephpleague.com](http://glide.thephpleague.com).

composer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "league/glide-laravel",
3+
"description": "Glide adapter for Laravel",
4+
"homepage": "http://glide.thephpleague.com",
5+
"license": "MIT",
6+
"authors" : [
7+
{
8+
"name": "Jonathan Reinink",
9+
"email": "[email protected]",
10+
"homepage": "http://reinink.ca"
11+
}
12+
],
13+
"require": {
14+
"laravel/framework": ">=4.0",
15+
"league/flysystem": "^1.0",
16+
"league/glide": "dev-master",
17+
"league/glide-symfony": "dev-master",
18+
"php": ">=5.4"
19+
},
20+
"require-dev": {
21+
"mockery/mockery": "^0.9",
22+
"phpunit/phpunit": "^4.0"
23+
},
24+
"autoload": {
25+
"psr-4": {
26+
"League\\Glide\\": "src/"
27+
}
28+
}
29+
}

phpunit.xml.dist

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit colors="true" bootstrap="vendor/autoload.php">
3+
<testsuites>
4+
<testsuite name="all">
5+
<directory suffix="Test.php">tests/</directory>
6+
</testsuite>
7+
</testsuites>
8+
<filter>
9+
<whitelist>
10+
<directory suffix=".php">src/</directory>
11+
</whitelist>
12+
</filter>
13+
<logging>
14+
<log type="tap" target="build/report.tap"/>
15+
<log type="junit" target="build/report.junit.xml"/>
16+
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
17+
<log type="coverage-text" target="build/coverage.txt"/>
18+
<log type="coverage-clover" target="build/logs/clover.xml"/>
19+
</logging>
20+
</phpunit>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace League\Glide\Responses;
4+
5+
class LaravelResponseFactory extends SymfonyResponseFactory
6+
{
7+
}

0 commit comments

Comments
 (0)