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

ActiveLibrary

tschallacka/storm-database
==========================

The WinterCMS Storm library but only the database features

v1.2.7(4y ago)12511MITPHP

Since Jul 1Pushed 4y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (17)Versions (10)Used By (1)

Storm Database Library
----------------------

[](#storm-database-library)

This is a individual fork of the [Storm Library](https://github.com/wintercms/storm) for WinterCMS that adds solely the database features and removes the rest of the features that that library offers.

This way you can have a lean library for snazzy database models in independent projects, without needing all the other wintercms dependent features that the storm library offers.

For documentation refer to \[\]

To test this library run composer test.

If you wish to contribute consider contributing to the winter storm library.

Currently this uses a branch for migrating to laravel 8 in a newer version, but this will follow the main branch when laravel 8 integration is achieved.

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

[](#installation)

```
composer require tschallacka/storm-database
```

Usage
-----

[](#usage)

Somewhere in your application boot up or at the location where you wish to use it, you'll most likely need to initialize the Eloquent connection manager. You can use something like the snippet below.

```
$db_conf = require('path/to/config/database.php');
$manager = new \Winter\Storm\Database\Capsule\Manager();
foreach($db_conf as $name => $config)
{
    $manager->addConnection($config, $name);
}
$manager->bootEloquent();
```

Use the [WinterCMS documentation](https://wintercms.com/docs/database/basics#configuration) to see which configuration details are accepted, or review the [Laravel documentation](https://laravel.com/docs/4.2/database#configuration)

Contributing
------------

[](#contributing)

Run the command composer update-from-source to update the files from the source.
Currently it pulls from my private branch on [https://github.com/tschallacka/storm/tree/remove\_helper\_calls](https://github.com/tschallacka/storm/tree/remove_helper_calls)

Feel free to modify bin/sync.sh to suit your needs.

Libraries using this to inject Eloquent in non Eloquent frameworks
------------------------------------------------------------------

[](#libraries-using-this-to-inject-eloquent-in-non-eloquent-frameworks)

### Magento

[](#magento)

[Mage Storm](https://github.com/tschallacka/mage-storm)Registers as a plugin within Magento 2.4 and then reads the app/etc/env.php file to glean the communication details so easy Eloquent access is possible within Magento 2.4

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

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 ~32 days

Total

8

Last Release

1551d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b6652e857f4147b3528f5cab7ba1e923ca893221bc67ac1ebc5574555cae7fe?d=identicon)[Tschallacka](/maintainers/Tschallacka)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel/lumen-framework

The Laravel Lumen Framework.

1.5k26.2M709](/packages/laravel-lumen-framework)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[themosis/framework

The Themosis framework.

676307.9k18](/packages/themosis-framework)

PHPackages © 2026

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