Download the PHP package dd/modxevo-library-ddtools without Composer
On this page you can find all versions of the php package dd/modxevo-library-ddtools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dd/modxevo-library-ddtools
More information about dd/modxevo-library-ddtools
Files in dd/modxevo-library-ddtools
Download dd/modxevo-library-ddtools
More information about dd/modxevo-library-ddtools
Files in dd/modxevo-library-ddtools
Vendor dd
Package modxevo-library-ddtools
Short Description A library with various tools facilitating your work.
License MIT
Homepage https://code.divandesign.ru/modx/ddtools
Package modxevo-library-ddtools
Short Description A library with various tools facilitating your work.
License MIT
Homepage https://code.divandesign.ru/modx/ddtools
Please rate this library. Is it a good library?
Informations about the package modxevo-library-ddtools
(MODX)EvolutionCMS.libraries.ddTools
A library with various tools facilitating your work.
Requires
- PHP >= 7.4
- (MODX)EvolutionCMS >= 1.1
- PHP.libraries.HJSON 2.2 (included)
- PHP.libraries.phpThumb 1.7.19-202210110924 (included)
Installation
Manually
- Create a new folder
assets/libs/ddTools/. - Extract the archive to the folder.
Using Composer
Just add dd/evolutioncms-libraries-ddtools to your composer.json.
ddTools version must be 0.14 or higher to use this method. If you use it, the compatibility with all your snippets, modules, etc. that use ddTools versions under 0.14 will be maintained.
Update using (MODX)EvolutionCMS.libraries.ddInstaller
Just run the following PHP code in your sources or Console:
- If
ddToolsis already exist on your site,ddInstallerwill check it version and update it if needed. - If
ddToolsis not exist on your site,ddInstallercan't do anything because requires it for itself.
Reference
\ddTools— Static helpers: empty values, URLs, templates,parseText,parseSource, renamed params, document ID/URL.\DDTools\Tools\:Files— File helpers: create, copy and remove directories, transform images (thumbnails, crop, resize, fill, watermark).Objects— Helpers for objects and arrays: property access, type conversion, extend, unfold.Cache— You can cache some data (e. g. a snippet result).- There are 2 levels of caching: stable (file-based) and quick (
$_SESSION-based). All methods utilize both levels automatically.
- There are 2 levels of caching: stable (file-based) and quick (
\DDTools\ObjectCollection— Class representing a collection of some objects or arrays.\DDTools\Storage— A uniform API for collections of items (items_add,items_update,items_delete,items_get).- Use it for a project table or an existing DB table (e. g.
site_content) instead of raw SQL queries.
- Use it for a project table or an existing DB table (e. g.
\DDTools\Base— Simple abstract class and trait with some small methods facilitating your work.\DDTools\Snippet— Abstract class for snippets.
Links
All versions of modxevo-library-ddtools with dependencies
PHP Build Version
Package Version
The package dd/modxevo-library-ddtools contains the following files
Loading the files please wait ...