PHPackages                             siddharthbhansali/dev-authkit-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. siddharthbhansali/dev-authkit-php

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

siddharthbhansali/dev-authkit-php
=================================

1.2.0(1y ago)011GPL-3.0-onlyPHP

Since Jul 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/siddharth-bhansali/dev-authkit-php)[ Packagist](https://packagist.org/packages/siddharthbhansali/dev-authkit-php)[ RSS](/packages/siddharthbhansali-dev-authkit-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

authkit-php
===========

[](#authkit-php)

Secure token generation for [IntegrationOS AuthKit](https://docs.integrationos.com/docs/authkit)using [Composer](https://getcomposer.org/).

Install
-------

[](#install)

With composer:

```
composer require integration-os/authkit-php
```

Creating a token endpoint
-------------------------

[](#creating-a-token-endpoint)

You'll want to create an internal endpoint used to generate secure tokens for your frontend. You can do so by adding code that looks like the below snippet. You can then call the file directly in the browser or using a tool like curl or Postman by making a POST request to .

```
