Download the PHP package parasek/concretecms_utility without Composer
On this page you can find all versions of the php package parasek/concretecms_utility. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download parasek/concretecms_utility
More information about parasek/concretecms_utility
Files in parasek/concretecms_utility
Package concretecms_utility
Short Description Few handy, opinionated helpers for dealing with Files/Images when generating Images/Galleries/Sliders/File Lists etc.
License MIT
Homepage https://github.com/parasek/concretecms-utility
Informations about the package concretecms_utility
Custom utility classes for Concrete CMS
Few handy, opinionated helpers for dealing with Files, Images, Videos when generating Images/Galleries/Sliders/File Lists etc.
Requires Concrete 9 and PHP 8.1.
Most methods will return DTO objects or array of DTOs. Your Editor should help you with autocompletion. If not, add respective code:
You can access returned values as objects:
Installation
Installation (without composer)
Download the latest release and copy content of src
folder into application/src/ConcreteCmsUtility
.
Add code below in application/bootstrap/app.php
:
Visit https://github.com/JamesHeinrich/getID3 and download latest version of getID3 library.
Copy content of that repository into application/src
and add load it somewhere (for example
in application/bootstrap/app.php
).
Service provider
You can register service provider in application/config/app.php
in providers
section
Then you will be able to use shorthands like:
Example usage
How to load services:
Example:
All versions of concretecms_utility with dependencies
concrete5/core Version ^9.1.0
james-heinrich/getid3 Version ^1.9
ext-simplexml Version *