PHPackages                             notify/notification - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. notify/notification

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

notify/notification
===================

this is private package to use for logging and emailing to developer and client

03251PHP

Since Apr 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Tameem-Ahmad-com/logger)[ Packagist](https://packagist.org/packages/notify/notification)[ RSS](/packages/notify-notification/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Laravel Custom Log &amp; Notifications
======================================

[](#laravel-custom-log--notifications)

🚀 **Laravel Custom Log &amp; Notifications** is a robust logging and notification library designed for Laravel applications, offering seamless handling of exceptions and automatic error reporting.

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

[](#installation)

1. **Install the Package:** Use Composer to install the package:

    ```
    composer require notify/notification:"dev-main"
    ```
2. **Install AWS SES Package:** Use Composer to install the package:

    ```
    composer require aws/aws-sdk-php
    ```
3. **Publish Configuration:** Publish the configuration file:

    ```
    php artisan vendor:publish --provider="Notify\\LaravelCustomLog\\LaravelCustomLogServiceProvider" --tag=config
    ```
4. **Publish MySQL Migration:** Publish the MySQL migration file:

    ```
    php artisan vendor:publish --provider="Notify\\LaravelCustomLog\\LaravelCustomLogServiceProvider" --tag=migration
    ```

Configuration Options
---------------------

[](#configuration-options)

Configure the behavior of the package in the `config/custom-log.php` file. Here's a breakdown of the available options:

- 🛠️ `dev-mode`: Enable/disable development mode.
- 🛠️ `custom_log_mysql_enable`: Enable/disable logging to a MySQL database.
- 🛠️ `mysql_table`: Define the table name for logging in the MySQL database.
- 🛠️ `override_exception_handler`: Override the default Laravel exception handler.
- 📧 `emails`: Configure email settings for error reports.
- 📧 `pm-emails`: Specify project manager email addresses.
- 📧 `dev-emails`: Specify developer email addresses for notifications.
- ⚠️ `ignore_exceptions`: Specify exceptions and error codes to ignore.
- 💾 `database_connection`: Define the database connection for logging.

### SMTP/AWS SES Configuration

[](#smtpaws-ses-configuration)

To use AWS SES for email notifications, configure the following environment variables in your `.env` file:

```
MAIL_MAILER=ses
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=
```

Example to handle the exception internally
------------------------------------------

[](#example-to-handle-the-exception-internally)

Disable the exception override in `custom-log.php` and use your own logic in `Exceptions/Handler.php`.

The below example is handling all the database exception and ignore them to log

```
public function register()
{
    $this->reportable(function (Throwable $e) {
        if ($e instanceof QueryException) {
           return;
        }
        Notifications::error('exceptions', $e->getMessage(), $e->getTrace());
    });
}
```

Once installed and configured, Laravel Custom Log &amp; Notifications will handle exception reporting and notifications automatically according to your configuration settings.

👍 Happy logging and notifying with Laravel Custom Log &amp; Notifications!

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 98% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/52a9a7804810a64ddeaa5911d971c299136dd8ea84fc45e0d04777d06eb236f0?d=identicon)[Tameem-Ahmad-com](/maintainers/Tameem-Ahmad-com)

---

Top Contributors

[![Tameem-Ahmad-com](https://avatars.githubusercontent.com/u/86846157?v=4)](https://github.com/Tameem-Ahmad-com "Tameem-Ahmad-com (146 commits)")[![tameemahmad](https://avatars.githubusercontent.com/u/64251041?v=4)](https://github.com/tameemahmad "tameemahmad (3 commits)")

---

Tags

error-monitoringerror-reportinglaravellaravel-packageloggerlogging

### Embed Badge

![Health badge](/badges/notify-notification/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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