aproskurnov / bemview
Laravael 5 view for bem-server
v0.2
2015-03-20 19:47 UTC
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: 5.0.*@dev
This package is not auto-updated.
Last update: 2024-12-07 17:58:34 UTC
README
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)