-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #202 from TypiCMS/master
Laravel 9 / Flysystem 3 version of Croppa with passing tests.
- Loading branch information
Showing
28 changed files
with
1,177 additions
and
947 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
language: php | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 8.0 | ||
- 8.1 | ||
|
||
before_script: | ||
- composer install --dev | ||
- yarn add mocha | ||
- composer install --dev | ||
- yarn add mocha | ||
|
||
script: | ||
- phpunit | ||
- yarn mocha public/js/test | ||
- phpunit | ||
- yarn mocha public/js/test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
{ | ||
"name": "bkwld/croppa", | ||
"description": "Image thumbnail creation through specially formatted URLs for Laravel", | ||
"authors": [ | ||
{ | ||
"name": "Robert Reinhard" | ||
} | ||
], | ||
"license": "MIT", | ||
"require": { | ||
"php": "^7.2.5|^8.0", | ||
"illuminate/console": "4 - 8", | ||
"illuminate/support": "4 - 8", | ||
"illuminate/routing": "4 - 8", | ||
"league/flysystem": "~1.0", | ||
"symfony/http-foundation": "2 - 5", | ||
"symfony/http-kernel": "2 - 5", | ||
"weotch/phpthumb": "^1.0.5", | ||
"ext-gd": "*" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "4 - 5", | ||
"mockery/mockery": "~0.9" | ||
}, | ||
"suggest": { | ||
"ext-exif": "Required if you want to have Croppa auto-rotate images from devices like mobile phones based on exif meta data." | ||
}, | ||
"conflict": { | ||
"league/flysystem-cached-adapter": "<1.0.2" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"Bkwld\\Croppa": "src/" | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Bkwld\\Croppa\\ServiceProvider" | ||
], | ||
"aliases": { | ||
"Croppa": "Bkwld\\Croppa\\Facade" | ||
} | ||
} | ||
} | ||
"name": "bkwld/croppa", | ||
"description": "Image thumbnail creation through specially formatted URLs for Laravel", | ||
"authors": [ | ||
{ | ||
"name": "Robert Reinhard" | ||
} | ||
], | ||
"license": "MIT", | ||
"require": { | ||
"php": "^8.0.2", | ||
"illuminate/console": "^9.0", | ||
"illuminate/support": "^9.0", | ||
"illuminate/routing": "^9.0", | ||
"league/flysystem": "^3.0", | ||
"symfony/http-foundation": "^6.0", | ||
"symfony/http-kernel": "^6.0", | ||
"weotch/phpthumb": "^1.0.5", | ||
"ext-gd": "*" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^9.5.10", | ||
"mockery/mockery": "^1.4.4" | ||
}, | ||
"suggest": { | ||
"ext-exif": "Required if you want to have Croppa auto-rotate images from devices like mobile phones based on exif meta data." | ||
}, | ||
"conflict": { | ||
"league/flysystem-cached-adapter": "<1.0.2" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"Bkwld\\Croppa": "src/" | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Bkwld\\Croppa\\ServiceProvider" | ||
], | ||
"aliases": { | ||
"Croppa": "Bkwld\\Croppa\\Facade" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"mocha": "^3.5.3" | ||
} | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"mocha": "^3.5.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
<?php namespace Bkwld\Croppa; | ||
<?php | ||
|
||
class Exception extends \Exception { } | ||
namespace Bkwld\Croppa; | ||
|
||
class Exception extends \Exception | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.