PHP Classes

Laravel Privacy User Cookie: Show message to ask user permission to use cookies

Recommend this page to a friend!

  Author Author  
Picture of adam berger
Name: adam berger <contact>
Classes: 22 packages by
Country: Poland Poland
Innovation award
Innovation award
Nominee: 7x

Winner: 2x


  Detailed description   Download Download .zip .tar.gz  
This package can show the message to ask the user permission to use cookies.

It provides a middleware class for Laravel applications that checks if the current user browser has a given cookie set.

If the given cookie is missing, the package makes the current page show a message with a warning asking the user to allow the current site to use cookies.

The displayed message output includes CSS and JavaScript to set a cookie if the user clicks on a button saying that he accepts the site's cookies.

Details

laravelCookie

Jest to sposób na wprowadzenie do laravel ciasteczka informacyjnego np. polityka prywatno?ci

This is a way of introducing an information cookie, e.g. a privacy policy, into the laravel

Kolejn? spraw? jest przypisanie naszego Middleware do karnelu w app/http/ tak ?eby box by? widocznby na wszystkich stronach www

Another thing is assigning our Middleware to the carnel in the app / http / so that the box would be visible on all websites

MiddlewareKarnel

Nast?pnie dodajemy nazw? ciastecza do Middleware w app/http/Middleware/EncryptCookies.php

Then we add the cookie name to Middleware in app/http/Middleware/EncryptCookies.php

MiddlewareEncrypt

I tak oto mo?emy si? cieszy? wyskakuj?cym boksem Cookie

And so here we can enjoy Cookie pop-up box

MiddlewarePolitykaPrywatnsci

Powodzenia


  Classes of adam berger  >  Laravel Privacy User Cookie  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Laravel Privacy User Cookie
Base name: laravelcookie
Description: Show message to ask user permission to use cookies
Version: -
PHP version: 5
License: MIT/X Consortium License
 
  Groups   Applications   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Libraries Frameworks and libraries of cooperating classes View top rated classes
Group folder image Security Security protection and attack detection View top rated classes


  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imageapp (1 directory)
Files folder imageresources (1 directory)
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  app  
File Role Description
Files folder imageHttp (1 directory)

  Files folder image Files  /  app  /  Http  
File Role Description
Files folder imageMiddleware (1 file)

  Files folder image Files  /  app  /  Http  /  Middleware  
File Role Description
  Plain text file CoockieMiddleware.php Class Class source

  Files folder image Files  /  resources  
File Role Description
Files folder imageviews (1 file)

  Files folder image Files  /  resources  /  views  
File Role Description
  Accessible without login Plain text file index.blade.php Aux. Auxiliary script

Download Download all files: laravelcookie.tar.gz laravelcookie.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.