Download the PHP package coderatio/laranotify without Composer

On this page you can find all versions of the php package coderatio/laranotify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laranotify

Laranotify

License

The 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. See demos

It'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.

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. Learn about template publishing here.

Installation

Laranotify installation should be done via composer. Require coderatio/laranotify in your project's composer.json file OR

Do composer require coderatio/laranotify on your terminal or command prompt if you are on Windows OS.

Provider and Aliases

If 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.

To register the package service provider and aliases, open your app.php in config directory of your laravel installation then copy and paste:

Under your providers array.

Then in your aliases array, copy and paste:

The aliases are Facades that helps you bind non static methods as static to the package service class. E.g

Publishing

The package has configuration and assets files that needs to be published to your app public directory. To publish these files, run;

on your command line.

Header and footer

Finally, 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.

e.g

Header

Note: If you want to use the included Bootstrap css file, pass true as a parameter to the function like this:

Footer

Note: If you want to use the included Bootstrap and jQuery files, pass true as a parameter to the function like this:

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.

Usage via Facades

You can then chain other methods to it. For example, if i want to change the delay period, i will do this:

We included two facades for conveniences. You can choose to use either of them.

Usage via helpers

There 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.

This 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.

` Same as notify helper above.

Will display Hello World on screen with default bootstrap info alert type.

To 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

Demos

Modal type notification.

Attributions

We deeply want to appreciate the creator of Bootstrap notify or growl plugin Robert McIntosh. Without which, there wouldn't have been this awesome package.

Documentation

Full documentation can be found here.

Copyright & Licence

The MIT License (MIT) Copyright (c) 2018 Coderatio

Permission 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:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE 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.


All versions of laranotify with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
illuminate/support Version >=4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package coderatio/laranotify contains the following files

Loading the files please wait ....