PHPackages                             joy/voyager-api-laravel-demo - 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. [Framework](/categories/framework)
4. /
5. joy/voyager-api-laravel-demo

ActiveProject[Framework](/categories/framework)

joy/voyager-api-laravel-demo
============================

Voyager api laravel demo

v1.0.7(4y ago)51504[2 issues](https://github.com/rxcod9/joy-voyager-api-laravel-demo/issues)[11 PRs](https://github.com/rxcod9/joy-voyager-api-laravel-demo/pulls)MITPHPPHP ^7.3|^8.0

Since Jun 16Pushed 1mo agoCompare

[ Source](https://github.com/rxcod9/joy-voyager-api-laravel-demo)[ Packagist](https://packagist.org/packages/joy/voyager-api-laravel-demo)[ Patreon](https://www.patreon.com/ramakant)[ RSS](/packages/joy-voyager-api-laravel-demo/feed)WikiDiscussions main Synced yesterday

READMEChangelog (7)Dependencies (17)Versions (21)Used By (0)

[![Latest Version](https://camo.githubusercontent.com/6d3076c6a855edda11e916b9e0fd3dbd3121b2c6e4840e38cdc2120c2a7d47fa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7278636f64392f6a6f792d766f79616765722d6170692d6c61726176656c2d64656d6f3f7374796c653d666c61742d737175617265)](https://github.com/rxcod9/joy-voyager-api-laravel-demo/releases)[![GitHub Workflow Status](https://camo.githubusercontent.com/99acb97cd212a399bba77703456c2458ed5a772f91170cd052beb51bacd054dc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7278636f64392f6a6f792d766f79616765722d6170692d6c61726176656c2d64656d6f2f74657374733f6c6162656c3d7465737473)](https://camo.githubusercontent.com/99acb97cd212a399bba77703456c2458ed5a772f91170cd052beb51bacd054dc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7278636f64392f6a6f792d766f79616765722d6170692d6c61726176656c2d64656d6f2f74657374733f6c6162656c3d7465737473)[![Total Downloads](https://camo.githubusercontent.com/1d00c8d131617b59dca3840cc73c5d1175aa17b7bfbb0ceb7ddf28826745a25f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f792f766f79616765722d6170692d6c61726176656c2d64656d6f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/joy/voyager-api-laravel-demo)

**Voyager api** - laravel demo
==============================

[](#voyager-api---laravel-demo)

By 🐼 [Ramakant Gangwar](https://github.com/rxcod9)

---

Laravel Admin &amp; BREAD System (API with Passport and Swagger support)

Working Example
---------------

[](#working-example)

You can try laravel demo here .

Installation Steps
------------------

[](#installation-steps)

### 1. Clone repo/Install Using Composer

[](#1-clone-repoinstall-using-composer)

You can clone/install the `Voyager api laravel demo` with the following commands:

```
git clone git@github.com:rxcod9/joy-voyager-api-laravel-demo.git
cd joy-voyager-api-laravel-demo

# OR Install using composer
composer create-project joy/voyager-api-laravel-demo
cd voyager-api-laravel-demo
```

### 2. Add the DB Credentials &amp; APP\_URL

[](#2-add-the-db-credentials--app_url)

Next make sure to create a new database and add your database credentials to your .env file:

```
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

```

You will also want to update your website URL inside of the `APP_URL` variable inside the .env file:

```
APP_URL=http://localhost:8000

```

### 3. Run The Installer

[](#3-run-the-installer)

Lastly, we can install voyager. You can do this either with or without dummy data. The dummy data will include 1 admin account (if no users already exists), 1 demo page, 4 demo posts, 2 categories and 7 settings.

To install Voyager without dummy simply run

```
php artisan voyager:install
```

If you prefer installing it with dummy run

```
php artisan voyager:install --with-dummy
```

To re-generate swagger docs run

```
php artisan joy-voyager-api:l5-swagger:generate
```

And we're all good to go!

Start up a local development server with `php artisan serve` And, visit .

To check the swagger api docs feature visit .

Creating an Admin User
----------------------

[](#creating-an-admin-user)

If you did go ahead with the dummy data, a user should have been created for you with the following login credentials:

> **email:** `admin@admin.com`
> **password:** `password`

NOTE: Please note that a dummy user is **only** created if there are no current users in your database.

If you did not go with the dummy user, you may wish to assign admin privileges to an existing user. This can easily be done by running this command:

```
php artisan voyager:admin your@email.com
```

If you did not install the dummy data and you wish to create a new admin user you can pass the `--create` flag, like so:

```
php artisan voyager:admin your@email.com --create
```

And you will be prompted for the user's name and password.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance53

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 72% 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

Every ~44 days

Recently: every ~0 days

Total

7

Last Release

1527d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95a00608fbd641680d1bbc969c8e820f4fbc1b72f2080fcbdb18c8c552857e2b?d=identicon)[rxcod9](/maintainers/rxcod9)

---

Top Contributors

[![rxcod9](https://avatars.githubusercontent.com/u/14928642?v=4)](https://github.com/rxcod9 "rxcod9 (77 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (30 commits)")

---

Tags

apidemojoyjoy-voyager-apilaravelpassportrest-apiswaggervoyagervoyager-apivoyager-passportapiframeworklaravelswaggercmsdemoswagger-uivoyagerjoyvoyager-apijoy-voyager-api

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/joy-voyager-api-laravel-demo/health.svg)

```
[![Health](https://phpackages.com/badges/joy-voyager-api-laravel-demo/health.svg)](https://phpackages.com/packages/joy-voyager-api-laravel-demo)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[joy/voyager-api

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

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

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[bpocallaghan/laravel-admin-starter

The Laravel Framework.

3511.4k](/packages/bpocallaghan-laravel-admin-starter)

PHPackages © 2026

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