pointblue/laravel

Larvel components and code used for Point Blue Applications
643
Install
composer require pointblue/laravel
Latest Version:2.1.2
PHP:>=5.4
License:MIT
Last Updated:May 30, 2017
Links: GitHub  ·  Packagist
Maintainer: pointblueconsci

Point Blue Laravel

Shared Larvel code for Point Blue applications

Install with command composer require pointblue/laravel

In app/Console/Kernel.php:

  • add use PointBlue\Laravel\Views\PointBlueViews; to the top of the page
  • add PointBlueViews::class, to the $commands array

Views

To 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

Environment Variables

The views will need these environment variables to be set in the .env file:

  • APP_URL
  • PB_APP_NAME
  • PB_APP_IMAGE_URL

Routes

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');

Styles

The stylesheet assets/sass/styles.scss should be included in your project under /resources/assets/sass

Related Packages

reliese/laravel

Reliese Components for Laravel Framework code generation.

3,924,784 1,705
php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the...

53,312 161
laravel-ja/laravel

The Laravel Framework.

5,667 17
kavenegar/laravel

laravel 4 and 5 kavenegar integration

363,860 86
laravel/laravel

The skeleton application for the Laravel framework.

64,565,571 84,921