ソースを参照

#141 - intervention Image files

Alex Trofimov 11 年 前
親
コミット
0b7fe28316
2 ファイル変更、62 行追加、0 行削除
  1. 9 0
      plugins/intervention-image/LICENSE
  2. 53 0
      plugins/intervention-image/README.md

+ 9 - 0
plugins/intervention-image/LICENSE

@@ -0,0 +1,9 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 Oliver Vogel
+
+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.

+ 53 - 0
plugins/intervention-image/README.md

@@ -0,0 +1,53 @@
+# Intervention Image
+
+Intervention Image is a **PHP image handling and manipulation** library providing an easier and expressive way to create, edit, and compose images. The package includes ServiceProviders and Facades for easy **Laravel** integration.
+
+[![Build Status](https://travis-ci.org/Intervention/image.png?branch=master)](https://travis-ci.org/Intervention/image)
+
+## Requirements
+
+- PHP >=5.3
+- Fileinfo Extension
+
+## Supported Image Libraries
+
+- GD Library (>=2.0)
+- Imagick PHP extension (>=6.5.7)
+
+## Getting started
+
+- [Installation](http://image.intervention.io/getting_started/installation)
+- [Laravel Framework Integration](http://image.intervention.io/getting_started/installation#laravel)
+- [Official Documentation](http://image.intervention.io/)
+
+## Code Examples
+
+```php
+// open an image file
+$img = Image::make('public/foo.jpg');
+
+// resize image instance
+$img->resize(320, 240);
+
+// insert a watermark
+$img->insert('public/watermark.png');
+
+// save image in desired format
+$img->save('public/bar.jpg');
+```
+
+Refer to the [documentation](http://image.intervention.io/) to learn more about Intervention Image.
+
+## Contributing
+
+Contributions to the Intervention Image library are welcome. Please note the following guidelines before submiting your pull request.
+
+- Follow [PSR-2](http://www.php-fig.org/psr/psr-2/) coding standards.
+- Write tests for new functions and added features
+- API calls should work consistently with both GD and Imagick drivers
+
+## License
+
+Intervention Image is licensed under the [MIT License](http://opensource.org/licenses/MIT).
+
+Copyright 2014 [Oliver Vogel](http://olivervogel.net/)