PHPackages                             walkerchiu/php-api-int - 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. walkerchiu/php-api-int

ActiveLibrary[API Development](/categories/api)

walkerchiu/php-api-int
======================

v1.0.0(2y ago)00MITPHPPHP ^7.3

Since Aug 10Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/walkerchiu/php-api-int)[ Packagist](https://packagist.org/packages/walkerchiu/php-api-int)[ RSS](/packages/walkerchiu-php-api-int/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

php-api-int
===========

[](#php-api-int)

php-api-int is a Laravel library for dealing with api management.

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

[](#installation)

Use the package manager [composer](https://getcomposer.org/download/) to install php-api-int.

```
composer require walkerchiu/php-api-int
```

Usage
-----

[](#usage)

### Package settings

[](#package-settings)

```
# CLI

# Publish this package settings
php artisan vendor:publish

# Overwrite default settings
vi config/wk-api.php

# Overwrite translations
cd resources/lang/vendor/php-api
vi ...

# Overwrite views
cd resources/views/vendor/php-api
vi ...

# See migrations
cd database/migrations
cat ...
```

### Core settings

[](#core-settings)

```
# CLI

# Overwrite default settings
vi config/wk-core.php

# See class section
# See table section
```

### Migrations

[](#migrations)

```
# CLI

# Generate a database migration
php artisan make:migration

# Run all of your outstanding migrations
php artisan migrate

# See which migrations have run thus far
php artisan migrate:status
```

### How to use

[](#how-to-use)

#### Entity

[](#entity)

In fact, this usage is not limited to Entity, and other usages such as Repository and Service are also similar.

You can view the source code to understand the methods provided by these classes.

```
# PHP

# Use directly
# You can find more settings in config/wk-core.php
use WalkerChiu\API\Models\Entities\Setting

Setting::all();
```

```
# PHP

# Use core setting
# You can find more settings in config/wk-core.php
use Illuminate\Support\Facades\App;

App::make(config('wk-core.class.api.setting'));
```

#### FormRequest

[](#formrequest)

```
# PHP

# controller

# You can find more information in Models/Forms folder
use WalkerChiu\API\Models\Forms\SettingFormRequest

/**
 * Store a newly created resource in storage.
 *
 * @param  \WalkerChiu\API\Models\Forms\SettingFormRequest  $request
 * @return \Illuminate\Http\Response
 */
public function store(SettingFormRequest $request)
{
    # ...
}
```

### Useful commands

[](#useful-commands)

```
# CLI

# Truncate all tables of this package
php artisan command:APICleaner
```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

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

1058d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10693648?v=4)[walkerchiu](/maintainers/walkerchiu)[@walkerchiu](https://github.com/walkerchiu)

---

Top Contributors

[![walkerchiu](https://avatars.githubusercontent.com/u/10693648?v=4)](https://github.com/walkerchiu "walkerchiu (9 commits)")

### Embed Badge

![Health badge](/badges/walkerchiu-php-api-int/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k14](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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