PHPackages                             ralphowino/restful-api-helper - 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. ralphowino/restful-api-helper

ActiveLibrary[API Development](/categories/api)

ralphowino/restful-api-helper
=============================

This is a starter package for a laravel api using JWT authentication and the Dingo api package

172524[8 issues](https://github.com/ralphowino/restful-api-helper/issues)PHP

Since Apr 20Pushed 9y ago4 watchersCompare

[ Source](https://github.com/ralphowino/restful-api-helper)[ Packagist](https://packagist.org/packages/ralphowino/restful-api-helper)[ RSS](/packages/ralphowino-restful-api-helper/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

\#API STARTER PACKAGE [![Build Status](https://camo.githubusercontent.com/6e4fa9a48e8fc029528a7441585e6ea45a61d337bd5efdbd8390ef3a5e32e403/68747470733a2f2f7472617669732d63692e6f72672f72616c70686f77696e6f2f7265737466756c2d6170692d68656c7065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ralphowino/restful-api-helper)

This is a laravel package that helps you start of building a laravel API. It contains useful command generators to generate various files for your API and is completely configurable. The generators include:

- `starter:init`
- `starter:model  --fillable[=FILLABLE] --migration --relationships[=RELATIONSHIPS] --repository  --schema[=SCHEMA] --soft-deletes --table[=TABLE] --transformer`
- `starter:migration  --schema[=SCHEMA] --soft-deletes --model[=MODEL]`
- `starter:controller  --automate --except[=EXCEPT] --only[=ONLY] --plain --repository[=REPOSITORY] --resource --transformer[=TRANSFORMER]`
- `starter:repository  --model`
- `starter:transformer  --fields[=FIELDS] --includes[=INCLUDES] --model[=MODEL]`

\##Installation

\###Step 1: Install the composer packages

Add

```
{
   "minimum-stability" : "dev",
   "prefer-stable" : true
}
```

to your composer.json file.

Run in terminal

```
composer require ralphowino/restful-api-helper 1.0.x-dev.

```

\###Step 2: Add the Service Provider

Add the service provider in `config/app.php`:

```
Ralphowino\ApiStarter\ApiStarterServiceProvider::class

```

\###Step 3: Publish the packages configuration files

Publish the package's assets by running

```
php artisan vendor:publish --provider="Ralphowino\ApiStarter\ApiStarterServiceProvider"

```

\###Step 4: Initialize the package

Initialize the project by running

```
php artisan starter:init

```

Select directories to save the generated files in.

*NB: Just press enter for every question to retain the default.*

\###Step 5: Generate a new jwt token

Generate a new jwt token for the application by running

```
php artisan jwt:generate

```

AND YOU ARE READY TO GO!

For more documentation on the package checkout

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance11

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10953609?v=4)[Ralphowino Consulting](/maintainers/ralphowino)[@ralphowino](https://github.com/ralphowino)

---

Top Contributors

[![samuelkubai](https://avatars.githubusercontent.com/u/10863328?v=4)](https://github.com/samuelkubai "samuelkubai (20 commits)")[![rowino](https://avatars.githubusercontent.com/u/2177704?v=4)](https://github.com/rowino "rowino (3 commits)")[![orbex](https://avatars.githubusercontent.com/u/2074126?v=4)](https://github.com/orbex "orbex (1 commits)")

### Embed Badge

![Health badge](/badges/ralphowino-restful-api-helper/health.svg)

```
[![Health](https://phpackages.com/badges/ralphowino-restful-api-helper/health.svg)](https://phpackages.com/packages/ralphowino-restful-api-helper)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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