PHPackages                             arkadiusjonczek/laravel-command-dbcreate - 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. arkadiusjonczek/laravel-command-dbcreate

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

arkadiusjonczek/laravel-command-dbcreate
========================================

MySQL Database Create Command for Laravel.

1.0.1(6y ago)0646PHP

Since Feb 9Pushed 6y ago1 watchersCompare

[ Source](https://github.com/arkadiusjonczek/laravel-command-dbcreate)[ Packagist](https://packagist.org/packages/arkadiusjonczek/laravel-command-dbcreate)[ RSS](/packages/arkadiusjonczek-laravel-command-dbcreate/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (3)Used By (0)

laravel-command-dbcreate
========================

[](#laravel-command-dbcreate)

Simple Laravel Command for your project to create the mysql database with artisan.

Install
-------

[](#install)

In your laravel project require the composer package with:

```
composer require arkadiusjonczek/laravel-command-dbcreate
```

After that the command will automatically be registered in your laravel project.

Usage
-----

[](#usage)

Run the command:

```
php artisan db:create
```

Make sure you have configured your database!

Laravel Artisan Docker workaround
---------------------------------

[](#laravel-artisan-docker-workaround)

If you use docker for your local development your database configuration in your .env might look like this:

```
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=databasename
DB_USERNAME=root
DB_PASSWORD=password

```

If you want to use artisan you have to go into your docker container.

But you can add the following lines at the top of your app/database.php file:

```
if (php_sapi_name() == 'cli' && getenv('APP_ENV') == 'local') {
    putenv('DB_HOST=127.0.0.1');
}
```

Now you can use artisan on your local machine without breaking your docker environment.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~280 days

Total

2

Last Release

2369d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/afbfb9c15539476c8eec7895f29ec878ff3e8a137cef71506f2f900d8c6327cf?d=identicon)[arkadiusjonczek](/maintainers/arkadiusjonczek)

---

Top Contributors

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

---

Tags

commanddatabaselaravelmysqlphp

### Embed Badge

![Health badge](/badges/arkadiusjonczek-laravel-command-dbcreate/health.svg)

```
[![Health](https://phpackages.com/badges/arkadiusjonczek-laravel-command-dbcreate/health.svg)](https://phpackages.com/packages/arkadiusjonczek-laravel-command-dbcreate)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[overtrue/laravel-versionable

Make Laravel model versionable.

585308.0k5](/packages/overtrue-laravel-versionable)[abbasudo/laravel-purity

elegant way to add filter and sort in laravel

514330.5k1](/packages/abbasudo-laravel-purity)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[dragon-code/laravel-deploy-operations

Performing any actions during the deployment process

240173.5k2](/packages/dragon-code-laravel-deploy-operations)[stayallive/laravel-eloquent-observable

Register Eloquent model event listeners just-in-time directly from the model.

2928.9k7](/packages/stayallive-laravel-eloquent-observable)

PHPackages © 2026

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