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

ActiveLibrary[API Development](/categories/api)

bagisto/rest-api
================

v2.3.1(9mo ago)28175.7k—5.2%38[35 issues](https://github.com/bagisto/rest-api/issues)[2 PRs](https://github.com/bagisto/rest-api/pulls)1MITPHP

Since Oct 6Pushed 9mo ago3 watchersCompare

[ Source](https://github.com/bagisto/rest-api)[ Packagist](https://packagist.org/packages/bagisto/rest-api)[ RSS](/packages/bagisto-rest-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (1)Versions (13)Used By (1)

Bagisto REST API
================

[](#bagisto-rest-api)

Bagisto REST API is a medium to use the features of the core Bagisto System. By using Bagisto REST API, you can integrate your application to serve the default content of Bagisto.

### 1. Requirements:

[](#1-requirements)

- **Bagisto**: v2.3.x

### 2. Installation:

[](#2-installation)

#### Install the stable version of Bagisto Rest API from your console using the below command:

[](#install-the-stable-version-of-bagisto-rest-api-from-your-console-using-the-below-command)

```
composer require bagisto/rest-api

```

##### Add below options in the .env file (i.e.  your domain):

[](#add-below-options-in-the-env-file-ie-httplocalhostpublic-your-domain)

```
SANCTUM_STATEFUL_DOMAINS=http://localhost/public

```

##### To configure the REST API L5-Swagger Documentation run below command:

[](#to-configure-the-rest-api-l5-swagger-documentation-run-below-command)

```
php artisan bagisto-rest-api:install

```

##### To check the Admin end API documentation:

[](#to-check-the-admin-end-api-documentation)

```
http://localhost/public/api/admin/documentation

```

##### To check the Shop end API documentation:

[](#to-check-the-shop-end-api-documentation)

```
http://localhost/public/api/shop/documentation

```

- You can check the [ L5-Swagger ](https://github.com/DarkaOnLine/L5-Swagger) guidelines too regarding the configuration the API documentation.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~94 days

Recently: every ~78 days

Total

12

Last Release

288d ago

Major Versions

1.x-dev → v2.0.02024-03-08

### Community

Maintainers

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

---

Top Contributors

[![devansh-webkul](https://avatars.githubusercontent.com/u/68321766?v=4)](https://github.com/devansh-webkul "devansh-webkul (201 commits)")[![shivendra-webkul](https://avatars.githubusercontent.com/u/121868701?v=4)](https://github.com/shivendra-webkul "shivendra-webkul (111 commits)")[![amit-webkul](https://avatars.githubusercontent.com/u/121479029?v=4)](https://github.com/amit-webkul "amit-webkul (104 commits)")[![vivek-webkul](https://avatars.githubusercontent.com/u/28401696?v=4)](https://github.com/vivek-webkul "vivek-webkul (54 commits)")[![himani-webkul](https://avatars.githubusercontent.com/u/154529004?v=4)](https://github.com/himani-webkul "himani-webkul (29 commits)")[![rohansingh754](https://avatars.githubusercontent.com/u/135021620?v=4)](https://github.com/rohansingh754 "rohansingh754 (16 commits)")[![rachana-webkul](https://avatars.githubusercontent.com/u/120095673?v=4)](https://github.com/rachana-webkul "rachana-webkul (6 commits)")[![jitendra-webkul](https://avatars.githubusercontent.com/u/39991107?v=4)](https://github.com/jitendra-webkul "jitendra-webkul (5 commits)")[![suraj-webkul](https://avatars.githubusercontent.com/u/121420732?v=4)](https://github.com/suraj-webkul "suraj-webkul (4 commits)")[![antuchaudharyqlo246](https://avatars.githubusercontent.com/u/138209954?v=4)](https://github.com/antuchaudharyqlo246 "antuchaudharyqlo246 (2 commits)")[![kwidoo](https://avatars.githubusercontent.com/u/14920653?v=4)](https://github.com/kwidoo "kwidoo (1 commits)")

### Embed Badge

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

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

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[badaso/core

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

1.3k16.2k10](/packages/badaso-core)[joy/voyager-api

This Laravel/Voyager module adds REST Api with swagger support to Voyager.

204.7k3](/packages/joy-voyager-api)

PHPackages © 2026

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