Download the PHP package michalsn/codeigniter-passage without Composer
On this page you can find all versions of the php package michalsn/codeigniter-passage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download michalsn/codeigniter-passage
More information about michalsn/codeigniter-passage
Files in michalsn/codeigniter-passage
Download michalsn/codeigniter-passage
More information about michalsn/codeigniter-passage
Files in michalsn/codeigniter-passage
Vendor michalsn
Package codeigniter-passage
Short Description Passage integration for the CodeIgniter 4 framework
License MIT
Homepage https://github.com/michalsn/codeigniter-passage
Package codeigniter-passage
Short Description Passage integration for the CodeIgniter 4 framework
License MIT
Homepage https://github.com/michalsn/codeigniter-passage
Please rate this library. Is it a good library?
Informations about the package codeigniter-passage
CodeIgniter Passage
Basic integration for Passage - passwordless authentication powered by passkeys.
Installation
Composer
composer require michalsn/codeigniter-passage
Manually
In the example below we will assume, that files from this project will be located in app/ThirdParty/passage
directory.
Download this project and then enable it by editing the app/Config/Autoload.php
file and adding the Michalsn\CodeIgniterPassage
namespace to the $psr4
array, like in the below example:
Also add the required helper to the same file under $files
array:
Configuration
- Follow the quickstart
- Create an app in the Passage Console
php spark passage:publish
- to copy config file to theApp
namespace- Fill the config variables or use .env file
- Add a Passage Element to your frontend
- You can use
passageStateless
filter as your middleware implementation
Helper functions
passageAppId()
will return your AppIdpassageId()
will return your user id (if you're usingpassageStateless
filter), you can also set this yourself via:passageId($userId)
Example
All versions of codeigniter-passage with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
guzzlehttp/guzzle Version ^7.0.1
firebase/php-jwt Version ^6.8
phpfastcache/phpfastcache Version ^9.1
guzzlehttp/guzzle Version ^7.0.1
firebase/php-jwt Version ^6.8
phpfastcache/phpfastcache Version ^9.1
The package michalsn/codeigniter-passage contains the following files
Loading the files please wait ....