PHPackages                             yabhq/flightdeck - 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. [API Development](/categories/api)
4. /
5. yabhq/flightdeck

ActiveLibrary[API Development](/categories/api)

yabhq/flightdeck
================

API boilerplate for Laravel

v0.13.0(1y ago)55142[5 PRs](https://github.com/buildwithyab/flightdeck/pulls)MITPHPPHP ^8.2

Since Apr 5Pushed 1y agoCompare

[ Source](https://github.com/buildwithyab/flightdeck)[ Packagist](https://packagist.org/packages/yabhq/flightdeck)[ Docs](https://github.com/yabhq/flightdeck)[ RSS](/packages/yabhq-flightdeck/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (5)Versions (20)Used By (0)

FlightDeck - Level up your Laravel API
======================================

[](#flightdeck---level-up-your-laravel-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4ddc1a36925e3269e2a02b0f08a91f2b7a17ae907dd040a7b2507a99c050f71d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79616268712f666c696768746465636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yabhq/flightdeck)[![CircleCI](https://camo.githubusercontent.com/466d7c0f1e60b310d3323354e0e4cac02ab5083301d7a3b29543666d2fb4785d/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f70726f6a6563742f6769746875622f79616268712f666c696768746465636b2f6d61737465722e737667)](https://circleci.com/gh/yabhq/flightdeck)[![Quality Score](https://camo.githubusercontent.com/63cfacb92a7881a04901b02f524d591edfcf062e2f3187eb2a91490cfb4905f6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f79616268712f666c696768746465636b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/yabhq/flightdeck)[![Total Downloads](https://camo.githubusercontent.com/5eb643a0661dc8b787376641d6f5e0e2562a1fcc547da8db9f88048fea6ecc4a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79616268712f666c696768746465636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yabhq/flightdeck)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require yabhq/flightdeck
```

Usage
-----

[](#usage)

Generate new API key for authorization

```
php artisan flightdeck:generate app1
```

List all available API keys

```
php artisan flightdeck:list
```

Multi-Auth
----------

[](#multi-auth)

FlightDeck makes authenticating users with multiple guards a breeze.

Suppose you wish to add support for login, logout and token refreshing for a hypothetical "customer" user type.

Simply extend the FlightDeck `AuthController` class as follows:

```
