Package Data | |
---|---|
Maintainer Username: | pointblueconsci |
Maintainer Contact: | mmagana@gmail.com (Martin Magana) |
Package Create Date: | 2017-03-10 |
Package Last Update: | 2017-05-30 |
Language: | HTML |
License: | MIT |
Last Refreshed: | 2024-12-02 03:00:32 |
Package Statistics | |
---|---|
Total Downloads: | 544 |
Monthly Downloads: | 5 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 5 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Shared Larvel code for Point Blue applications
Install with command composer require pointblue/laravel
In app/Console/Kernel.php:
use PointBlue\Laravel\Views\PointBlueViews;
to the top of the pagePointBlueViews::class,
to the $commands
arrayTo install a view, use the command php artisan pb:view {viewname}
where {viewname}
is the name of the view that will be copied to the
resources/views
path of your laravel app. Use this list of available
views:
footer
- Standard Point Blue footer
navbar
- Standard Point Blue navigation bar
loading
- loading bar, requires uib-progressbar
docs
- Documentation View, add to routes.php (see below)
release
- Release Notes View, add to routes.php (see below)
feedback
- zendesk feedback widget - install in <head></head>
The view will be installed to the directory
resources/views/partials/universal
The views will need these environment variables to be set in the .env
file:
The following routes are assumed with code in the footer, and should be implemented in app/Http/routes.php
:
Route::get('/docs', function () {
return view('pb-docs');
})->name('docs');
Route::get('/release', function () {
return view('pb-release');
})->name('release');
The stylesheet assets/sass/styles.scss
should be included in your project under /resources/assets/sass