This repository shows how to use CodeIgniter4's Session Library in plain PHP.
- PHP 7.4 or later
- CodeIgniter 4.4.5
.
├── app/
│ └── Config/ ... Config for CodeIgniter4
├── composer.json
├── composer.lock
├── public/ ... Plain PHP application
│ └── index.php
└── vendor/
Install Composer dependencies:
$ composer update
Create .env
file:
$ cp env .env
Run built-in PHP web server:
$ bin/server.sh
and navigate to http://localhost:8000/.