{"id":16409674,"url":"https://github.com/coderatio/laranotify","last_synced_at":"2025-07-24T11:05:56.264Z","repository":{"id":56955593,"uuid":"123568094","full_name":"coderatio/laranotify","owner":"coderatio","description":"A feature-rich laravel package that turns bootstrap notify jQuery plugin to dynamic notifications, alerts and blockables.","archived":false,"fork":false,"pushed_at":"2018-04-10T14:55:52.000Z","size":3578,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-03T08:44:43.290Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderatio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-02T10:51:42.000Z","updated_at":"2020-11-29T23:35:10.000Z","dependencies_parsed_at":"2022-08-21T08:50:33.272Z","dependency_job_id":null,"html_url":"https://github.com/coderatio/laranotify","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/coderatio/laranotify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatio%2Flaranotify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatio%2Flaranotify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatio%2Flaranotify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatio%2Flaranotify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderatio","download_url":"https://codeload.github.com/coderatio/laranotify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatio%2Flaranotify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266831063,"owners_count":23991412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T06:20:48.327Z","updated_at":"2025-07-24T11:05:56.210Z","avatar_url":"https://github.com/coderatio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laranotify\n\u003cp class=\"center\"\u003e\n\u003ca hre=\"https://poser.pugx.org/coderatio/laranotify/v/stable\"\u003e\u003cimg src=\"https://poser.pugx.org/coderatio/laranotify/v/stable\"\u003e\u003c/a\u003e\n\u003ca href=\"https://poser.pugx.org/coderatio/laranotify/downloads\"\u003e\u003cimg src=\"https://poser.pugx.org/coderatio/laranotify/downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/coderatio/laranotify\"\u003e\u003cimg src=\"https://poser.pugx.org/laravel/framework/license.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003ca href=\"https://poser.pugx.org/coderatio/laranotify/v/unstable\"\u003e\u003cimg src=\"https://poser.pugx.org/coderatio/laranotify/v/unstable\"\u003e\u003c/a\u003e\n\u003c/p\u003e\nThe most advanced laravel package to dynamically display beautiful and elegant alert messages, blockables and notifications on screen. This is built with fluency in mind--meaning, you can chain as many methods as you want. Lots of functionalities are available. \u003ca href=\"#demos\"\u003eSee demos\u003c/a\u003e\n\nIt's built on top of Bootstrap notify or growl plugin. It comes with all methods in the plugin with lots of additional advanced methods. It therefore, requires you to have bootstrap installed on your project. However, customizing the template, gives your users different looks. Read about template customization under templates section.\n\n\u003e **Note:** _To start building your custom template, it's advisable to publish a sample to your view directory. When published, the sample template will be copied to laranotify directory inside your views folder. \u003ca href=\"#publish-template\"\u003eLearn about template publishing here\u003c/a\u003e_.\n\n# Installation\nLaranotify installation should be done via composer.\nRequire `coderatio/laranotify` in your project's composer.json file OR\n\nDo `composer require coderatio/laranotify` on your terminal or command prompt if you are on Windows OS.\n\n# Provider and Aliases\nIf your Laravel installed version is less than 5.5, you will need to manually register the service provider and aliases. The provider and aliases are auto-discovered in version 5.5 and above.\n\nTo register the package service provider and aliases, open your `app.php` in config directory of your laravel installation then copy and paste:\n\n```php\n// Laranotify provider\nCoderatio\\Laranotify\\LaranotifyServiceProvider::class,\n```\nUnder your providers array.\n\nThen in your aliases array, copy and paste:\n```php\n// Laranotify aliases\n'Notify' =\u003e Coderatio\\Laranotify\\Facades\\Notify::class,\n'Laranotify' =\u003e Coderatio\\Laranotify\\Facades\\Laranotify::class,\n```\nThe aliases are Facades that helps you bind non static methods as static to the package service class. E.g \n```php\nNotify::success('This is a message'); \n ```\n \n# Publishing\nThe package has configuration and assets files that needs to be published to your app public directory. To publish these files, run;\n\n```vim \nphp artisan vendor:publish --tag=laranotify-required\n``` \non your command line.\n\n# Header and footer\nFinally, call ``notify_header()`` function at the head tag and `notify_footer()` after your bootstrap JavaScript file to register laranotify assets in your project. This step is required.\n\ne.g\n##### Header\n```html\n\u003chead\u003e\n{{ notify_header() }}\n\n\u003c/head\u003e\n```\n\u003e **Note:** _If you want to use the included Bootstrap css file, pass ``true`` as a parameter to the function like this:_\n\n```blade\n {{ notify_header(true) }}\n```\n##### Footer\n```html\n{{ notify_footer() }}\n\n\u003c/body\u003e\n```\n\u003e **Note:** _If you want to use the included Bootstrap and jQuery files, pass ``true`` as a parameter to the function like this:_\n```blade\n {{ notify_footer(true) }}\n```\n\n_For these files to be properly loaded in your project, you will need to run ``php artisan vendor:publish --tag=laranotify-foundations`` on your command line or prompt._\n\n# Usage via Facades\n```php\nNotify::message ('I am a simple notification from laranotify');\n// You've just created your first notification.\n```\n \n You can then chain other methods to it. For example, if i want to change the delay period, i will do this:\n  ```php\n Notify::success('I am a simple notification from laranotify')-\u003edelay(6000); \n // 6000 = 6secs.\n ```\nWe included two facades for conveniences. You can choose to use either of them.\n# Usage via helpers\nThere are two helper functions provided to help you get started out of the box. The helper functions return the instance of the package service class.\n\n```php\n/**\n* @param (string) $message\n*/\nnotify();\n```\n\nThis helper takes only one argument which is your message. You may use the message method or notify types methods e.g error, info e.t.c by chaining to the helper function and many other once.\n\n```php\n/**\n* @param (string) $message\n*/\nlaranotify();\n````\nSame as notify helper above.\n\n```php\nnotify('Hello World'); \n// OR\nlaranotify('Hello World');\n```\n\nWill display ``Hello World`` on screen with default bootstrap info alert type.\n\nTo display a different type of alert , say error alert, chain error method to a helper or type method and pass any bootstrap alert class or your custom class to it. E.g\n\n```php\nnotify()-\u003eerror('There was an error!'); \n // OR\nnotify('There was an error!')-\u003etype('danger');\n```\n## Demos\n### Modal type notification.\n\u003cimg src=\"https://github.com/coderatio/laranotify/blob/master/src/public/img/blockable-icon.jpg\"/\u003e\n\n## Attributions\nWe deeply want to appreciate the creator of Bootstrap notify or growl plugin [Robert McIntosh](https://github.com/mouse0270). Without which, there wouldn't have been this awesome package.\n## Documentation\nFull documentation can be found \u003ca href=\"https://coderatio.github.io/laranotify/\"\u003ehere\u003c/a\u003e.\n## Copyright \u0026 Licence\nThe MIT License (MIT) Copyright (c) 2018 Coderatio\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderatio%2Flaranotify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderatio%2Flaranotify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderatio%2Flaranotify/lists"}