Download the PHP package knifecake/outmess without Composer

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

Laravel Outcome Outmess

This package allows you to add messages depending on the outcome of processes, such as updating a user or deleting a menu item. Then you may retrieve all those messages at once and format them in HTML according to the configuration you have set, which may depend, for instance, on the UI framework you are using.

Installation

Add the following to your file:

`

Add the following to your Service Provider array in :

And this under the array:

Setting up a new style

Styles are used to render your messages when you call . All styles are present in the config file inside the array. Every style consists of one or more message types that correspond to the name of the method you use to add a message. Therefore, to set an error message you may call and define that message type inside your style using the key . Here is an example of a style definition:

Chosing which style to use

To chose what style you want to use change the 'style' config value to the name of that style you wish to use, as long as it is defined inside the styles array. You may also change the style you are using at runtime by calling . Notice the style you set will affect all the messages you have already added if any.

Outputting the messages

To output your messages using the style you have chosen call . This method outputs a string of HTML so it may be called on a view, for example atop a page. If you did not add any messages this method won't output anything so no worries if you call it without checking first.

Contributing and reporting bugs

Want a new feature? Something wrong? Any questions? Head to https://github.com/knifecake/outmess and make a pull request or create a new issue.


All versions of outmess with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
illuminate/support Version 4.x
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 knifecake/outmess contains the following files

Loading the files please wait ....