Package Data | |
---|---|
Maintainer Username: | dmongeau |
Maintainer Contact: | info@atelierfolklore.ca (Folklore) |
Package Create Date: | 2017-01-16 |
Package Last Update: | 2019-01-07 |
Home Page: | https://github.com/airbnb/hypernova |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-15 15:16:51 |
Package Statistics | |
---|---|
Total Downloads: | 267 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 14 |
Total Watchers: | 3 |
Total Forks: | 7 |
Total Open Issues: | 3 |
Laravel Hypernova is a package to use the Hypernova server-side rendering service from Airbnb (https://github.com/airbnb/hypernova). It enables you to render Javascript UI views on the server and use it in your Laravel views. The advantage of this technique is that the response will contain the actual HTML of your Javascript views and helps on things like SEO.
1- Require the package via Composer in your composer.json
.
{
"require": {
"folklore/laravel-hypernova": "~0.1.0"
}
}
2- Run Composer to install or update the new requirement.
$ composer install
or
$ composer update
3- Add the service provider to your app/config/app.php
file
'Folklore\Hypernova\HypernovaServiceProvider',
4- Add the facade (optional) to your app/config/app.php
file
'Hypernova' => 'Folklore\Hypernova\Facades\Hypernova',
5- Publish the configuration file and public files
$ php artisan vendor:publish --provider="Folklore\Hypernova\HypernovaServiceProvider"
6- Review the configuration file
app/config/hypernova.php