Download the PHP package heimrichhannot/contao-versions without Composer
On this page you can find all versions of the php package heimrichhannot/contao-versions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download heimrichhannot/contao-versions
More information about heimrichhannot/contao-versions
Files in heimrichhannot/contao-versions
Download heimrichhannot/contao-versions
More information about heimrichhannot/contao-versions
Files in heimrichhannot/contao-versions
Vendor heimrichhannot
Package contao-versions
Short Description Create versions within contao with ease and prevent entities from being purged by fromTable name. Also usable in frontend.
License LGPL-3.0-or-later
Homepage https://github.com/heimrichhannot/contao-versions
Package contao-versions
Short Description Create versions within contao with ease and prevent entities from being purged by fromTable name. Also usable in frontend.
License LGPL-3.0-or-later
Homepage https://github.com/heimrichhannot/contao-versions
Please rate this library. Is it a good library?
Informations about the package contao-versions
Versions
This bundle enhances the contao version entity with persistent tables options and helper methods.
Features
- Add fromTable names to
huh_versions.persistent_tables
that should persist within tl_version forever or a custom time frame. - Use the VersionModel to find tl_version models
Register persistent tables
To make your entities from a given fromTable persist add the table name to the huh_versions.persistent_tables
within your project configuration (typical config/config.yml
).
Create a new version entry
Instead of using the versions class direct, you can use the VersionControl
service instead.
VersionControl::createVersion options:
- hideUser: (
bool
) Don't add user to version log entry. Defaultfalse
- additionalData: (
array
|null
) Pass data that should be stored within the log entry. The array keys must be existing database column names. Defaultnull
- instance: (
Version
|null
)Pass a customVersions
instance instead of the default one. Defaultnull
Configuration reference
All versions of contao-versions with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1||^8.0
contao/core-bundle Version ^4.9
heimrichhannot/contao-utils-bundle Version ^2.51
symfony/config Version ^4.4|^5.0
symfony/dependency-injection Version ^4.4|^5.0
symfony/http-kernel Version ^4.4|^5.0
contao/core-bundle Version ^4.9
heimrichhannot/contao-utils-bundle Version ^2.51
symfony/config Version ^4.4|^5.0
symfony/dependency-injection Version ^4.4|^5.0
symfony/http-kernel Version ^4.4|^5.0
The package heimrichhannot/contao-versions contains the following files
Loading the files please wait ....