Download the PHP package taylornetwork/toastr without Composer

On this page you can find all versions of the php package taylornetwork/toastr. 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 toastr

Toastr for Laravel

A simple facade for Laravel 5 to generate toastr message using toastr.js.

Install

Via Composer

Dependencies

You will need to include toastr.js on your pages.

You can install using bower

or include from CDNjs.

This may not be the most up to date information, see CodeSeven/toastr

Setup

Provider Setup

Add the service provider to the providers array in your config/app.php

Facade Setup

Add the Toastr facade to your aliases array in config/app.php

While this is optional, it is greatly recommended because Toastr::render() will be used in your base view and is easier than having to include the Toastr class.

Publishing Config

Will add config/toastr.php to your project.

View Setup

You will need to include the toastr.js and toastr.css files from bower or CDNjs (see Dependencies section above) in your base views.

You will also need to add the following line after both files are included in order to render Toastr messages.

Usage

Include TaylorNetwork\Toastr\Facades\Toastr in what ever class you plan on generating a Toastr message.

By default the styles available are success, error, info, warning. But you can remove any in config/toastr.php

TaylorNetwork\Toastr\Toastr uses a magic method to generate toastr messages.

To generate a success message

Will push a success message to the session and will appear on the next request.

The magic method accepts a minimum of one parameter, the text you want to be displayed. The optional second parameter is the title of the message.


To add a custom title to the toastr message

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of toastr with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
laravel/framework Version >=5.5
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 taylornetwork/toastr contains the following files

Loading the files please wait ....