aproskurnov / bemview by aproskurnov

Laravael 5 view for bem-server
47
0
2
Package Data
Maintainer Username: aproskurnov
Maintainer Contact: proskurn@gmail.com (Aleksey Proskurnov)
Package Create Date: 2015-03-17
Package Last Update: 2015-04-02
Language: PHP
License: MIT
Last Refreshed: 2024-04-30 15:11:41
Package Statistics
Total Downloads: 47
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel 5 Bem View

Installation

You should install this package through Composer.

Edit your project's composer.json file to require aproskurnov/bemview.

"require": {
    "aproskurnov/bemview": "dev-master"
},

Next, update Composer from the Terminal: composer update

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.

'Aproskurnov\Bem\BemServiceProvider',

And add a new item to the aliases array.

'Bem' => 'Aproskurnov\Bem\BemFacade',

If you want set own port and host, execute command

`php artisan vendor:publish --provider="BemServiceProvider" --tag="config"`

Usage

Call of the method: Bem::render($page, $params, $bundle)