repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/lang/ja/health.php | resources/lang/ja/health.php | <?php
return [
'pages' => [
'health_check_results' => [
'buttons' => [
'refresh' => '更新',
],
'heading' => 'アプリケーションの健康状態',
'navigation' => [
'group' => '設定',
'label' => 'アプリケーションの健康状態',
],
... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/lang/pt_PT/health.php | resources/lang/pt_PT/health.php | <?php
return [
'pages' => [
'health_check_results' => [
'buttons' => [
'refresh' => 'Atualizar',
],
'heading' => 'Saúde da Aplicação',
'navigation' => [
'group' => 'Configurações',
'label' => 'Saúde da Aplica... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/lang/ar/health.php | resources/lang/ar/health.php | <?php
return [
'pages' => [
'health_check_results' => [
'buttons' => [
'refresh' => 'تحديث',
],
'heading' => 'حالة النظام',
'navigation' => [
'group' => 'إعدادات',
'label' => 'حالة النظام',
],
... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/lang/vi/health.php | resources/lang/vi/health.php | <?php
return [
'pages' => [
'health_check_results' => [
'buttons' => [
'refresh' => 'Làm mới',
],
'heading' => 'Tình trạng ứng dụng',
'navigation' => [
'group' => 'Cài đặt',
'label' => 'Tình trạng ứng dụng',
... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/lang/nl/health.php | resources/lang/nl/health.php | <?php
return [
'pages' => [
'health_check_results' => [
'buttons' => [
'refresh' => 'Vernieuwen',
],
'heading' => 'Gezondheid van de applicatie',
'navigation' => [
'group' => 'Instellingen',
'label' => 'Gezon... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/lang/fr/health.php | resources/lang/fr/health.php | <?php
return [
'pages' => [
'health_check_results' => [
'buttons' => [
'refresh' => 'Rafraîchir',
],
'heading' => 'Santé de l\'application',
'navigation' => [
'group' => 'Paramètres',
'label' => 'Santé de l\'... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/lang/it/health.php | resources/lang/it/health.php | <?php
return [
'pages' => [
'health_check_results' => [
'buttons' => [
'refresh' => 'Aggiorna',
],
'heading' => "Salute dell'Applicazione",
'navigation' => [
'group' => 'Impostazioni',
'label' => "Salute dell... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/lang/id/health.php | resources/lang/id/health.php | <?php
return [
'pages' => [
'health_check_results' => [
'buttons' => [
'refresh' => 'Segarkan',
],
'heading' => 'Kesehatan Aplikasi',
'navigation' => [
'group' => 'Pengaturan',
'label' => 'Kesehatan Aplikasi'... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/lang/fa/health.php | resources/lang/fa/health.php | <?php
return [
'pages' => [
'health_check_results' => [
'buttons' => [
'refresh' => 'بروزرسانی',
],
'heading' => 'سلامتبرنامه',
'navigation' => [
'group' => 'تنظیمات',
'label' => 'سلامتبرنامه',
... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/lang/ru/health.php | resources/lang/ru/health.php | <?php
return [
'pages' => [
'health_check_results' => [
'buttons' => [
'refresh' => 'Обновить',
],
'heading' => 'Состояние приложения',
'navigation' => [
'group' => 'Настройки',
'label' => 'Состояние приложен... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/lang/es/health.php | resources/lang/es/health.php | <?php
return [
'pages' => [
'health_check_results' => [
'buttons' => [
'refresh' => 'Refrescar',
],
'heading' => 'Salud de la aplicación',
'navigation' => [
'group' => 'Configuración',
'label' => 'Salud de la... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
shuvroroy/filament-spatie-laravel-health | https://github.com/shuvroroy/filament-spatie-laravel-health/blob/e894e437c7582f211d563c243ce89b93cdd4cea4/resources/views/pages/health-check-results.blade.php | resources/views/pages/health-check-results.blade.php | @php
if (!function_exists('iconColor')) {
function iconColor($status)
{
return match ($status) {
Spatie\Health\Enums\Status::ok()->value => 'success',
Spatie\Health\Enums\Status::warning()->value => 'warning',
Spatie\Health\Enums\Status::sk... | php | MIT | e894e437c7582f211d563c243ce89b93cdd4cea4 | 2026-01-05T02:49:57.357262Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/UnrecoverableMutexException.php | src/UnrecoverableMutexException.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex;
/**
* Unrecoverable Mutex exception
*
* You shouldn't try to catch i... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/MutexFabric.php | src/MutexFabric.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex;
use NinjaMutex\Lock\LockInterface;
/**
* Mutex fabric
*
* @author K... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Mutex.php | src/Mutex.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex;
use NinjaMutex\Lock\LockInterface;
/**
* Mutex
*
* @author Kamil Dz... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/MutexException.php | src/MutexException.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex;
use Exception;
/**
* Base mutex exception
*
* @author Kamil Dziedzi... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/DirectoryLock.php | src/Lock/DirectoryLock.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
/**
* Lock implementor using mkdir
*
* @author Jan Voracek <jan... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/MemcacheLock.php | src/Lock/MemcacheLock.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
use Memcache;
/**
* Lock implementor using Memcache
*
* @autho... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/PhpRedisLock.php | src/Lock/PhpRedisLock.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) leo108 <root@leo108.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
use Redis;
/**
* Lock implementor using PHPRedis
*
* @author leo108 <roo... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/LockInformationProviderInterface.php | src/Lock/LockInformationProviderInterface.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
/**
* Provides lock debugging information
* @package NinjaMutex... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/FlockLock.php | src/Lock/FlockLock.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
/**
* Lock implementor using flock
*
* @author Kamil Dziedzic <... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/BasicLockInformationProvider.php | src/Lock/BasicLockInformationProvider.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
class BasicLockInformationProvider implements LockInformationPro... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/MySQLPDOLock.php | src/Lock/MySQLPDOLock.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
use PDO;
/**
* Lock implementor using MySQL PDO driver
*
* @au... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/LockInterface.php | src/Lock/LockInterface.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
/**
* Lock implementor
*
* @author Kamil Dziedzic <arvenil@klec... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/ResolvedHostnameLockInformationProvider.php | src/Lock/ResolvedHostnameLockInformationProvider.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
class ResolvedHostnameLockInformationProvider extends BasicLockI... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/LockAbstract.php | src/Lock/LockAbstract.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
use NinjaMutex\UnrecoverableMutexException;
/**
* Abstract lock ... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/LockExpirationInterface.php | src/Lock/LockExpirationInterface.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
/**
* Lock implementor
*
* @author Kamil Dziedzic <arvenil@klec... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/PredisRedisLock.php | src/Lock/PredisRedisLock.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
use Predis;
/**
* Lock implementor using Predis (client library ... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/src/Lock/MemcachedLock.php | src/Lock/MemcachedLock.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Lock;
use Memcached;
/**
* Lock implementor using Memcached
*
* @aut... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/MutexLocksTest.php | tests/MutexLocksTest.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests;
use NinjaMutex\Lock\LockAbstract;
use NinjaMutex\Lock\LockInterf... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/MutexFabricTest.php | tests/MutexFabricTest.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests;
use NinjaMutex\Lock\LockInterface;
use NinjaMutex\MutexException... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/MutexTest.php | tests/MutexTest.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests;
use NinjaMutex\Mutex;
use NinjaMutex\Tests\Mock\MockLock;
use Ni... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/AbstractTest.php | tests/AbstractTest.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests;
use DirectoryIterator;
use NinjaMutex\Lock\DirectoryLock;
use Ni... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Mock/MockMemcache.php | tests/Mock/MockMemcache.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Mock;
/**
* Mock memcache to mimic mutex functionality
*
* @au... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Mock/MockPDOStatement.php | tests/Mock/MockPDOStatement.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Mock;
use PDO;
use PDOStatement;
/**
* Mock PDOStatement to use... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Mock/MockLock.php | tests/Mock/MockLock.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Mock;
use NinjaMutex\Lock\LockInterface;
/**
* Mock to mimic Lo... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Mock/MockPredisClient.php | tests/Mock/MockPredisClient.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Mock;
/**
* Mock Predis\Client to mimic Predis functionality
*
... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Mock/MockPDO.php | tests/Mock/MockPDO.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Mock;
use PDO;
use PDOStatement;
/**
* Mock PDO to mimic *_lock... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Mock/PermanentServiceInterface.php | tests/Mock/PermanentServiceInterface.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Mock;
/**
* Backend interface
*
* @author Kamil Dziedzic <arve... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Mock/MockMemcached.php | tests/Mock/MockMemcached.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Mock;
/**
* Mock memcached to mimic mutex functionality
*
* @a... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Mock/MockPhpRedisClient.php | tests/Mock/MockPhpRedisClient.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) leo108 <root@leo108.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Mock;
/**
* Mock \Redis to mimic PhpRedis functionality
*
* @author leo1... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Lock/LockTest.php | tests/Lock/LockTest.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Lock;
use NinjaMutex\Lock\LockInterface;
use NinjaMutex\Tests\Abs... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Lock/Fabric/MemcacheLockFabric.php | tests/Lock/Fabric/MemcacheLockFabric.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Lock\Fabric;
use Memcache;
use NinjaMutex\Lock\MemcacheLock;
cla... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Lock/Fabric/MemcachedLockFabric.php | tests/Lock/Fabric/MemcachedLockFabric.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Lock\Fabric;
use Memcached;
use NinjaMutex\Lock\MemcachedLock;
c... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
arvenil/mutex | https://github.com/arvenil/mutex/blob/82cbb2c56de3aa97b593ae9ba38f76b396f49806/tests/Lock/Fabric/LockFabricWithExpirationInterface.php | tests/Lock/Fabric/LockFabricWithExpirationInterface.php | <?php
/**
* This file is part of ninja-mutex.
*
* (C) Kamil Dziedzic <arvenil@klecza.pl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NinjaMutex\Tests\Lock\Fabric;
use NinjaMutex\Lock\LockExpirationInterface;
use Nin... | php | MIT | 82cbb2c56de3aa97b593ae9ba38f76b396f49806 | 2026-01-05T02:50:06.469363Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Manager.php | src/Manager.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR;
use Closure;
use Godruoyi\Container\ContainerInterface;
use Godruoyi\OCR\Contracts\Client;
use InvalidArgumentException;
abstra... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Application.php | src/Application.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR;
use Closure;
use Exception;
use Godruoyi\Container\Container;
use Godruoyi\Container\ServiceProviderInterface;
use Godruoyi\OCR\... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Config.php | src/Config.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR;
class Config
{
/**
* Config data.
*
* @var array
*/
protected $items;
/**
* Make config in... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Requests/AliyunRequest.php | src/Requests/AliyunRequest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Requests;
use Godruoyi\OCR\Support\FileConverter;
use GuzzleHttp\Middleware;
use InvalidArgumentException;
use Psr\Http\Message\R... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Requests/BaiduRequest.php | src/Requests/BaiduRequest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Requests;
use Godruoyi\OCR\Support\BaiduAccessToken;
use Godruoyi\OCR\Support\FileConverter;
use Psr\Http\Message\ResponseInterfa... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Requests/Request.php | src/Requests/Request.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Requests;
use Godruoyi\Container\ContainerInterface;
use Godruoyi\OCR\Contracts\Request as RequestInterface;
use Godruoyi\OCR\Sup... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Requests/TencentRequest.php | src/Requests/TencentRequest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Requests;
use Godruoyi\OCR\Support\FileConverter;
use Godruoyi\OCR\Support\TencentSignatureV3;
use Psr\Http\Message\RequestInterf... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Support/Http.php | src/Support/Http.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Support;
use GuzzleHttp\Client as HttpClient;
use Psr\Http\Message\ResponseInterface;
class Http
{
/**
* GuzzleHttp\Cli... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Support/Encoder.php | src/Support/Encoder.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Support;
class Encoder
{
/**
* 生成标准化 http 请求头串.
*
* @return mixed
*/
public static function getCanoni... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Support/BaiduAccessToken.php | src/Support/BaiduAccessToken.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Support;
use Psr\SimpleCache\CacheInterface;
use RuntimeException;
class BaiduAccessToken
{
const API_URL = 'https://aip.bai... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Support/Macroable.php | src/Support/Macroable.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Support;
use BadMethodCallException;
use Closure;
use ReflectionClass;
use ReflectionMethod;
trait Macroable
{
/**
* Th... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Support/Arr.php | src/Support/Arr.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Support;
use ArrayAccess;
use InvalidArgumentException;
class Arr
{
use Macroable;
/**
* Determine whether the giv... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Support/FileConverter.php | src/Support/FileConverter.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Support;
use Exception;
use RuntimeException;
use SplFileInfo;
class FileConverter
{
private static $http;
/**
* C... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Support/Response.php | src/Support/Response.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Support;
use GuzzleHttp\Psr7\Response as GuzzleHttpResponse;
use ReturnTypeWillChange;
class Response extends GuzzleHttpResponse... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Support/Logger.php | src/Support/Logger.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Support;
use function implode;
use Monolog\Formatter\LineFormatter;
use Monolog\Handler\ErrorLogHandler;
use Monolog\Handler\Han... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Support/TencentSignatureV3.php | src/Support/TencentSignatureV3.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Support;
use InvalidArgumentException;
use Psr\Http\Message\RequestInterface;
class TencentSignatureV3
{
public const TC3_AL... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Clients/Client.php | src/Clients/Client.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Clients;
use BadMethodCallException;
use Closure;
use Godruoyi\OCR\Contracts\Client as ClientInterface;
use Psr\Http\Message\Resp... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Clients/AliyunClient.php | src/Clients/AliyunClient.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Clients;
use Godruoyi\OCR\Requests\AliyunRequest;
/**
* 印刷文字识别.
*
* @author godruoyi godruoyi@gmail.com>
* @copyright 201... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Clients/BaiduClient.php | src/Clients/BaiduClient.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Clients;
use Godruoyi\OCR\Requests\BaiduRequest;
/**
* Baidu OCR 识别.
*
* @author godruoyi godruoyi@gmail.com>
* @copyrigh... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Clients/TencentClient.php | src/Clients/TencentClient.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Clients;
use Godruoyi\OCR\Requests\TencentRequest;
/**
* @author godruoyi godruoyi@gmail.com>
* @copyright 2017
*
* @see ... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Contracts/Client.php | src/Contracts/Client.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Contracts;
use GuzzleHttp\Exception\RequestException;
use Psr\Http\Message\ResponseInterface;
interface Client
{
/**
* ... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Contracts/Request.php | src/Contracts/Request.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Contracts;
use Psr\Http\Message\ResponseInterface;
interface Request
{
/**
* Fire a ocr http request.
*
* @pa... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Providers/CacheServiceProvider.php | src/Providers/CacheServiceProvider.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Providers;
use Godruoyi\Container\ContainerInterface;
use Godruoyi\Container\ServiceProviderInterface;
use Psr\SimpleCache\CacheI... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Providers/LogServiceProvider.php | src/Providers/LogServiceProvider.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Providers;
use Godruoyi\Container\ContainerInterface;
use Godruoyi\Container\ServiceProviderInterface;
use Godruoyi\OCR\Support\L... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/src/Providers/HttpServiceProvider.php | src/Providers/HttpServiceProvider.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Godruoyi\OCR\Providers;
use Godruoyi\Container\ContainerInterface;
use Godruoyi\Container\ServiceProviderInterface;
use Godruoyi\OCR\Support\H... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/ApplicationTest.php | tests/ApplicationTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test;
use Godruoyi\Container\Container;
use Godruoyi\OCR\Application;
use Godruoyi\OCR\Clients\AliyunClient;
use Godruoyi\OCR\Clients\BaiduCli... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/TestCase.php | tests/TestCase.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test;
use Godruoyi\OCR\Application;
use Godruoyi\OCR\Support\Http;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\Middleware;
use GuzzleHt... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/CustomServiceProvider.php | tests/CustomServiceProvider.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test;
use Godruoyi\Container\ContainerInterface;
use Godruoyi\Container\ServiceProviderInterface;
/**
* service provider interface.
*
* @a... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/ConfigTest.php | tests/ConfigTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test;
use Godruoyi\OCR\Config;
class ConfigTest extends TestCase
{
public function test_basic()
{
$c = new Config;
$... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Requests/BaseRequestTest.php | tests/Requests/BaseRequestTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Requests;
use Godruoyi\Container\ContainerInterface;
use Godruoyi\OCR\Requests\BaiduRequest;
use Godruoyi\OCR\Support\BaiduAccessToken;
u... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Requests/AliyunRequestTest.php | tests/Requests/AliyunRequestTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Requests;
use Exception;
use Godruoyi\OCR\Application;
use Godruoyi\OCR\Requests\AliyunRequest;
use Godruoyi\OCR\Support\Response;
use In... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Requests/TencentRequestTest.php | tests/Requests/TencentRequestTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Requests;
use Godruoyi\OCR\Requests\TencentRequest;
use Godruoyi\OCR\Support\Response;
use Test\TestCase;
class TencentRequestTest exten... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Custom/HuaweiClient.php | tests/Custom/HuaweiClient.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Custom;
use Godruoyi\OCR\Contracts\Client;
use Godruoyi\OCR\Support\Response;
use Psr\Http\Message\ResponseInterface;
class HuaweiClient... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Custom/HuaweiClient2.php | tests/Custom/HuaweiClient2.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Custom;
use Godruoyi\OCR\Clients\Client;
class HuaweiClient2 extends Client
{
public function idcard($url, $images, array $options =... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Support/ArrTest.php | tests/Support/ArrTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Support;
use BadMethodCallException;
use Godruoyi\OCR\Support\Arr;
use Test\TestCase;
class ArrTest extends TestCase
{
public functi... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Support/TencentSignatureV3Test.php | tests/Support/TencentSignatureV3Test.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Support;
use Godruoyi\OCR\Support\TencentSignatureV3;
use GuzzleHttp\Psr7\Request;
use InvalidArgumentException;
use Test\TestCase;
clas... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Support/EncoderTest.php | tests/Support/EncoderTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Support;
use Godruoyi\OCR\Support\Encoder as EncoderAlias;
use Test\TestCase;
class EncoderTest extends TestCase
{
public function t... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Support/ResponseTest.php | tests/Support/ResponseTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Support;
use Godruoyi\OCR\Support\Response;
use Test\TestCase;
class ResponseTest extends TestCase
{
public function test_to_array()... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Support/LoggerTest.php | tests/Support/LoggerTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Support;
use Godruoyi\OCR\Support\Logger;
use InvalidArgumentException as InvalidArgumentExceptionAlias;
use Monolog\Handler\ErrorLogHand... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Support/FileConverterTest.php | tests/Support/FileConverterTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Support;
use Godruoyi\OCR\Support\FileConverter;
use GuzzleHttp\Psr7\Response;
use RuntimeException;
use SplFileInfo;
use stdClass;
use T... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Support/BaiduAccessTokenTest.php | tests/Support/BaiduAccessTokenTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Support;
use Godruoyi\OCR\Support\BaiduAccessToken;
use Godruoyi\OCR\Support\Response;
use RuntimeException;
use Symfony\Component\Cache\... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Clients/CustomClientTest.php | tests/Clients/CustomClientTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Clients;
use Test\Custom\HuaweiClient;
use Test\TestCase;
class CustomClientTest extends TestCase
{
public function test_custom()
... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Clients/TencentClientTest.php | tests/Clients/TencentClientTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Clients;
use Godruoyi\OCR\Clients\TencentClient;
use Godruoyi\OCR\Requests\TencentRequest;
use Godruoyi\OCR\Support\Response;
use Psr\Htt... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Clients/BaseClientTest.php | tests/Clients/BaseClientTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Clients;
use BadMethodCallException;
use Godruoyi\OCR\Support\Response;
use Test\TestCase;
class BaseClientTest extends TestCase
{
p... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Clients/AliyunClientTest.php | tests/Clients/AliyunClientTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Clients;
use Godruoyi\OCR\Clients\AliyunClient;
use Godruoyi\OCR\Requests\AliyunRequest;
use Godruoyi\OCR\Support\Http;
use Godruoyi\OCR\... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Clients/BaiduClientTest.php | tests/Clients/BaiduClientTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Clients;
use Godruoyi\OCR\Clients\BaiduClient;
use Godruoyi\OCR\Requests\BaiduRequest;
use Godruoyi\OCR\Support\Response;
use Psr\Http\Me... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/Clients/RealRequestClientTest.php | tests/Clients/RealRequestClientTest.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Test\Clients;
use Godruoyi\OCR\Support\Response;
use Test\TestCase;
class RealRequestClientTest extends TestCase
{
public function test_f... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
godruoyi/ocr | https://github.com/godruoyi/ocr/blob/4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61/tests/stubs/config.php | tests/stubs/config.php | <?php
/*
* This file is part of the godruoyi/ocr.
*
* (c) Godruoyi <gmail@godruoyi.com>
*
* This source file is subject to the MIT license that is bundled.
*/
return [
/*
|--------------------------------------------------------------------------
| Default client
|-------------------------------... | php | MIT | 4ba81c2c13c6ba0b174ab0ab7d703eb58bb6bc61 | 2026-01-05T02:50:16.842464Z | false |
phly/conduit | https://github.com/phly/conduit/blob/fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc/src/Route.php | src/Route.php | <?php
namespace Phly\Conduit;
use InvalidArgumentException;
use OutOfRangeException;
/**
* Value object representing route-based middleware
*
* Details the subpath on which the middleware is active, and the
* handler for the middleware itself.
*
* @property-read callable $handler Handler for this route
* @prop... | php | MIT | fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc | 2026-01-05T02:50:37.961011Z | false |
phly/conduit | https://github.com/phly/conduit/blob/fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc/src/MiddlewarePipe.php | src/MiddlewarePipe.php | <?php
namespace Phly\Conduit;
use InvalidArgumentException;
use Phly\Http\Uri;
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
use SplQueue;
/**
* Pipe middleware like unix pipes.
*
* This class implements a pipe-line of middleware, which can be attached ... | php | MIT | fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc | 2026-01-05T02:50:37.961011Z | false |
phly/conduit | https://github.com/phly/conduit/blob/fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc/src/Utils.php | src/Utils.php | <?php
namespace Phly\Conduit;
use ReflectionFunction;
use ReflectionMethod;
/**
* Utility methods
*/
abstract class Utils
{
/**
* Get the arity of a handler
*
* @param string|callable|object $callable
* @return int
*/
public static function getArity($callable)
{
if (is_o... | php | MIT | fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc | 2026-01-05T02:50:37.961011Z | false |
phly/conduit | https://github.com/phly/conduit/blob/fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc/src/ErrorMiddlewareInterface.php | src/ErrorMiddlewareInterface.php | <?php
namespace Phly\Conduit;
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
/**
* Middleware for handling errors.
*
* Error middleware is essentially the same as the `MiddlewareInterface`, with
* one key distinction: it has an additional argument prepe... | php | MIT | fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc | 2026-01-05T02:50:37.961011Z | false |
phly/conduit | https://github.com/phly/conduit/blob/fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc/src/Dispatch.php | src/Dispatch.php | <?php
namespace Phly\Conduit;
use Exception;
/**
* Dispatch middleware
*
* This class is an implementation detail of Next.
*
* @internal
*/
class Dispatch
{
/**
* Dispatch middleware
*
* Given a route (which contains the handler for given middleware),
* the $err value passed to $next, $n... | php | MIT | fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc | 2026-01-05T02:50:37.961011Z | false |
phly/conduit | https://github.com/phly/conduit/blob/fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc/src/FinalHandler.php | src/FinalHandler.php | <?php
namespace Phly\Conduit;
use Exception;
use Zend\Escaper\Escaper;
/**
* Handle incomplete requests
*/
class FinalHandler
{
/**
* @var array
*/
private $options;
/**
* @param array $options Options that change default override behavior.
*/
public function __construct(array $... | php | MIT | fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc | 2026-01-05T02:50:37.961011Z | false |
phly/conduit | https://github.com/phly/conduit/blob/fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc/src/MiddlewareInterface.php | src/MiddlewareInterface.php | <?php
namespace Phly\Conduit;
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
/**
* Middleware.
*
* Middleware accepts a request and a response, and optionally a
* callback `$out` (called if the middleware wants to allow further
* middleware to process ... | php | MIT | fe05b72da0bf5b6af1bfffe22e9c0a9c4c362ccc | 2026-01-05T02:50:37.961011Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.