Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cat-meoww/ci-jwt
https://github.com/cat-meoww/ci-jwt
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/cat-meoww/ci-jwt
- Owner: Cat-meoww
- License: mit
- Created: 2024-03-02T10:05:29.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-02T10:09:45.000Z (10 months ago)
- Last Synced: 2024-03-02T11:25:38.730Z (10 months ago)
- Language: PHP
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeIgniter 4 Simple JWT Authentication Template
Using `firebase/php-jwt`
## Installation & updates
`composer create-project codeigniter4/appstarter` then `composer update` whenever
there is a new release of the framework.When updating, check the release notes to see if there are any changes you might need to apply
to your `app` folder. The affected files can be copied or merged from
`vendor/codeigniter4/framework/app`.## Setup
Copy `env` to `.env` and tailor for your app, specifically the baseURL
and any database settings.## Server Requirements
PHP version 7.4 or higher is required, with the following extensions installed:
- [intl](http://php.net/manual/en/intl.requirements.php)
- [mbstring](http://php.net/manual/en/mbstring.installation.php)> [!WARNING]
> The end of life date for PHP 7.4 was November 28, 2022.
> The end of life date for PHP 8.0 was November 26, 2023.
> If you are still using PHP 7.4 or 8.0, you should upgrade immediately.
> The end of life date for PHP 8.1 will be November 25, 2024.Additionally, make sure that the following extensions are enabled in your PHP:
- json (enabled by default - don't turn it off)
- [mysqlnd](http://php.net/manual/en/mysqlnd.install.php) if you plan to use MySQL
- [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\CURLRequest library