PHPackages                             bagisto/legacy-api - 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. bagisto/legacy-api

ActiveLibrary[API Development](/categories/api)

bagisto/legacy-api
==================

v1.0.0(4y ago)5149.0k—1.7%7MITPHP

Since Nov 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/bagisto/legacy-api)[ Packagist](https://packagist.org/packages/bagisto/legacy-api)[ RSS](/packages/bagisto-legacy-api/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Bagisto Legacy API
==================

[](#bagisto-legacy-api)

This package is for the user who still wants to use the older version.

---

### 2. Requirements:

[](#2-requirements)

- **Bagisto**: v1.5.1

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

[](#installation)

- Run `composer require bagisto/legacy-api`.
- Run `php artisan jwt:secret`.
- Goto app/Http/Kernel.php and add find an array 'middlewareGroups' inside it there is a key named 'api' inside it do an entry:

```
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,

```

- Add JWT Time To Live in `.env` file: `JWT_TTL=525600`
- Add JWT\_SHOW\_BLACKLIST\_EXCEPTION in `.env` file: `JWT_SHOW_BLACKLIST_EXCEPTION=true`
- Goto config/auth.php and add the below line of code in guard array

    ```
    'api' => [
           'driver'   => 'jwt',
           'provider' => 'customer',
           ],

    ```

    And add below line of code in provider array

    ```
     'customer' => [
         'driver' => 'eloquent',
         'model'  => Webkul\API\Models\Customer::class,
     ],

    ```

Contributors ✨
--------------

[](#contributors-)

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1687d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/680982d0f4253ee1f7df370dc28852fe08dd6aab0cfae16f45d6ea026fdfbd02?d=identicon)[devansh.bawari419@webkul.com](/maintainers/devansh.bawari419@webkul.com)

---

Top Contributors

[![vivek-webkul](https://avatars.githubusercontent.com/u/28401696?v=4)](https://github.com/vivek-webkul "vivek-webkul (55 commits)")[![rachana-webkul](https://avatars.githubusercontent.com/u/120095673?v=4)](https://github.com/rachana-webkul "rachana-webkul (14 commits)")[![devansh-webkul](https://avatars.githubusercontent.com/u/68321766?v=4)](https://github.com/devansh-webkul "devansh-webkul (8 commits)")[![gitesh-webkul](https://avatars.githubusercontent.com/u/121868383?v=4)](https://github.com/gitesh-webkul "gitesh-webkul (3 commits)")

### Embed Badge

![Health badge](/badges/bagisto-legacy-api/health.svg)

```
[![Health](https://phpackages.com/badges/bagisto-legacy-api/health.svg)](https://phpackages.com/packages/bagisto-legacy-api)
```

###  Alternatives

[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[aimeos/aimeos-headless

Aimeos headless ecommerce system

2.5k2.3k](/packages/aimeos-aimeos-headless)[badaso/core

The API &amp; platform builder, build your apps 10x faster even more, it's open source &amp; 100% free !

1.3k16.3k10](/packages/badaso-core)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[specialtactics/l5-api

Dependencies for the Laravel API Boilerplate package

3673.9k2](/packages/specialtactics-l5-api)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
