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

AbandonedArchivedLibrary[API Development](/categories/api)

ambersive/api
=============

This package provides some helper methods for a faster api development.

v0.1.5(5y ago)112[1 issues](https://github.com/AMBERSIVE/laravel-api/issues)[1 PRs](https://github.com/AMBERSIVE/laravel-api/pulls)MITPHP

Since Jul 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/AMBERSIVE/laravel-api)[ Packagist](https://packagist.org/packages/ambersive/api)[ RSS](/packages/ambersive-api/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (7)Dependencies (13)Versions (11)Used By (0)

Laravel API Helper Package
==========================

[](#laravel-api-helper-package)

by AMBERSIVE KG / Manuel Pirker-Ihl ( / @leganz on Twitter)

About
-----

[](#about)

The main goal of this project is to provide a tested environment for a fast api endpoint creation. The project will automatically create the required php files and ensure that also a minimum quality standard is provided.

This packages will help you create:

- Models (+ documentation)
- Resources (+ documentation)
- Collections (+ documentation)
- Controller (+ documentation)
- Tests (Models/Controller)
- Policy
- Factory

based on some simple yaml schema files.

This packages also comes with some out-of-the-box endpoint implemmentations (restful endpoints) like

- login
- registration
- lost password
- permissions (CRUD)
- roles (CRUD)

Changes of each version can be read in [CHANGELOG.md](CHANGELOG.md).

Supported databases
-------------------

[](#supported-databases)

Currenty supported databases are

- MySQL 5.x
- Sqlite

Please be aware that some functionality will not be there due to restrictions in the database technology (e.g. relations resolving).

Used packages
-------------

[](#used-packages)

- [pragmarx/yaml](https://github.com/antonioribeiro/yaml)
- [emadadly/laravel-uuid](https://github.com/EmadAdly/laravel-uuid)
- [darkaonline/l5-swagger](https://github.com/DarkaOnLine/L5-Swagger)
- [spatie/laravel-permission](https://github.com/spatie/laravel-permission)
- [tymon/jwt-auth](https://github.com/tymondesigns/jwt-auth)

Other requirements
------------------

[](#other-requirements)

This package is using prettier to automatically format files via command line. NodeJs is a must have requirement.

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

[](#installation)

#### 1) Run the install command

[](#1-run-the-install-command)

```
composer require ambersive/api
```

#### 2) Installation of all nodejs requirements

[](#2-installation-of-all-nodejs-requirements)

Before you can process please delete all default migration files. (eg. for users table). Please notice that the following command will move some files from your config folder into a "ori" folder as backup, cause this package will overwrite some setting in the basic auth.php config file.

```
php artisan api:init

```

Then migrate the databse to be sure all the required tables are migrated.

```
php artisan migrate

```

Default setup
-------------

[](#default-setup)

This package provides some standard implementations of the

- login
- registration
- forgot password / set password
- user endpoints (incl. current user)

and some basic endpoints for permissions, roles and users. Some of the basic endpoints can be replaced and customized. For further information please read the documentation.

#### Seeds

[](#seeds)

This package also includes some seeds incl. user seeding. During the setup process seed files will be created in *resources/seedfiles*.

#### Creating folders and files

[](#creating-folders-and-files)

Schemafiles and most of the required files are stored in specfic folders. Via the ambersive-api config file all of those paths can be set. The following command will create the required folders. You will not need to run this command if you run the api:init command.

```
php artisan api:prepare

```

Documentation
-------------

[](#documentation)

Further information about this package can be found [here](docs/overview.md).

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.2% 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 ~13 days

Total

8

Last Release

2051d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80b1e9efacc425a65161eda871719db5a51d598f46e3afc5455009a889c1483a?d=identicon)[sushidev](/maintainers/sushidev)

---

Top Contributors

[![leganz](https://avatars.githubusercontent.com/u/3373530?v=4)](https://github.com/leganz "leganz (41 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

---

Tags

apihacktoberfesthelperlaravellaravel-framework

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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