Download the PHP package lkovace18/laravel-presentation-mode without Composer
On this page you can find all versions of the php package lkovace18/laravel-presentation-mode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lkovace18/laravel-presentation-mode
More information about lkovace18/laravel-presentation-mode
Files in lkovace18/laravel-presentation-mode
Package laravel-presentation-mode
Short Description Laravel package for presenting sites still in develompment.
License MIT
Informations about the package laravel-presentation-mode
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
here is solution ...
Documentation
To get started, use Composer to add the package to your project's dependencies:
Configuration
After installing the Laravel presentation mode, register the lKovace18\PresentationMode\PresentationModeServiceProvider in your config/app.php configuration file:
add setup your .env file:
Advanced configuration
Publish configuration
Edit configuration file config/presentation-mode.php to suit your needs.
If you want to modify under_development view you can publish it:
Or you can make your own route and view and add it in config config/presentation-mode.php:
If you want to modify translations for view publish:
If you want to make custom middleware you can add the PresentationMode facade to the aliases array in your app configuration file:
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