dd / modxevo-library-ddtools
This package is abandoned and no longer maintained.
The author suggests using the dd/evolutioncms-libraries-ddtools package instead.
A library with various tools facilitating your work.
Package info
github.com/DivanDesign/EvolutionCMS.libraries.ddTools
Type:modxevo-library-ddtools
pkg:composer/dd/modxevo-library-ddtools
0.69.1
2026-09-06 17:16 UTC
Requires
- php: >=7.4.0
- dd/composer-plugin-modxevo-library-ddtools-installer: 1.0.5
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 0.69.1
- 0.69.0
- 0.68.0
- 0.67.1
- 0.67.0
- 0.66.0
- 0.65.3
- 0.65.2
- 0.65.1
- 0.65.0
- 0.64.1
- 0.64.0
- 0.63.0
- 0.62.1
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.1
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.1
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.1
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.1
- 0.49.0
- 0.48.2
- 0.48.1
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.1
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.1
- 0.40.0
- 0.39.0
- 0.38.1
- 0.38.0
- 0.37.1
- 0.37.0
- 0.36.0
- 0.35.1
- 0.35.0
- 0.34.0
- 0.33.1
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.1
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.1
- v0.24
- v0.23
- v0.22
- v0.21
- v0.20
- v0.19
- v0.18
- v0.17
- v0.16.2
- v0.16.1
- v0.16
- v0.15.4
- v0.15.3
- v0.15.3-alpha1
- v0.15.2
- v0.15.2-alpha1
- v0.15.1
- v0.15
- v0.15-alpha10
- v0.15-alpha9
- v0.15-alpha8
- v0.15-alpha7
- v0.15-alpha6
- v0.15-alpha5
- v0.15-alpha4
- v0.15-alpha3
- v0.15-alpha2
- v0.15-alpha1
- v0.14.3
- v0.14.2
- v0.14.1
- v0.14
- dev-develop
This package is auto-updated.
Last update: 2026-09-06 17:18:28 UTC
README
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:
//Include (MODX)EvolutionCMS.libraries.ddInstaller require_once( $modx->getConfig('base_path') . 'assets/libs/ddInstaller/require.php' ); //Update (MODX)EvolutionCMS.libraries.ddTools \DDInstaller::install([ 'url' => 'https://github.com/DivanDesign/EvolutionCMS.libraries.ddTools', ]);
- 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, 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.