mirror of
https://github.com/Intervention/image.git
synced 2025-08-31 09:31:53 +02:00
readme update
This commit is contained in:
42
README.md
42
README.md
@@ -1 +1,41 @@
|
||||
# Intervention Image 2.0.0-beta
|
||||
# Intervention Image
|
||||
|
||||
Intervention Image is a **PHP image handling and manipulation** library providing an easier and expressive way of using PHP's GD or Imagick libraries. The package includes ServiceProviders and Facades for easy **Laravel 4** integration.
|
||||
|
||||
[](https://travis-ci.org/Intervention/image)
|
||||
|
||||
## Requirements
|
||||
|
||||
- PHP >=5.3
|
||||
- Fileinfo Extension
|
||||
- GD (>=2.0) or Imagick module
|
||||
|
||||
## Getting started
|
||||
|
||||
- [Installation Guide](http://image.intervention.io/installation)
|
||||
- [Laravel Framework Integration](http://image.intervention.io/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.
|
||||
|
||||
## License
|
||||
|
||||
Intervention Image is licensed under the [MIT License](http://opensource.org/licenses/MIT).
|
||||
|
||||
Copyright 2014 [Oliver Vogel](http://olivervogel.net/)
|
Reference in New Issue
Block a user