PHPackages                             saifur/dbhelper - 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. saifur/dbhelper

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

saifur/dbhelper
===============

This a package all about DB helper

v1.0.1(2y ago)03MITJavaScriptPHP ^7.3.11|^8.0

Since Jul 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/saifurrahman1193/saifur-dbhelper)[ Packagist](https://packagist.org/packages/saifur/dbhelper)[ RSS](/packages/saifur-dbhelper/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Saifur-DBHelper
===============

[](#saifur-dbhelper)

A DB Helper providing features like DB backup

[![Total Downloads](https://camo.githubusercontent.com/5a3a3d43e367432d5d21f102a281f3f9b93253be7108cf3e769a88d29197c152/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7361696675722f646268656c706572)](https://packagist.org/packages/saifur/dbhelper)[![Latest Stable Version](https://camo.githubusercontent.com/f97d3b91f73826b02fab52bb490883cb092df7f3647fba2a9a0ee55aa69698aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7361696675722f646268656c706572)](https://packagist.org/packages/saifur/dbhelper)[![License](https://camo.githubusercontent.com/341c4b0cd6f0e61a46b7009120312cedb7a855596b9f6cf4c355cfa8f959430d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7361696675722f646268656c706572)](https://packagist.org/packages/saifur/dbhelper)

Contents
--------

[](#contents)

- [Saifur-DBHelper](#saifur-dbhelper)
    - [Contents](#contents)
    - [Documentation, Installation, and Usage Instructions](#documentation-installation-and-usage-instructions)
        - [Commands](#commands)
        - [API](#api)
            - [Request: Server DB Full Backup](#request-server-db-full-backup)
            - [Request: Server DB Structure Backup](#request-server-db-structure-backup)
            - [Request: Server DB Data Backup](#request-server-db-data-backup)
            - [Request: Server DB Status](#request-server-db-status)
    - [Contributor](#contributor)
    - [Alternatives](#alternatives)
    - [License](#license)

Documentation, Installation, and Usage Instructions
---------------------------------------------------

[](#documentation-installation-and-usage-instructions)

This package allows you to manage your logs.

Once installed you can do stuff like this:

### Commands

[](#commands)

```
composer require saifur/dbhelper
composer dump-autoload
php artisan vendor:publish --tag=public --force

```

### API

[](#api)

#### Request: Server DB Full Backup

[](#request-server-db-full-backup)

- Method: POST
- URL: `http://localhost:8001/saifur/db-helper/db-backup/server-db-full-backup`
- Headers:
    - Authorization: Bearer &lt;your\_token&gt;
    - Content-Type: application/json
- Body:
    - form-data: KeyValueexcept\_tables\[0\]activity\_logexcept\_tables\[1\]audit\_trailtable\_rules\[0\]\[table\_name\]audit\_trailtable\_rules\[0\]\[row\_limit\]100table\_rules\[0\]\[order\_by\]idtable\_rules\[0\]\[order\_type\]DESCtable\_rules\[1\]\[table\_name\]activity\_logtable\_rules\[1\]\[row\_limit\]100table\_rules\[1\]\[order\_by\]idtable\_rules\[1\]\[order\_type\]DESC

#### Request: Server DB Structure Backup

[](#request-server-db-structure-backup)

- Method: POST
- URL: `http://localhost:8001/saifur/db-helper/db-backup/server-db-structure-backup`
- Headers:
    - Authorization: Bearer &lt;your\_token&gt;
    - Content-Type: application/json

#### Request: Server DB Data Backup

[](#request-server-db-data-backup)

- Method: POST
- URL: `http://localhost:8001/saifur/db-helper/db-backup/server-db-data-backup`
- Headers:
    - Authorization: Bearer &lt;your\_token&gt;
    - Content-Type: application/json
- Body:
    - form-data:
        - except\_tables\[0\]: activity\_log
        - except\_tables\[1\]: audit\_trail
        - table\_rules\[0\]\[table\_name\]: audit\_trail
        - table\_rules\[0\]\[row\_limit\]: 100
        - table\_rules\[0\]\[order\_by\]: id
        - table\_rules\[0\]\[order\_type\]: DESC
        - table\_rules\[1\]\[table\_name\]: activity\_log
        - table\_rules\[1\]\[row\_limit\]: 100
        - table\_rules\[1\]\[order\_by\]: id
        - table\_rules\[1\]\[order\_type\]: DESC

#### Request: Server DB Status

[](#request-server-db-status)

- Method: POST
- URL: `http://localhost:8001/saifur/db-helper/db-backup/server-db-status`
- Headers:
    - Authorization: Bearer &lt;your\_token&gt;
    - Content-Type: application/json
- Body:
    - form-data:
        - view: html

Contributor
-----------

[](#contributor)

- Md. Saifur Rahman

[![Portfolio](https://camo.githubusercontent.com/6848159e21f9df7bc7ed5850479891d0471f7453b2e79bec36a963a5120275c2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f7274666f6c696f2d2532333030393633392e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d48797065726c6564676572266c6f676f436f6c6f723d7768697465)](https://saifurrahman.my.canva.site)[![CV](https://camo.githubusercontent.com/efc8a9138251424d2b85358c70ed4fe636ecd537517b0288e9001bc37266b85e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f43562d2532333030393633392e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d446f63755369676e266c6f676f436f6c6f723d7768697465)](https://docs.google.com/document/d/1txBCiMjPqH7GR8FDMQMAw09vemsB-nJb/edit?usp=sharing&ouid=113622980255867007734&rtpof=true&sd=true)[![LinkedIn](https://camo.githubusercontent.com/85149c8ec5795f673be4768efe3593ff2888b254e504dc89b2c03cfd34269769/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c696e6b6564696e2d2532333030373742352e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d6c696e6b6564696e266c6f676f436f6c6f723d7768697465)](https://www.linkedin.com/in/saifurrahman1193/)[![GitHub](https://camo.githubusercontent.com/800bad6e848cfe326ea2f1606bc3e7ab04aff9c1008e73c48b39a34a156c7f92/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6769746875622d2532333132313031312e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6f676f436f6c6f723d7768697465)](https://github.com/saifurrahman1193/saifurrahman1193)[![Stack Overflow](https://camo.githubusercontent.com/8b1397012cdf1b6ded040acbcdd89a7fe4c23c2ec13c8df879c25c62e6aaa949/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d537461636b6f766572666c6f772d4645374131363f7374796c653d666f722d7468652d6261646765266c6f676f3d737461636b2d6f766572666c6f77266c6f676f436f6c6f723d7768697465)](https://stackoverflow.com/users/14350717/md-saifur-rahman)[![Hackerrank](https://camo.githubusercontent.com/080f984d6660fb8f4088a2e83accbda5c795a789043e948db41f314f7f1ae9d1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4861636b657272616e6b2d3245433836363f7374796c653d666f722d7468652d6261646765266c6f676f3d4861636b657252616e6b266c6f676f436f6c6f723d7768697465)](https://www.hackerrank.com/saifur_rahman111)[![Beecrowd](https://camo.githubusercontent.com/87f9ab2b83e5d7142dca50be2106ba67e7615b91b4a810f3ed58d83970f4c94b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f42656563726f77642d2532333030393633392e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d42756763726f7764266c6f676f436f6c6f723d7768697465)](https://www.beecrowd.com.br/judge/en/profile/18847)[![LeetCode](https://camo.githubusercontent.com/bfcc615dafb298fca05c990b0b98e5a5f1f4df05454f074830446f699f6dd6bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c656574436f64652d3030303030303f7374796c653d666f722d7468652d6261646765266c6f676f3d4c656574436f6465266c6f676f436f6c6f723d23643136633036)](https://leetcode.com/saifurrahman1193)[![YouTube](https://camo.githubusercontent.com/416d056cb68c516213474d983f37d52df4f7c9690ae50a1d3e27307153b46a4d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f596f75547562652d2532334646303030302e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d596f7554756265266c6f676f436f6c6f723d7768697465)](https://www.youtube.com/playlist?list=PLwJWgDKTF5-xdQttKl7cRx8Yhukv7Ilmg)Alternatives
------------

[](#alternatives)

License
-------

[](#license)

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

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~0 days

Total

2

Last Release

1094d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42322228?v=4)[Mohammad Saifur Rahman](/maintainers/saifurrahman1193)[@saifurrahman1193](https://github.com/saifurrahman1193)

---

Top Contributors

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

---

Tags

laravelDB Helperdb-backupdb-structure-backupdb-data-backupdb-full-backupdb-full-backup-zipdb-table-structure-backupdb-view-structure-backupdb-procedure-structure-backupdb-function-structure-backup

### Embed Badge

![Health badge](/badges/saifur-dbhelper/health.svg)

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

###  Alternatives

[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

400396.7k5](/packages/rtconner-laravel-likeable)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121137.5k](/packages/highsolutions-eloquent-sequence)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

42205.7k](/packages/cybercog-laravel-nova-ban)[cubettech/lacassa

Cassandra based query builder for laravel.

358.6k](/packages/cubettech-lacassa)[phaza/single-table-inheritance

Single Table Inheritance Trait

1515.8k](/packages/phaza-single-table-inheritance)

PHPackages © 2026

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