PHPackages                             laravelextends/requestapi - 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. laravelextends/requestapi

ActiveLibrary[API Development](/categories/api)

laravelextends/requestapi
=========================

laravel requestapi

v5.0.33.x-dev(9y ago)047MITPHPPHP &gt;=5.6.4

Since Mar 15Pushed 9y ago1 watchersCompare

[ Source](https://github.com/szp043725449/laravelextends-requestapi)[ Packagist](https://packagist.org/packages/laravelextends/requestapi)[ Docs](https://github.com/szp043725449)[ RSS](/packages/laravelextends-requestapi/feed)WikiDiscussions develop Synced 3w ago

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

Laravelextends/requestapi
=========================

[](#laravelextendsrequestapi)

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

[](#documentation)

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

[](#installation)

Require this package

```
php composer.phpar require "laravelextends/requestapi:dev-master"
```

After adding the package, add the ServiceProvider to the providers array in `config/app.php`

```
Integration\Api\IntegrationServiceProvider::class,
```

To publish the config use:

```
php artisan vendor:publish --tag="config"
```

```
php artisan integration:annotaion:create
```

```
    /**
     * @Integration(configure="user.login", power="sdfd", cache={"caching_time":0.5, "cache_name"="ssdf"})
     */
```

```
User/abc.php

return [
    'parent' => ['user.abc', 'user.sdf'],//继承的配置文件

    "responseType" => "json", //html|json

    "requestParamters" => [

        "token" => [//因为BaseConfig有token所以会继承,如果不写则默认在account_type 后添加
        ],
        "account_type" => [
            "validate"=>[
                'rules' => "required",
                'message'=> ["account_type.required" => ['code'=>'100001', 'message'=>'参数账号类型必填']],
                'validate_function'=>function(){
                    return new SuccessMessage();

                },

            ],
            'attached_value' => [
                "realParamterName" => "s",
                "value" => function(Request $request,
                                    Configure $iconfigure){
                    $accountType = $request->get('account_type');

                    return $accountType;
                }

            ]

        ]
    ],
];
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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

Every ~35 days

Total

3

Last Release

3323d ago

### Community

Maintainers

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

---

Top Contributors

[![szp043725449](https://avatars.githubusercontent.com/u/7792458?v=4)](https://github.com/szp043725449 "szp043725449 (28 commits)")

### Embed Badge

![Health badge](/badges/laravelextends-requestapi/health.svg)

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

###  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)
