PHPackages                             redam/laravel-eolink - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. redam/laravel-eolink

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

redam/laravel-eolink
====================

Interface document import for PHP.

v1.0.0(3y ago)02MITPHPPHP ^7.3

Since Oct 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/zhangswgithub/laravel-eolink)[ Packagist](https://packagist.org/packages/redam/laravel-eolink)[ RSS](/packages/redam-laravel-eolink/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

文档说明
----

[](#文档说明)

> 该SDK是基于laravel框架开发

> 该SDK的作用：调用SDK方法直接把数据更新到eolink文档

### Laravel 应用：

[](#laravel-应用)

1. 包安装方式：

- composer require redam/laravel-eolink

2. 发布配置文件

    > php artisan vendor:publish --provider=Redam\\Eolink\\EolinkServiceProvider
    >
    > 发布之后在 config/eolink.php 中配置
3. 在 config/database.php 中配置数据库驱动，然后再 env中配置数据库
4. 使用

    ```
     use Redam\Eolink\Eolink;

     $eolink = new Eolink();

     // 请求参数和响应数据已经格式化
     $eolink->addApiInterface('创建者', '文档名称', 'url地址', '请求方式' , '分组名称', '项目名称', '请求参数', '响应');
     // 请求参数和响应数据没有格式化
     $eolink->addNotFormatApiInterface('创建者', '文档名称', 'url地址', '请求方式' , '分组名称', '项目名称', '请求参数', '响应');
     // 添加项目
     $eolink->addProject('创建者','项目名称','空间名称','项目描述');
     // 添加分组
     $eolink->addGroup('分组名称', '项目名称', '上级分组名称', '空间名称');

    ```
5. 格式化数据示例

    ```
    // 请求参数
    $requestData = [
     [
         "key"=> "user_name",
         "must"=> "是",
         "desc"=> "",
         "value"=> "chegr"
     ],
     [
         "key"=> "security_one",
         "must"=> "是",
         "desc"=> "",
         "value"=> "1"
     ]
    ];

    // 响应
    $responseData = [
     [
         "key"=> "code",
         "desc"=> "",
         "value"=> "200"
     ],
     [
         "key"=> "data",
         "desc"=> "",
         "value"=> ""
     ],
     [
         "key"=> "message",
         "desc"=> "",
         "value"=> "success"
     ]
    ];

    ```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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

1298d ago

### Community

Maintainers

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

---

Tags

laraveleolinklaravel-eolink

### Embed Badge

![Health badge](/badges/redam-laravel-eolink/health.svg)

```
[![Health](https://phpackages.com/badges/redam-laravel-eolink/health.svg)](https://phpackages.com/packages/redam-laravel-eolink)
```

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[forxer/laravel-gravatar

A library providing easy gravatar integration in a Laravel project.

4235.6k](/packages/forxer-laravel-gravatar)

PHPackages © 2026

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