Download the PHP package devmachine/ontheio-bundle without Composer
On this page you can find all versions of the php package devmachine/ontheio-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devmachine/ontheio-bundle
More information about devmachine/ontheio-bundle
Files in devmachine/ontheio-bundle
Package ontheio-bundle
Short Description onthe.io image cloud API integration.
License MIT
Homepage https://github.com/lakiboy/devmachine-ontheio-bundle
Informations about the package ontheio-bundle
DevmachineOntheioBundle
onthe.io image cloud API integration.
2017 update
i.onthe.io service is no longer available for public use. Consider integrating another image cloud provider.
Installation
Install this bundle using Composer. Add the following to your composer.json:
Register bundle in the kernel:
Update config:
Example usage
Twig helper
Note
The API docs suggests you can rotate and delete images. Albeit integration for these features was implemented, I wasn't able to achieve described functionality. You can examine ImageClient::rotate()
and ImageClient::delete()
methods.
Form integration
You can integrate image uploads right into your form.
Bootstrap 3 theme:
Only image uploads by URL is supported at the moment.
Gallery form type assumes following Javascript and CSS code is present:
Example bower.json
:
All versions of ontheio-bundle with dependencies
symfony/framework-bundle Version ^2.8|^3.0|^4.0
symfony/twig-bridge Version ^2.8|^3.0|^4.0
sensio/buzz-bundle Version ^1.0