PHPackages                             xelyos94ro/database - 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. xelyos94ro/database

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

xelyos94ro/database
===================

Database package for laravel

0.1(5y ago)02MITPHP

Since Jul 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/xelyos94ro/database)[ Packagist](https://packagist.org/packages/xelyos94ro/database)[ RSS](/packages/xelyos94ro-database/feed)WikiDiscussions master Synced 1w ago

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

Xelyos Database - for Laravel
=============================

[](#xelyos-database---for-laravel)

Requirements
------------

[](#requirements)

```
- PHP 7.4
- Laravel 6/7

```

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require xelyos94ro/database
```

Purpose
-------

[](#purpose)

In laravel, before you use migrate command you must have a database. This package help you to create one with no effort.

Here's how you can use it:

```
use Xelyos\Database\Facade\XelyosDatabase;

// If no parameter will be specified, will use the default value from ENV file
XelyosDatabase::checkDatabaseExist();
XelyosDatabase::checkDatabaseExist($nameOfDatabase);
// Create database (if database exist, another database will not be created)
XelyosDatabase::createDatabase();
XelyosDatabase::createDatabase($nameOfDatabase);
```

This is very usefull for new projects. Just use console command to create database.

```
// This will generate the database
php artisan xelyos:database:create
// And now you can use migrate
php artisan migrate

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

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

2146d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39236438?v=4)[xelyos](/maintainers/xelyos94ro)[@xelyos94ro](https://github.com/xelyos94ro)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/xelyos94ro-database/health.svg)

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

###  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)
