2017 © Pedro Peláez
 

library laravel-presentation-mode

Laravel package for presenting sites still in develompment.

image

lkovace18/laravel-presentation-mode

Laravel package for presenting sites still in develompment.

  • Saturday, March 4, 2017
  • by lkovace18
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Introduction

  • If you need quick way present site in development to your client without worry theat anybody else will see it.
  • If you need to hide "stage" site from end consumers, and redirect them to yout real site, (*1)

    here is solution ..., (*2)

Documentation

To get started, use Composer to add the package to your project's dependencies:, (*3)

    composer require lkovace18/laravel-presentation-mode

Configuration

After installing the Laravel presentation mode, register the lKovace18\PresentationMode\PresentationModeServiceProvider in your config/app.php configuration file:, (*4)

'providers' => [
    // Other service providers...

    lKovace18\PresentationMode\PresentationModeServiceProvider::class,

],

add setup your .env file:, (*5)

PRESENTATION_MODE=true
PRESENTATION_KEY=<yourkey>

Advanced configuration

Publish configuration, (*6)

php artisan vendor:publish --provider="lKovace18\PresentationMode\PresentationModeServiceProvider" --tag="config"

Edit configuration file config/presentation-mode.php to suit your needs., (*7)


If you want to modify under_development view you can publish it:, (*8)

php artisan vendor:publish --provider="lKovace18\PresentationMode\PresentationModeServiceProvider" --tag="views"

Or you can make your own route and view and add it in config config/presentation-mode.php:, (*9)

     /**
     * url of under development page
     */
    'under_development_url' => <your_in_development_url>,

If you want to modify translations for view publish:, (*10)

php artisan vendor:publish --provider="lKovace18\PresentationMode\PresentationModeServiceProvider" --tag="translations"

If you want to make custom middleware you can add the PresentationMode facade to the aliases array in your app configuration file:, (*11)


'PresentationMode' => lKovace18\PresentationMode\Facades\PresentationMode::class,

TODO

- finish and refactor tests
- make command for setting presentation mode on
- finish documentation

License

Laravel Presentation Mode is open-sourced software licensed under the MIT license, (*12)

The Versions

04/03 2017

dev-master

9999999-dev

Laravel package for presenting sites still in develompment.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Luka Kovačević

laravel demo presentation stage

04/03 2017

0.0.1

0.0.1.0

Laravel package for presenting sites still in develompment.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Luka Kovačević

laravel demo presentation stage