alex-kalanis / kw_images
Processing images in KWCMS
Requires
- php: >=7.4.0
- ext-exif: *
- ext-gd: *
- ext-mbstring: *
- alex-kalanis/kw_files: >=4.0 <5
- alex-kalanis/kw_mime: >=3.0 <4
- alex-kalanis/kw_paths: >=4.0 <5
Requires (Dev)
- alex-kalanis/kw_storage: >=5.0 <6
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >=8.0 <=9
- shipmonk/composer-dependency-analyser: ^1.4
Suggests
- alex-kalanis/kw_storage: Local storage for accessing resources
README
Gallery on (remote) file system tree.
Working with images in tree-like gallery. Usually these libraries uses volume as their data source, but it is possible to set different (external) storage and use it. Just a few things cannot be done remotely and these will dump processed content locally and after changes returns it back to the storage.
PHP Installation
composer.phar require alex-kalanis/kw_images
(Refer to Composer Documentation if you are not familiar with composer)
PHP Usage
1.) Use your autoloader (if not already done via Composer autoloader)
2.) Add some external packages with connection to the local or remote services.
3.) Connect the "kalanis\kw_images\FilesHelper" into your app. Extends it for setting your case.
4.) Extend your libraries by interfaces inside the package.
5.) Just call setting and render in controllers
Changes
- v2 has remote as storage, no volume operation directly here
- v3 has updated paths and following libraries
- v4 has updated code style and all libraries underneath