Download the PHP package inspiredminds/contao-search-and-replace without Composer
On this page you can find all versions of the php package inspiredminds/contao-search-and-replace. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download inspiredminds/contao-search-and-replace
More information about inspiredminds/contao-search-and-replace
Files in inspiredminds/contao-search-and-replace
Package contao-search-and-replace
Short Description Search and replace strings in the database.
License LGPL-3.0-or-later
Homepage https://github.com/inspiredminds/contao-search-and-replace
Informations about the package contao-search-and-replace
Contao Search & Replace
Allows you to search the database for a specific string and replace the occurences with another. You can also specify individual records to be replaced.
Before the strings are replaced in the database, a backup (via Contao's database backup functionality) will be created automatically. Keep in mind that Contao only keeps one backup of the same day by default.
Configuration
Default Tables
When going to Search & Replace in the back end, only the table tl_content
will be selected by default. If you want
other tables to be selected by default, you can change this via the contao_search_and_replace.default_tables
parameter:
Ignored Tables
Some tables will not show up in the list of tables by default. You can change the list of tables to ignore via the
contao_search_and_replace.ignored_tables
parameter:
Asynchronous Operation
This extension supports asynchronous operation via Symfony Messenger - which will be important for large databases.
Contao 5.3+
In Contao 5.3 and up you will only need to route the messages manually:
You need to make sure though that a proper contao:cron
cronjob is configured.
Contao 4.13
In Contao 4.13 you will also have to create a messenger transport, e.g.:
If you use such a doctrine://
messenger transport you will also have to install symfony/doctrine-messenger
:
Then you have to consume the messages somehow via
e.g. via a crontab
entry like this:
All versions of contao-search-and-replace with dependencies
contao/core-bundle Version ^4.13 || ^5.0
inspiredminds/contao-backend-forms Version ^1.0
symfony/dependency-injection Version ^5.4 || ^6.4 || ^7.1
symfony/event-dispatcher Version ^5.4 || ^6.4 || ^7.1
symfony/http-foundation Version ^5.4 || ^6.4 || ^7.1
symfony/http-kernel Version ^5.4 || ^6.4 || ^7.1
symfony/messenger Version ^5.4 || ^6.4 || ^7.1