Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sarfraznawaz2005/lognotify
Laravel package to automatically show notifications in real-time whenever there is new log entry made anywhere in application.
https://github.com/sarfraznawaz2005/lognotify
laravel laravel-package log logging notifications php
Last synced: 3 months ago
JSON representation
Laravel package to automatically show notifications in real-time whenever there is new log entry made anywhere in application.
- Host: GitHub
- URL: https://github.com/sarfraznawaz2005/lognotify
- Owner: sarfraznawaz2005
- License: mit
- Created: 2018-08-19T13:06:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-19T14:20:58.000Z (over 6 years ago)
- Last Synced: 2024-10-11T20:14:28.071Z (3 months ago)
- Topics: laravel, laravel-package, log, logging, notifications, php
- Language: PHP
- Size: 23.4 KB
- Stars: 24
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Total Downloads][ico-downloads]][link-downloads]# Laravel LogNotify
Laravel package to automatically show notifications in real-time whenever there is new log entry made anywhere in application.
## Screenshot
![Main Window](https://github.com/sarfraznawaz2005/lognotify/blob/master/screen.jpg?raw=true)
## Requirements
- PHP >= 5.6
- Laravel 5## Installation
Via Composer
``` bash
$ composer require sarfraznawaz2005/lognotify
```For Laravel < 5.5:
Add Service Provider to `config/app.php` in `providers` section
```php
Sarfraznawaz2005\LogNotify\LogNotifyServiceProvider::class,
```---
Publish package's config file by running below command:
```bash
$ php artisan vendor:publish --provider="Sarfraznawaz2005\LogNotify\LogNotifyServiceProvider"
```
It should publish `config/lognotify.php` config file.## Usage
Add this in your app layout file/footer:
```php
@include('logNotify::view')
```And then start socket server by issuing following command:
```bash
$ php artisan lognotify:serve
```Now whenever new entry is made in laravel log file, you will see popup notification at bottom right of your application.
## Customizing Notifications
You can customize notifications ui by modifying published file at `resources/views/vendor/logNotify/view.blade.php`
## Credits
- [Sarfraz Ahmed][link-author]
- [All Contributors][link-contributors]## License
Please see the [license file](license.md) for more information.
[ico-version]: https://img.shields.io/packagist/v/sarfraznawaz2005/lognotify.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/sarfraznawaz2005/lognotify.svg?style=flat-square[link-packagist]: https://packagist.org/packages/sarfraznawaz2005/lognotify
[link-downloads]: https://packagist.org/packages/sarfraznawaz2005/lognotify
[link-author]: https://github.com/sarfraznawaz2005
[link-contributors]: https://github.com/sarfraznawaz2005/lognotify/graphs/contributors