2017 © Pedro Peláez
 

library bstall

Bathroom Stall for Laravel 4

image

whackashoe/bstall

Bathroom Stall for Laravel 4

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Bathroom Stall for Laravel 4

A bathroom stall for you to scratch on. Uses redis backend and canvas., (*1)

Installation

The Bstall Service Provider can be installed via Composer by requiring the whackashoe/bstall package and setting the minimum-stability to dev (required for Laravel 4) in your project's composer.json., (*2)

{
    "require": {
        "laravel/framework": "4.2.*",
        "whackashoe/bstall": "dev-master"
    },
    "minimum-stability": "dev"
}

Update your packages with composer update or install with composer install., (*3)

Usage

To use the Captcha Service Provider, you must register the provider when bootstrapping your Laravel application. There are essentially two ways to do this., (*4)

Find the providers key in app/config/app.php and register the Captcha Service Provider., (*5)

    'providers' => array(
        // ...
        'Whackashoe\Bstall\BstallServiceProvider',
    )

Find the aliases key in app/config/app.php., (*6)

    'aliases' => array(
        // ...
        'Bstall' => 'Whackashoe\Bstall\Facades\Bstall',
    )

Add the draw route to your routes.php file:, (*7)

    Route::post('/bstall/draw/{id}', 'Whackashoe\Bstall\Controllers\BstallController@draw');

Example Usage


<html> <head> <title>stall test</title> </head> <body> {{ Bstall::make("first_stall", 300, 300, 0xFFFFFF) }} </body> </html>

To clear all stalls quickly just run php artisan cache:clear, (*8)

The Versions

10/12 2014

dev-master

9999999-dev

Bathroom Stall for Laravel 4

  Sources   Download

MIT

The Requires

 

by Jett LaRue

laravel redis toilet