PHPackages                             ydalbj/ocr - 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. ydalbj/ocr

ActiveLibrary[API Development](/categories/api)

ydalbj/ocr
==========

百度文字识别Api的laravel扩展库

v0.1.1(7y ago)032PHP

Since Jan 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ydalbj/laravel-baidu-ocr)[ Packagist](https://packagist.org/packages/ydalbj/ocr)[ RSS](/packages/ydalbj-ocr/feed)WikiDiscussions master Synced 3w ago

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

基于Baidu Ocr SDK的文字识别laravel service
===================================

[](#基于baidu-ocr-sdk的文字识别laravel-service)

Bairdu Ocr SDK \[\]

安装
==

[](#安装)

- 引入类库 composer require ydalbj/ocr
- Laravel config

    - 复制配置文件baidu.php

        ```
        $ php artisan vendor:publish --tag=orc
        ```
    - 配置Baidu Ocr Api Key环境变量(例如.env文件)

        ```
        BAIDU_APP_ID=xxxxx
        BAIDU_APP_KEY=xxxxx
        BAIDU_APP_SECRET=xxxxx

        ```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~0 days

Total

2

Last Release

2726d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7308871?v=4)[Liu Hui](/maintainers/ydalbj)[@ydalbj](https://github.com/ydalbj)

---

Top Contributors

[![ydalbj](https://avatars.githubusercontent.com/u/7308871?v=4)](https://github.com/ydalbj "ydalbj (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ydalbj-ocr/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

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

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/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)
