PHPackages                             bidhan/laravel-db-manager - 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. bidhan/laravel-db-manager

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

bidhan/laravel-db-manager
=========================

Advance Laravel Database Manager

v1.0.0(1y ago)111MITBladePHP ^8.0

Since Jun 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bidhan948/Laravel-DB-Schema-Manager)[ Packagist](https://packagist.org/packages/bidhan/laravel-db-manager)[ RSS](/packages/bidhan-laravel-db-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel DB Schema Manager 📊🔧
============================

[](#laravel-db-schema-manager-)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bbbfa127d5386b182396fa6e11aed08d3812adaa678727c736428555676c589c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62696468616e2f6c61726176656c2d64622d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bidhan/laravel-db-manager)[![Total Downloads](https://camo.githubusercontent.com/8ff3aeac140902347596a55f1ec1adfcd3efcb3f63faeacb0e96cd38d6a793b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62696468616e2f6c61726176656c2d64622d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bidhan/laravel-db-manager)[![License](https://camo.githubusercontent.com/391ad1e016869d53004eee3390f1da753d909afe11c92a02edc71a59731e2fd8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f62696468616e2f6c61726176656c2d64622d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bidhan/laravel-db-manager)

Advance Laravel Database Manager for managing your database schemas with ease. 🚀

Installation 📦
--------------

[](#installation-)

You can install the package via Composer:

```
composer require bidhan/laravel-db-manager
```

To copy the command, click on the code block above, select the text, and copy it.

Usage 🛠️
--------

[](#usage-️)

### Service Provider

[](#service-provider)

The package will automatically register the service provider. If you need to register it manually, add the service provider to the `providers` array in `config/app.php`:

```
'providers' => [
    // Other Service Providers

    Bidhan\Bhadhan\BidhanDBManagerServiceProvider::class,
],
```

### Configuration

[](#configuration)

You can publish the configuration file with:

```
php artisan vendor:publish --provider="Bidhan\Bhadhan\BidhanDBManagerServiceProvider" --tag="config"
```

### Example

[](#example)

Here is an example of how to use the package:

```
GOTO bhadhan/dashboard URI To Preview Dashboard
```

### Advanced Usage

[](#advanced-usage)

#### Get All Database Tables

[](#get-all-database-tables)

```
use Bidhan\Bhadhan\Services\BhadhanDBManagerService\BhadhanDBManagerService;

$allTables = (new BhadhanDBManagerService())->getAllDbTables();
```

#### Get Primary Key of a Table

[](#get-primary-key-of-a-table)

```
use Bidhan\Bhadhan\Services\BhadhanDBManagerService\BhadhanDBManagerService;

$primaryKey = (new BhadhanDBManagerService())->getPrimaryKey('tableName');
```

#### Get Foreign Keys

[](#get-foreign-keys)

```
use Bidhan\Bhadhan\Services\BhadhanDBManagerService\BhadhanDBManagerService;

$foreignKeys = (new BhadhanDBManagerService())->getForeignKeys();
```

#### Get All Tables with Size

[](#get-all-tables-with-size)

```
use Bidhan\Bhadhan\Services\BhadhanDBManagerService\BhadhanDBManagerService;

$tablesWithSize = (new BhadhanDBManagerService())->getAllTableWithSize();
```

#### Get Current Schema Size

[](#get-current-schema-size)

```
use Bidhan\Bhadhan\Services\BhadhanDBManagerService\BhadhanDBManagerService;

$schemaSize = (new BhadhanDBManagerService())->getCurrentSchemaSize();
```

#### Get All Database Views

[](#get-all-database-views)

```
use Bidhan\Bhadhan\Services\BhadhanDBManagerService\BhadhanDBManagerService;

$allViews = (new BhadhanDBManagerService())->getAllDBViews();
```

Middleware Configuration
------------------------

[](#middleware-configuration)

If you want to use middleware with this package, feel free to change the `bhadhan.php` configuration file. Locate the `auth_middleware` key and add your middleware inside the array.

```
return [
    // Other configuration settings

    'auth_middleware' => [
        // Add your middleware here
    ],

    // Other configuration settings
];
```

Features ✨
----------

[](#features-)

- Create and manage database schemas effortlessly.
- Simple and intuitive API.
- Supports all major Laravel database features.

License 📝
---------

[](#license-)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Contributors ✨
--------------

[](#contributors-)

Thanks to the following people who have contributed to this project:

- [Bidhan Baniya](https://github.com/bidhan948) - Creator

Issues and Contributions 🐛
--------------------------

[](#issues-and-contributions-)

If you encounter any issues, feel free to open an issue on GitHub. Contributions are welcome and appreciated! 🎉

Support 🙌
---------

[](#support-)

If you like this package, consider giving it a star ⭐ on GitHub and sharing it with your friends!

---

Made with ❤️ by [Bidhan Baniya](https://github.com/bidhan948)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

702d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7dd2da538d7447d2dffd449a27d6082aa0f357beaf7c1e38cb0485079ad19d85?d=identicon)[bidhan948](/maintainers/bidhan948)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/bidhan-laravel-db-manager/health.svg)

```
[![Health](https://phpackages.com/badges/bidhan-laravel-db-manager/health.svg)](https://phpackages.com/packages/bidhan-laravel-db-manager)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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