Download the PHP package ingenerator/pigeonhole without Composer

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

Pigeonhole - clean flash message management for Kohana

License

Latest Stable Version Total Downloads Latest Unstable Version

Pigeonhole is a simple flash messaging library for Kohana.

Installation

Add config to your composer.json and run composer update to install it. Note that we recommend forcing all kohana modules into your standard composer vendor directory. If you want to use the old-style MODPATH, then don't use the "extra" composer config option.

In your bootstrap, add it to your modules list:

Basic Usage

To set a simple string message:

For the simplest way to render messages using Kohana's native view rendering:

Note that we actually recommend you use view models and manage the pigeonhole class and nested view outside the template. It's obviously easy to render the messages to support any CSS setup, we render for bootstrap by default.

Message types

In addition to simple string messages, we provide built-in handling for some additional common message types.

Validation messages

Formats the output of kohana validation errors with a given message file:

Kohana messages

Looks up the title and message in a kohana messages file and replaces any provided parameters:

Testing and developing

pigeonhole has a suite of PhpSpec specifications. You'll need a skeleton Kohana application to run them, you can use koharness to create one. See test.yml for the build steps required.

Contributions will only be accepted if they are accompanied by well structured specs. Installing with composer should get you everything you need to work on the project.

License

pigeonhole is copyright 2014 inGenerator Ltd and released under the BSD license.


All versions of pigeonhole with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0 || ~8.2.0 || ~8.3.0
ingenerator/kohana-core Version ^4.7
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 ingenerator/pigeonhole contains the following files

Loading the files please wait ....