2017 © Pedro Peláez
 

library laravel-view-defender

Protect your Laravel Views from the dark side!

image

neondigital/laravel-view-defender

Protect your Laravel Views from the dark side!

  • Wednesday, April 5, 2017
  • by neondigital
  • Repository
  • 1 Watchers
  • 1 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

** In Development **, (*1)

Laravel View Defender

, (*2)

Defending Laravel Views from evil, (*3)

The story so far...

Views are great, they make outputting HTML etc nice 'n' easy. However, some developers from the dark side have been passing magical objects to their views, causing chaos in the view galaxy., (*4)

Designers (and even developers showing signs of the dark side) have been known to use these objects for evil, creating hundreds of database queries through lazy-loading relationships, and sometimes even more sinister!, (*5)

NEON brings you View Defender to the rescue. Simply adding the package to your Laravel application will defend your views against evil objects such as Eloquent Models and Doctrine Entities., (*6)

Use the Force

Require this package, (*7)

composer require neondigital/laravel-view-defender

After adding the package, add the ServiceProvider (Force) to the providers array in config/app.php, (*8)

Neondigital\LaravelViewDefender\ViewDefenderServiceProvider::class,

To publish the config use:, (*9)

php artisan vendor:publish --tag="config"

License

This package is licensed under the MIT license., (*10)

The Versions

05/04 2017

dev-master

9999999-dev

Protect your Laravel Views from the dark side!

  Sources   Download

by Glenn