2017 © Pedro Peláez
 

library laravel-bundle

image

polidog/laravel-bundle

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

The README.md

LaravelBundle

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads composer.lock, (*1)

LaravelFallback, (*2)

Requirements

  • PHP 5.6+
  • Symfony 2.3+
  • Laravel 5.2+

Installation

install polidog/laravel-bundle with composer., (*3)

$ composer require polidog/laravel-bundle

Usage

Load bundle in AppKernel:, (*4)

    new \Polidog\LaravelBundle\PolidogLaravelBundle(),

Configuration in config.yml:, (*5)

polidog_laravel:
  bootstrap_file: "%kernel.root_dir%/../vendor/polidog/laravel-project/bootstrap/app.php" #your laravel project for bootstrap/app.php
  env:
    APP_DEBUG: true
    APP_KEY: laravelKey

Fallback in routing.yml, (*6)

fallback:
    path: /{path}
    defaults: { _controller: "polidog_laravel.controller.fallback:fallback" }
    requirements:
        path: .*

example

see polidog/laravel-bundle-example, (*7)

The Versions