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)6147.2k↓23.8%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 1mo ago

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 77% 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

1641d 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

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)

PHPackages © 2026

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