Download the PHP package inpsyde/search-and-replace without Composer

On this page you can find all versions of the php package inpsyde/search-and-replace. 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 search-and-replace

Search & Replace

UNMAINTAINED

Note: This version of the plugin is not maintained anymore.

Description:

With Search & Replace you can search for everything and replace this with everything but before you do this you can easily create a simple database backup and restore it.

We have implemented special features!

The first one is "Replace a Domain / URL" that is useful for a quick and simple transfer or a migration of a WordPress site. The second feature is full support for serialized data. There are a lot more features - check them out! :-)

Our goal with this plugin is to give you a good solution for manipulating your data for both Developers and Users of WordPress.

Note: This plugin requires PHP 5.6 or higher to be activated.

Features

Translations

Get a translation, your language from the WordPress repository and/or contribute your own language

Requirements:

PHP 5.6 + WordPress 4.x (might work with 3.x, but not tested yet)

Installation

  1. Unpack the download package.
  2. Upload the files to the /wp-content/plugins/ directory.
  3. Activate the plugin in WordPress backend.

Usage

Go to Tools -> Search & Replace to view the plugin's user interface.

screenshot-6

Backup Database tab

Urgent: Backup your database!

Please always backup your database before performing search/replace operations.

For avoiding problem please keep in mind that this plugin search and replace strictly what is specified in "Replace With".

Common error example:

Search For: http://web.com/wordpress/

Replace With: http://neuweb.com/wordpress

The url become something like: http://neuweb.com/wordpresscontent/...

Correct "Replace with":

Search For: http://web.com/wordpress/

Replace With: http://neuweb.com/wordpress/

The url become something like: http://neuweb.com/wordpress/content/...

Multisite usage:

If you are running a WordPress multisite and want to export the tables of all sites, run the plugin on the main site. Using the plugin on a subsite will only backup the tables of that subsite.

screenshot-4

Replace Domain/URL Tab

If you want to migrate your site to another domain, please enter here your new domain URL, then download a sql file with the replaced URLs. Import this file into the database of your WordPress installation on your new domain.

Please enter the new domain name including "http://" or "https://", as shown in the 'search' field.

If you want to replace the database-prefix, check the checkbox "replace database prefix" and enter your new prefix in the filed below. Don't forget to set the new prefix in the wp-config.php of your new installation!

Press Replace Domain URL button to download your SQL file for migration.

Multisite usage: If you are running multisite and want to migrate the tables of all sites, run the plugin on the main site. Using the plugin on a subsite will only migrate the tables of that subsite. The plugin will also replace the domain names (without http(s)://) in the wp_blogs table.

screenshot-2

Search and Replace Tab

Please backup your database before any search/replace!

Enter your search/replace values and select the tables you want to search. Click on "Do search/replace" to start the operation. By default, the checkbox "Dry run" is checked. In "dry run"- mode, you get a detailed preview of the changes. No changes will be written to the database. Please check always with "dry run" first. If you want to apply the changes, uncheck the "dry run"-button, choose if you want to download a sql dump with the changes, or write them into the database. Then click "do search/replace" again.

Multisite usage:

If you are running multisite and want to search the tables of all sites, run the plugin on the main site. Using the plugin on a subsite will only show the tables for that subsite.

screenshot-1

Import SQL tab

Import a SQL file or a gzipped SQL file into your database here. This may delete or change existing tables in your database. Please backup your database before doing this!

screenshot-3

License

Good news, this plugin is free for everyone! Since it's released under the GNU General Public License v2+ (or later), you can use it free of charge on your personal or commercial blog.


All versions of search-and-replace with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
ext-zlib Version *
ext-mysqli 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 inpsyde/search-and-replace contains the following files

Loading the files please wait ....