polidog / laravel-bundle
dev-master
2019-12-03 02:22 UTC
Requires
- php: >=7.1
- laravel/framework: ~5.2
- sensio/framework-extra-bundle: ~3.0|~4.0
- symfony/framework-bundle: ~3.0|~4.0
- symfony/http-foundation: ~3.0|~4.0
Requires (Dev)
- phake/phake: ^2.3
- phpunit/phpunit: ^5.4
This package is auto-updated.
Last update: 2024-10-29 04:42:03 UTC
README
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: .*