PHPackages                             harrykdeveloper/wordpress-change-urls-db - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. harrykdeveloper/wordpress-change-urls-db

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

harrykdeveloper/wordpress-change-urls-db
========================================

Wordpress change urls in the Database during migration of old domain to new domain.

1.0.2(6y ago)05GPLPHPPHP &gt;=7.0

Since May 1Pushed 6y ago1 watchersCompare

[ Source](https://github.com/harrykdeveloper/wordpress-change-urls-db)[ Packagist](https://packagist.org/packages/harrykdeveloper/wordpress-change-urls-db)[ RSS](/packages/harrykdeveloper-wordpress-change-urls-db/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

Wordpress Change Urls(domain name) in Database without Plugin.
==============================================================

[](#wordpress-change-urlsdomain-name-in-database-without-plugin)

Example Usage:
--------------

[](#example-usage)

include the script on the page and execute the URL from browser and remove the code after URL updates.

```
include_once __DIR__.'/vendor/autoload.php';

use harrykdeveloper\Wordpress\DbMigration;

(new DbMigration())->setOptions([
    'db_name' => 'wordpress',
    'db_user' => 'root',
    'db_pass' => 'root',
    'db_host' => 'localhost:3308',
    'db_tables_prefix' => 'wp_',
    'old_domain' => 'http://localhost/oldurl',
    'new_domain' => 'http://localhost/newurl',
])->migrate();

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2208d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31903f295b2c5f19a146b35ccf2bbea03588143573bebf572ddacbe05d46d96b?d=identicon)[harryk.developer](/maintainers/harryk.developer)

---

Top Contributors

[![harrykdeveloper](https://avatars.githubusercontent.com/u/13019984?v=4)](https://github.com/harrykdeveloper "harrykdeveloper (9 commits)")

---

Tags

wordpresswordpress change urlsmigrate urls

### Embed Badge

![Health badge](/badges/harrykdeveloper-wordpress-change-urls-db/health.svg)

```
[![Health](https://phpackages.com/badges/harrykdeveloper-wordpress-change-urls-db/health.svg)](https://phpackages.com/packages/harrykdeveloper-wordpress-change-urls-db)
```

###  Alternatives

[tgmpa/tgm-plugin-activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).

1.8k222.5k13](/packages/tgmpa-tgm-plugin-activation)[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[justintadlock/hybrid-carbon

God-like post featured image script.

202.5k](/packages/justintadlock-hybrid-carbon)[typisttech/wp-admin-notices

A simplified OOP implementation of the WordPress admin notices

141.2k](/packages/typisttech-wp-admin-notices)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
