PHPackages                             teepluss/monosql - 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. teepluss/monosql

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

teepluss/monosql
================

Laravel 4 MySQL driver for Monolog

v0.1(12y ago)43.4k4[1 issues](https://github.com/teepluss/laravel4-monosql/issues)MITPHPPHP &gt;=5.3.0

Since Mar 14Pushed 11y ago1 watchersCompare

[ Source](https://github.com/teepluss/laravel4-monosql)[ Packagist](https://packagist.org/packages/teepluss/monosql)[ Docs](https://github.com/teepluss/laravel4-monosql)[ RSS](/packages/teepluss-monosql/feed)WikiDiscussions master Synced 3d ago

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

Laravel Monolog MySQL Handler.
------------------------------

[](#laravel-monolog-mysql-handler)

MySQL driver for Laravel Monolog.

### Installation

[](#installation)

- [MonoSQL on Packagist](https://packagist.org/packages/teepluss/monosql)
- [MonoSQL on GitHub](https://github.com/teepluss/laravel4-monosql)

To get the lastest version of Theme simply require it in your `composer.json` file.

```
"teepluss/monosql": "dev-master"

```

You'll then need to run `composer install` to download it and have the autoloader updated.

Once MonoSQL is installed you need to register the service provider with the application. Open up `app/config/app.php` and find the `providers` key.

```
'providers' => array(

    'Teepluss\Monosql\MonosqlServiceProvider'

)

```

Publish config using artisan CLI.

```
php artisan config:publish teepluss/monosql

```

Migrate tables.

```
php artisan migrate --package=teepluss/monosql

```

Usage
-----

[](#usage)

File: /app/start/global.php

```
//Log::useDailyFiles(storage_path().'/logs/'.$logFile);
Log::getMonolog()->pushHandler(new Teepluss\Monosql\MySQLHandler(DB::connection()));
```

That's it!

Support or Contact
------------------

[](#support-or-contact)

If you have some problem, Contact

[![Support via PayPal](https://camo.githubusercontent.com/1c4c2a63b268ab949717893dda9628735444f61b8eb8eece283a534338b5b0e5/68747470733a2f2f7261776769746875622e636f6d2f63687269732d2d2d2f446f6e6174696f6e2d4261646765732f6d61737465722f70617970616c2e6a706567)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9GEC8J7FAG6JA)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

4445d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98f73b54567183f49c41533fc0c05cfffccdf5ed4f0351e3065d62d14779d26f?d=identicon)[teepluss](/maintainers/teepluss)

---

Tags

loglaravelmysqllaravel4monolog

### Embed Badge

![Health badge](/badges/teepluss-monosql/health.svg)

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

###  Alternatives

[wazaari/monolog-mysql

A handler for Monolog that sends messages to MySQL

140884.1k6](/packages/wazaari-monolog-mysql)[markhilton/monolog-mysql

Laravel 8 MySQL driver for Monolog

40140.8k](/packages/markhilton-monolog-mysql)[itelmenko/laravel-mysql-logger

Laravel MySQL driver for Monolog

21141.9k](/packages/itelmenko-laravel-mysql-logger)[bradmkjr/monolog-wordpress

A handler for Monolog that sends messages to MySQL via WordPress Functions

2817.1k](/packages/bradmkjr-monolog-wordpress)[addapp/laravel-query-log

Logs full mysql queries.

135.4k](/packages/addapp-laravel-query-log)

PHPackages © 2026

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