PHP Classes

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

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 15 All time: 11,359 This week: 34Up
Version License PHP version Categories
laravelcookie18 1.0.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
Number 5
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
Age: ???
All time rank: 74521 in Poland Poland
Week rank: 164 Up4 in Poland Poland Up
Innovation award
Innovation award
Nominee: 8x

Winner: 2x

Documentation

laravelCookie18+

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


  Files folder image Files (7)  
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 (7)  /  app  
File Role Description
Files folder imageHttp (1 file, 1 directory)

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

  Files folder image Files (7)  /  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 (7)  /  resources  
File Role Description
Files folder imageviews (1 directory)

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

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

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:15
This week:0
All time:11,359
This week:34Up