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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

PHP Build Version
Package Version
Requires php Version >=8.1
concrete5/core Version ^9.1.0
james-heinrich/getid3 Version ^1.9
ext-simplexml Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package parasek/concretecms_utility contains the following files

Loading the files please wait ....