PHP Classes

Laravel Cookie 18: Ask the users to confirm they are adults

Recommend this page to a friend!
  Info   View files Documentation   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2022-09-28 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 6 This week: 4All time: 10,809 This week: 28Up
Version License PHP version Categories
laravelcookie18 1.0MIT/X Consortium ...5HTTP, PHP 5, User Management, Libraries
Description Author

This package can ask the users to confirm they are adults.

It provides a Laravel middleware class that makes the application present a dialog on the current Web page asking if the user is 18 years or older.

The class uses an encrypted cookie to store the information after the user confirms he is an adult, so next time the age confirmation dialog does not appear on the page anymore.

Innovation Award
PHP Programming Innovation award nominee
September 2022
Nominee
Vote
Many sites present content for adults. Those sites need to confirm if the users have 18 years of age or more.

This package provides a solution to present a confirmation dialog to request that the user confirm if they are adults.

When the users confirm their age, the site uses encrypted cookies to store the user response, so it no longer shows the adult confirmation dialog.

This way, this package helps adult site content owners comply with countries' laws that require that the sites restrict access to content to adult users.

Manuel Lemos
Picture of adam berger
  Performance   Level  
Name: adam berger <contact>
Classes: 23 packages by
Country: Poland Poland
Innovation award
Innovation award
Nominee: 8x

Winner: 2x

Details

laravelCookie18+

Proste zastosowanie cookie dla stron przeznaczonych dla osób doros?ych w Laravel boxCookie18+

  Files folder image Files  
File Role Description
Files folder imageapp (1 directory)
Files folder imageresources (1 directory)
Files folder imageroutes (1 file)
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 file, 1 directory)

  Files folder image Files  /  app  /  Http  
File Role Description
Files folder imageMiddleware (2 files)
  Plain text file Karnel.php Class Class source

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

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

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

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

  Files folder image Files  /  routes  
File Role Description
  Plain text file web.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:6
This week:4
All time:10,809
This week:28Up
For more information send a message to info at phpclasses dot org.