mascame/notify
Notify is a package to rapidly notificate your users about something using Bootstrap classes
209
1
Larablocks Analysis
mascame/notify works with Laravel 4 (latest release v1.0.0, Oct 10, 2014), which reached end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 4, past end of life
- No release in the last 12 months (last: Mar 3, 2017)
- 0 downloads a month (needs 10,000)
- 1 GitHub star (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Mar 3, 2017.
- No releases in the last 12 months.
- First released: Oct 10, 2014.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.
| Install | |
|---|---|
composer require mascame/notify |
|
| Latest Version: | v1.0.0 |
| PHP: | >=5.4.0 |
| Laravel: | 4 |
| License: | MIT |
| Last Updated: | Mar 3, 2017 |
| Links: | GitHub · Packagist |
Maintainer: marcmascarell
Laravel Notify
Notify is a package to rapidly notificate your users about something using Bootstrap classes
A nice alternative if this don't satisfy your needs
Installation
Require this package in your composer.json and run composer update:
"mascame/notify": "dev-master"
Add to app/config:
// the Service Provider
'Mascame\Notify\NotifyServiceProvider'
// the alias
'Notify' => '\Mascame\Notify\Notify'
Publish assets and config
php artisan config:publish mascame/notify
Usage
- Require bootstrap or compatible framework.
- Edit config file to your needs.
In template:
Notify::all();
// blade
{{ Notify::all(); }}
In your logic:
// $autohide = false, $icon = null, $dismissable = false
Notify::success('Successfuly notified!');
Notify::danger('Real danger!');
Notify::info('Informed!');
Notify::warning('Warning!');
Notify::loading('Loading...');
Notify::add($value, $type = 'success', $autohide = false, $icon = null, $dismissable = false);
A real world example:
// this will autohide and get the default values for icon and dismissable
public function logout()
{
Auth::logout();
Notify::success('Successfuly logged out!', true);
return Redirect::to('home');
}
License
MIT
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.0.0 | >=5.4.0 | >=4.2 | MIT | |
| v0.1.0 | >=5.4.0 | ^4.2 | MIT |