PHPackages                             javimanga/initdb - 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. [Database &amp; ORM](/categories/database)
4. /
5. javimanga/initdb

ActiveLibrary[Database &amp; ORM](/categories/database)

javimanga/initdb
================

Package that helps with a series of commands to create, delete, and clone a database.

170PHP

Since Dec 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Ki11Z0n3/initdb)[ Packagist](https://packagist.org/packages/javimanga/initdb)[ RSS](/packages/javimanga-initdb/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

**InitDB**
----------

[](#initdb)

Package that helps with a series of commands to create, delete, and clone a database.

Install InitDB:

```
$ composer require javimanga/initdb

```

Add line to config/app.php:

```
JaviManga\InitDB\InitDBServiceProvider::class

```

**Commands**
------------

[](#commands)

Create database with name of .env, if you pass parameter {seed} it will also insert the seeders:

```
$ php artisan database:init {seed?}

```

Create database, if no parameter {name} is passed it will create the database from the .env file:

```
$ php artisan database:create {name?}

```

Delete database, if no parameter {name} is passed it will delete the database from the .env file:

```
$ php artisan database:drop {name?}

```

Clone the database of the .env file with the name of the parameter {new\_name}:

```
$ php artisan database:clone {new_name?}

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44033108?v=4)[Javier Manga](/maintainers/Ki11Z0n3)[@Ki11Z0n3](https://github.com/Ki11Z0n3)

### Embed Badge

![Health badge](/badges/javimanga-initdb/health.svg)

```
[![Health](https://phpackages.com/badges/javimanga-initdb/health.svg)](https://phpackages.com/packages/javimanga-initdb)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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