polidog / LaravelBundle by polidog

12
0
1
Package Data
Maintainer Username: polidog
Maintainer Contact: polidogs@gmail.com (polidog)
Package Create Date: 2016-07-16
Package Last Update: 2019-12-03
Home Page: http://polidog.jp/2016/07/17/symfony_laravel/
Language: PHP
License: MIT
Last Refreshed: 2025-02-09 15:00:05
Package Statistics
Total Downloads: 12
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

LaravelBundle

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads composer.lock

Requirements

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

Installation

install polidog/laravel-bundle with composer.

$ composer require polidog/laravel-bundle

Usage

Load bundle in AppKernel:

    new \Polidog\LaravelBundle\PolidogLaravelBundle(),

Configuration in config.yml:

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

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

example

see polidog/laravel-bundle-example