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
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/Validation.php
app/Config/Validation.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Validation\StrictRules\CreditCardRules; use CodeIgniter\Validation\StrictRules\FileRules; use CodeIgniter\Validation\StrictRules\FormatRules; use CodeIgniter\Validation\StrictRules\Rules; class Validation extends BaseConfig { // ---------...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/Cache.php
app/Config/Cache.php
<?php namespace Config; use CodeIgniter\Cache\CacheInterface; use CodeIgniter\Cache\Handlers\DummyHandler; use CodeIgniter\Cache\Handlers\FileHandler; use CodeIgniter\Cache\Handlers\MemcachedHandler; use CodeIgniter\Cache\Handlers\PredisHandler; use CodeIgniter\Cache\Handlers\RedisHandler; use CodeIgniter\Cache\Handl...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/Toolbar.php
app/Config/Toolbar.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Debug\Toolbar\Collectors\Database; use CodeIgniter\Debug\Toolbar\Collectors\Events; use CodeIgniter\Debug\Toolbar\Collectors\Files; use CodeIgniter\Debug\Toolbar\Collectors\Logs; use CodeIgniter\Debug\Toolbar\Collectors\Routes; use CodeIgniter...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/Logger.php
app/Config/Logger.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Log\Handlers\FileHandler; use CodeIgniter\Log\Handlers\HandlerInterface; class Logger extends BaseConfig { /** * -------------------------------------------------------------------------- * Error Logging Threshold * -------...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/Services.php
app/Config/Services.php
<?php namespace Config; use CodeIgniter\Config\BaseService; /** * Services Configuration file. * * Services are simply other classes/libraries that the system uses * to do its job. This is used by CodeIgniter to allow the core of the * framework to be swapped out easily without affecting the usage within * the...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/Migrations.php
app/Config/Migrations.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class Migrations extends BaseConfig { /** * -------------------------------------------------------------------------- * Enable/Disable Migrations * -------------------------------------------------------------------------- * * M...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/Pager.php
app/Config/Pager.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class Pager extends BaseConfig { /** * -------------------------------------------------------------------------- * Templates * -------------------------------------------------------------------------- * * Pagination links are r...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/Session.php
app/Config/Session.php
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Session\Handlers\BaseHandler; use CodeIgniter\Session\Handlers\FileHandler; class Session extends BaseConfig { /** * -------------------------------------------------------------------------- * Session Driver * ------------...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/View.php
app/Config/View.php
<?php namespace Config; use CodeIgniter\Config\View as BaseView; use CodeIgniter\View\ViewDecoratorInterface; /** * @phpstan-type parser_callable (callable(mixed): mixed) * @phpstan-type parser_callable_string (callable(mixed): mixed)&string */ class View extends BaseView { /** * When false, the view met...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/Boot/development.php
app/Config/Boot/development.php
<?php /* |-------------------------------------------------------------------------- | ERROR DISPLAY |-------------------------------------------------------------------------- | In development, we want to show as many errors as possible to help | make sure they don't make it to production. And save us hours of ...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/Boot/production.php
app/Config/Boot/production.php
<?php /* |-------------------------------------------------------------------------- | ERROR DISPLAY |-------------------------------------------------------------------------- | Don't show ANY in production environments. Instead, let the system catch | it and display a generic error message. | | If you set 'di...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Config/Boot/testing.php
app/Config/Boot/testing.php
<?php /* * The environment testing is reserved for PHPUnit testing. It has special * conditions built into the framework at various places to assist with that. * You can’t use it for your development. */ /* |-------------------------------------------------------------------------- | ERROR DISPLAY |-----------...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Models/LanguagesModel.php
app/Models/LanguagesModel.php
<?php /** * Copyright (C) 2014, 2024 Richard Lobb * A pseudo model to manage the set of languages implemented * by Jobe. It's a pseudomodel that doesn't extend the base * Model class as it's not asociated with a database table. * This program is free software: you can redistribute it and/or modify * it under ...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Language/en/Validation.php
app/Language/en/Validation.php
<?php // override core en language system validation or define your own en language validation message return [];
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Filters/Cors.php
app/Filters/Cors.php
<?php namespace App\Filters; use CodeIgniter\Filters\FilterInterface; use CodeIgniter\HTTP\RequestInterface; use CodeIgniter\HTTP\ResponseInterface; use Config\Services; class Cors implements FilterInterface { /** * Called before processing of all requests to allow Cross Origin access. * * @param a...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/app/Filters/Throttle.php
app/Filters/Throttle.php
<?php /** * If API keys are enabled, and the key used in a RUN submission has a rate-limit, * this class enforces the rate limit on a per-IP basis to the per-hour limit set in the * Config file jobe.php. */ namespace App\Filters; use CodeIgniter\Filters\FilterInterface; use CodeIgniter\HTTP\RequestInterface; use ...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/tests/session/ExampleSessionTest.php
tests/session/ExampleSessionTest.php
<?php use CodeIgniter\Test\CIUnitTestCase; /** * @internal */ final class ExampleSessionTest extends CIUnitTestCase { public function testSessionSimple(): void { $session = service('session'); $session->set('logged_in', 123); $this->assertSame(123, $session->get('logged_in')); }...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/tests/unit/HealthTest.php
tests/unit/HealthTest.php
<?php use CodeIgniter\Test\CIUnitTestCase; use Config\App; use Tests\Support\Libraries\ConfigReader; /** * @internal */ final class HealthTest extends CIUnitTestCase { public function testIsDefinedAppPath(): void { $this->assertTrue(defined('APPPATH')); } public function testBaseUrlHasBeenS...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/tests/_support/Libraries/ConfigReader.php
tests/_support/Libraries/ConfigReader.php
<?php namespace Tests\Support\Libraries; use Config\App; /** * Class ConfigReader * * An extension of BaseConfig that prevents the constructor from * loading external values. Used to read actual local values from * a config file. */ class ConfigReader extends App { public function __construct() { }...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/tests/_support/Database/Seeds/ExampleSeeder.php
tests/_support/Database/Seeds/ExampleSeeder.php
<?php namespace Tests\Support\Database\Seeds; use CodeIgniter\Database\Seeder; class ExampleSeeder extends Seeder { public function run(): void { $factories = [ [ 'name' => 'Test Factory', 'uid' => 'test001', 'class' => 'Factories\T...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/tests/_support/Database/Migrations/2020-02-22-222222_example_migration.php
tests/_support/Database/Migrations/2020-02-22-222222_example_migration.php
<?php namespace Tests\Support\Database\Migrations; use CodeIgniter\Database\Migration; class ExampleMigration extends Migration { protected $DBGroup = 'tests'; public function up(): void { $this->forge->addField('id'); $this->forge->addField([ 'name' => ['type' => 'varc...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/tests/_support/Models/ExampleModel.php
tests/_support/Models/ExampleModel.php
<?php namespace Tests\Support\Models; use CodeIgniter\Model; class ExampleModel extends Model { protected $table = 'factories'; protected $primaryKey = 'id'; protected $returnType = 'object'; protected $useSoftDeletes = false; protected $allowedFields = [ 'name', ...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/tests/database/ExampleDatabaseTest.php
tests/database/ExampleDatabaseTest.php
<?php use CodeIgniter\Test\CIUnitTestCase; use CodeIgniter\Test\DatabaseTestTrait; use Tests\Support\Database\Seeds\ExampleSeeder; use Tests\Support\Models\ExampleModel; /** * @internal */ final class ExampleDatabaseTest extends CIUnitTestCase { use DatabaseTestTrait; protected $seed = ExampleSeeder::class...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
trampgeek/jobe
https://github.com/trampgeek/jobe/blob/cffff99685a78a2e13b47a5288e6fa87a1abe40a/public/index.php
public/index.php
<?php use CodeIgniter\Boot; use Config\Paths; /* *--------------------------------------------------------------- * CHECK PHP VERSION *--------------------------------------------------------------- */ $minPhpVersion = '8.1'; // If you update this, don't forget to update `spark`. if (version_compare(PHP_VERSION,...
php
MIT
cffff99685a78a2e13b47a5288e6fa87a1abe40a
2026-01-05T05:19:26.518100Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Factory.php
src/Factory.php
<?php namespace EasyAlipay; /** * Class Factory. * * @method static \EasyAlipay\Payment\Application payment(array $config) * @method static \EasyAlipay\Mini\Application mini(array $config) * @method static \EasyAlipay\OpenPublic\Application openPublic(array $config) * @method st...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Application.php
src/OpenPublic/Application.php
<?php namespace EasyAlipay\OpenPublic; use EasyAlipay\Kernel\ServiceContainer; /** * Class Application. * * @property \EasyAlipay\OpenPublic\Message\Client $message * @property \EasyAlipay\OpenPublic\Template\Client $template * */ class Application extends ServiceContainer { /** * @va...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Model/AlipayOpenPublicLifeMsgRecallContentBuilder.php
src/OpenPublic/Model/AlipayOpenPublicLifeMsgRecallContentBuilder.php
<?php namespace EasyAlipay\OpenPublic\Model; /* * * 功能:alipay.open.public.life.msg.recall(生活号消息撤回接口)业务参数封装 */ class AlipayOpenPublicLifeMsgRecallContentBuilder { // 消息id private $messageId; private $bizContentarr = array(); private $bizContent = NULL; public function getBizContent() ...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Model/AlipayOpenPublicTemplateMessageGetContentBuilder.php
src/OpenPublic/Model/AlipayOpenPublicTemplateMessageGetContentBuilder.php
<?php namespace EasyAlipay\OpenPublic\Model; /* * * 功能:alipay.open.public.template.message.get(消息模板领取接口)业务参数封装 */ class AlipayOpenPublicTemplateMessageGetContentBuilder { // 消息母板id,登陆生活号后台(fuwu.alipay.com),点击菜单“模板消息”,点击“模板库”,即可看到相应模板的消息母板id private $templateId; private $bizContentarr = array(); p...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Model/AlipayOpenPublicMessageSingleSendContentBuilder.php
src/OpenPublic/Model/AlipayOpenPublicMessageSingleSendContentBuilder.php
<?php namespace EasyAlipay\OpenPublic\Model; /* * * 功能:alipay.open.public.message.single.send(单发模板消息)业务参数封装 */ class AlipayOpenPublicMessageSingleSendContentBuilder { // 消息接收用户的userid private $toUserId; // 消息模板相关参数,其中包括templateId模板ID和context模板上下文 private $template; private $bizContentarr ...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Model/AlipayOpenPublicMessageContentCreateContentBuilder.php
src/OpenPublic/Model/AlipayOpenPublicMessageContentCreateContentBuilder.php
<?php namespace EasyAlipay\OpenPublic\Model; /* * * 功能:alipay.open.public.message.content.create (创建图文消息内容接口)业务参数封装 */ class AlipayOpenPublicMessageContentCreateContentBuilder { // 标题 private $title; // 封面图url, 尺寸为996*450,最大不超过3M,支持格式:.jpg、.png ,请先调用图片上传接口(https://docs.open.alipay.com/api_3/alipay.offl...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Model/AlipayOpenPublicMessageTotalSendContentBuilder.php
src/OpenPublic/Model/AlipayOpenPublicMessageTotalSendContentBuilder.php
<?php namespace EasyAlipay\OpenPublic\Model; /* * * 功能:alipay.open.public.message.total.send (群发消息)业务参数封装,详见:https://docs.open.alipay.com/api_6/alipay.open.public.message.total.send */ class AlipayOpenPublicMessageTotalSendContentBuilder { // 消息类型,text:文本消息,image-text:图文消息 private $msgType; // 图文消息,当m...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Model/AlipayOpenPublicMessageContentModifyContentBuilder.php
src/OpenPublic/Model/AlipayOpenPublicMessageContentModifyContentBuilder.php
<?php namespace EasyAlipay\OpenPublic\Model; /* * * 功能:alipay.open.public.message.content.modify (更新图文消息内容接口)业务参数封装 */ class AlipayOpenPublicMessageContentModifyContentBuilder { // 内容id private $contentId; // 标题 private $title; // 封面图url, 尺寸为996*450,最大不超过3M,支持格式:.jpg、.png ,请先调用图片上传接口(https://d...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Model/AlipayOpenPublicTemplateMessageIndustryModifyContentBuilder.php
src/OpenPublic/Model/AlipayOpenPublicTemplateMessageIndustryModifyContentBuilder.php
<?php namespace EasyAlipay\OpenPublic\Model; /* * * 功能:alipay.open.public.template.message.industry.modify(模板消息行业设置修改接口)业务参数封装 */ class AlipayOpenPublicTemplateMessageIndustryModifyContentBuilder { // 服务窗消息模板所属主行业一/二级名称,查看行业信息:https://alipay.open.taobao.com/doc2/detail?treeId=197&docType=1&articleId=105043 ...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Model/AlipayOpenPublicMessageQueryContentBuilder.php
src/OpenPublic/Model/AlipayOpenPublicMessageQueryContentBuilder.php
<?php namespace EasyAlipay\OpenPublic\Model; /* * * 功能:alipay.open.public.message.query(生活号查询已发送消息接口)业务参数封装 */ class AlipayOpenPublicMessageQueryContentBuilder { // 消息id集,限制最多传入20个message_id。message_id在调用群发、组发消息接口时会返回,需调用方保存 private $messageIds; private $bizContentarr = array(); private $bizCont...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Template/Client.php
src/OpenPublic/Template/Client.php
<?php namespace EasyAlipay\OpenPublic\Template; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\OpenPublic\Model\AlipayOpenPublicTemplateMessageGetContentBuilder; use EasyAlipay\OpenPublic\Model\AlipayOpenPublicTemplateMessageIndustryModifyContentBuilder; class Client extends AopCli...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Template/ServiceProvider.php
src/OpenPublic/Template/ServiceProvider.php
<?php namespace EasyAlipay\OpenPublic\Template; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { public function register(Container $app) { $app['template'] = function ($app) { return new Client($app); }; } ...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Message/Client.php
src/OpenPublic/Message/Client.php
<?php namespace EasyAlipay\OpenPublic\Message; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\OpenPublic\Model\AlipayOpenPublicMessageContentCreateContentBuilder; use EasyAlipay\OpenPublic\Model\AlipayOpenPublicMessageContentModifyContentBuilder; use EasyAlipay\OpenPublic\Model\Alip...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/OpenPublic/Message/ServiceProvider.php
src/OpenPublic/Message/ServiceProvider.php
<?php namespace EasyAlipay\OpenPublic\Message; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { public function register(Container $app) { $app['message'] = function ($app) { return new Client($app); }; } }
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Kernel/AopClient.php
src/Kernel/AopClient.php
<?php namespace EasyAlipay\Kernel; use Exception; use EasyAlipay\Kernel\SignData; class AopClient { //应用ID private $appId; //商户私钥值 private $rsaPrivateKey; //支付宝公钥值 private $alipayrsaPublicKey; //网关 private $gatewayUrl = "https://openapi.alipay.com/gateway.do"; //返回数据格式 private...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
true
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Kernel/SignData.php
src/Kernel/SignData.php
<?php namespace EasyAlipay\Kernel; class SignData { public $signSourceData=null; public $sign=null; }
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Kernel/AopRequest.php
src/Kernel/AopRequest.php
<?php namespace EasyAlipay\Kernel; class AopRequest { private $apiMethodName; private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo; private $prodCode; private $apiVersion="1.0"; private $notifyUrl; private $returnUrl; private $needEncrypt=false; public funct...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Kernel/Config.php
src/Kernel/Config.php
<?php namespace EasyAlipay\Kernel; class Config { public $config = [ //应用ID 'app_id' => '', //支付宝公钥 'alipay_public_key' => '', //商户私钥 'merchant_private_key' => '', //网管地址 'gateway_url' => "https://openapi.alipay.com/gateway.do", //异步通知地址 'not...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Kernel/ServiceContainer.php
src/Kernel/ServiceContainer.php
<?php namespace EasyAlipay\Kernel; use EasyAlipay\Kernel\Config; use EasyAlipay\Kernel\Providers\ConfigServiceProvider; use Pimple\Container; /** * Class ServiceContainer * * @property \EasyAlipay\Kernel\Config $config */ class ServiceContainer extends Container { /** * @var array *...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Kernel/Traits/HasHttpRequests.php
src/Kernel/Traits/HasHttpRequests.php
<?php namespace EasyAlipay\Kernel\Traits; use GuzzleHttp\Client; use GuzzleHttp\ClientInterface; use GuzzleHttp\HandlerStack; use Psr\Http\Message\ResponseInterface; trait HasHttpRequests { use ResponseCastable; /** * @var \GuzzleHttp\ClientInterface */ protected $httpClient; /** * @...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Kernel/Support/Str.php
src/Kernel/Support/Str.php
<?php namespace EasyAlipay\Kernel\Support; use EasyAlipay\Kernel\Exceptions\RuntimeException; /** * Class Str. */ class Str { /** * The cache of snake-cased words. * * @var array */ protected static $snakeCache = []; /** * The cache of camel-cased words. * * @var arr...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Kernel/Providers/ConfigServiceProvider.php
src/Kernel/Providers/ConfigServiceProvider.php
<?php namespace EasyAlipay\Kernel\Providers; use EasyAlipay\Kernel\Config; use Pimple\Container; use Pimple\ServiceProviderInterface; class ConfigServiceProvider implements ServiceProviderInterface { /** * Registers services on the given container. * * This method should only be used to configure...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Base/Application.php
src/Base/Application.php
<?php namespace EasyAlipay\Base; use EasyAlipay\Kernel\ServiceContainer; /** * Class Application. * * @property \EasyAlipay\Base\Image\Client $image * @property \EasyAlipay\Base\Oauth\Client $oauth * @property \EasyAlipay\Base\Video\Client $video * */ class Application extends...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Base/Model/AlipaySystemOauthTokenRequest.php
src/Base/Model/AlipaySystemOauthTokenRequest.php
<?php namespace EasyAlipay\Base\Model; /* * * 功能:alipay.system.oauth.token(换取授权访问令牌接口)业务参数封装 */ class AlipaySystemOauthTokenRequest { /** * 授权码,用户对应用授权后得到。 **/ private $code; /** * 值为authorization_code时,代表用code换取;值为refresh_token时,代表用refresh_token换取 **/ private $grantType; /...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Base/Oauth/Client.php
src/Base/Oauth/Client.php
<?php namespace EasyAlipay\Base\Oauth; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Base\Model\AlipaySystemOauthTokenRequest; class Client extends AopClient { public function getToken(string $grant_type, string $code, string $refresh_token) { //构造查询业务请求参数对象 $alipaySystemOauthTokenRequest =...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Base/Oauth/ServiceProvider.php
src/Base/Oauth/ServiceProvider.php
<?php namespace EasyAlipay\Base\Oauth; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { /** * {@inheritdoc}. */ public function register(Container $app) { $app['oauth'] = function ($app) { return new Clien...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Marketing/Application.php
src/Marketing/Application.php
<?php namespace EasyAlipay\Marketing; use EasyAlipay\Kernel\ServiceContainer; /** * Class Application. * * @property \EasyAlipay\Marketing\Pass\Client $pass * */ class Application extends ServiceContainer { /** * @var array */ protected $providers = [ Pass\ServiceProvider::...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Marketing/Model/AlipayPassTemplateUpdateContentBuilder.php
src/Marketing/Model/AlipayPassTemplateUpdateContentBuilder.php
<?php namespace EasyAlipay\Marketing\Model; /* * * 功能:alipay.pass.template.update (卡券模板更新接口)业务参数封装 */ class AlipayPassTemplateUpdateContentBuilder { // 商户用于控制模版的唯一性。(可以使用时间戳保证唯一性) private $tplId; // 模板内容信息,遵循JSON规范,详情参见tpl_content参数说明:https://doc.open.alipay.com/doc2/detail.htm?treeId=193&articleId=10...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Marketing/Model/AlipayPassTemplateAddContentBuilder.php
src/Marketing/Model/AlipayPassTemplateAddContentBuilder.php
<?php namespace EasyAlipay\Marketing\Model; /* * * 功能:alipay.pass.template.add (卡券模板创建接口)业务参数封装 */ class AlipayPassTemplateAddContentBuilder { // 商户用于控制模版的唯一性。(可以使用时间戳保证唯一性) private $uniqueId; // 模板内容信息,遵循JSON规范,详情参见tpl_content参数说明:https://doc.open.alipay.com/doc2/detail.htm?treeId=193&articleId=10524...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Marketing/Model/AlipayPassInstanceUpdateContentBuilder.php
src/Marketing/Model/AlipayPassInstanceUpdateContentBuilder.php
<?php namespace EasyAlipay\Marketing\Model; /* * * alipay.pass.instance.update(卡券实例更新接口)业务参数封装 */ class AlipayPassInstanceUpdateContentBuilder { // 商户指定卡券唯一值,卡券JSON模板中fileInfo->serialNumber字段对应的值 private $serialNumber; // 代理商代替商户发放卡券后,再代替商户更新卡券时,此值为商户的pid/appid private $channelId; // 模版动...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Marketing/Model/AlipayPassInstanceAddContentBuilder.php
src/Marketing/Model/AlipayPassInstanceAddContentBuilder.php
<?php namespace EasyAlipay\Marketing\Model; /* * * 功能:alipay.pass.instance.add (卡券实例发放接口)业务参数封装 */ class AlipayPassInstanceAddContentBuilder { // 支付宝pass模版ID,即调用模板创建接口时返回的tpl_id private $tplId; // 模版动态参数信息:对应模板中$变量名$的动态参数,见模板创建接口返回值中的tpl_params字段 private $tplParams; // Alipass添加对象识别类型:1–订...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Marketing/Pass/Client.php
src/Marketing/Pass/Client.php
<?php namespace EasyAlipay\Marketing\Pass; use EasyAlipay\Kernel\Support; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\Kernel\Config; use EasyAlipay\Marketing\Model\AlipayPassTemplateAddContentBuilder; use EasyAlipay\Marketing\Model\AlipayPassTemplateUpdateContentBuilder; use Easy...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Marketing/Pass/ServiceProvider.php
src/Marketing/Pass/ServiceProvider.php
<?php namespace EasyAlipay\Marketing\Pass; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { /** * {@inheritdoc}. */ public function register(Container $app) { // var_dump($app); $app['pass'] = function ($app) { ...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Application.php
src/Payment/Application.php
<?php namespace EasyAlipay\Payment; use EasyAlipay\Kernel\ServiceContainer; /** * Class Application. * * @property \EasyAlipay\Payment\Cancel\Client $cancel * @property \EasyAlipay\Payment\Close\Client $close * @property \EasyAlipay\Payment\Create\Client $create * @property \E...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Model/AlipayTradePayContentBuilder.php
src/Payment/Model/AlipayTradePayContentBuilder.php
<?php namespace EasyAlipay\Payment\Model; /* * * 功能:alipay.trade.pay(统一收单交易支付接口)接口业务参数封装 */ class AlipayTradePayContentBuilder { // 商户订单号. private $outTradeNo; // 支付场景 private $scene; // 支付授权码 private $authCode; // 订单标题,粗略描述用户的支付目的。 private $subject; // 订单总金额,整形,此处单位为元,精确到...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Model/AlipayTradeRefundContentBuilder.php
src/Payment/Model/AlipayTradeRefundContentBuilder.php
<?php namespace EasyAlipay\Payment\Model; /* * * 功能:alipay.trade.refund(统一收单交易退款接口)接口业务参数封装 */ class AlipayTradeRefundContentBuilder { // 商户订单号. private $outTradeNo; // 支付宝交易号 private $tradeNo; // 退款的金额 private $refundAmount; private $bizContentarr = array(); private $bizContent...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Model/AlipayTradeCreateContentBuilder.php
src/Payment/Model/AlipayTradeCreateContentBuilder.php
<?php namespace EasyAlipay\Payment\Model; /* * * 功能:alipay.trade.create (统一收单交易关闭接口)业务参数封装 */ class AlipayTradeCreateContentBuilder { // 商户订单号. private $outTradeNo; // 订单标题,粗略描述用户的支付目的。 private $subject; // 订单总金额,整形,此处单位为元,精确到小数点后2位,不能超过1亿元 private $totalAmount; //买家的支付宝唯一用户号(208...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Model/AlipayTradeCancelContentBuilder.php
src/Payment/Model/AlipayTradeCancelContentBuilder.php
<?php namespace EasyAlipay\Payment\Model; /* * * 功能:alipay.trade.cancel (统一收单交易关闭接口)业务参数封装 */ class AlipayTradeCancelContentBuilder { // 商户订单号. private $outTradeNo; // 支付宝交易号 private $tradeNo; private $bizContentarr = array(); private $bizContent = NULL; public function getBizConten...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Model/AlipayTradeQueryContentBuilder.php
src/Payment/Model/AlipayTradeQueryContentBuilder.php
<?php namespace EasyAlipay\Payment\Model; /* * * 功能:alipay.trade.query(统一收单线下交易查询)接口业务参数封装 */ class AlipayTradeQueryContentBuilder { // 商户订单号 private $outTradeNo; // 支付宝交易号 private $tradeNo; //银行间联模式下有用,其它场景请不要使用,双联通过该参数指定需要查询的交易所属收单机构的pid; private $orgPid; private $bizContentarr...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Model/AlipayTradeCloseContentBuilder.php
src/Payment/Model/AlipayTradeCloseContentBuilder.php
<?php namespace EasyAlipay\Payment\Model; /* * * 功能:alipay.trade.close (统一收单交易关闭接口)业务参数封装 */ class AlipayTradeCloseContentBuilder { // 商户订单号. private $outTradeNo; // 支付宝交易号 private $tradeNo; //卖家端自定义的的操作员 ID private $operatorId; private $bizContentarr = array(); private $biz...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Cancel/Client.php
src/Payment/Cancel/Client.php
<?php namespace EasyAlipay\Payment\Cancel; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\Payment\Model\AlipayTradeCancelContentBuilder; class Client extends AopClient { public function cancel(string $out_trade_no) { //构造查询业务请求参数对象 $cancelContentBuilder = ne...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Cancel/ServiceProvider.php
src/Payment/Cancel/ServiceProvider.php
<?php namespace EasyAlipay\Payment\Cancel; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { public function register(Container $app) { $app['cancel'] = function ($app) { return new Client($app); }; } }
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Refund/Client.php
src/Payment/Refund/Client.php
<?php namespace EasyAlipay\Payment\Refund; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\Payment\Model\AlipayTradeRefundContentBuilder; class Client extends AopClient { public function refund(string $out_trade_no,string $refund_amount) { //构造查询业务请求参数对象 $ref...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Refund/ServiceProvider.php
src/Payment/Refund/ServiceProvider.php
<?php namespace EasyAlipay\Payment\Refund; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { public function register(Container $app) { $app['refund'] = function ($app) { return new Client($app); }; } }
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Query/Client.php
src/Payment/Query/Client.php
<?php namespace EasyAlipay\Payment\Query; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\Payment\Model\AlipayTradeQueryContentBuilder; class Client extends AopClient { public function query(string $out_trade_no) { //构造查询业务请求参数对象 $queryContentBuilder = new Al...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Query/ServiceProvider.php
src/Payment/Query/ServiceProvider.php
<?php namespace EasyAlipay\Payment\Query; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { public function register(Container $app) { $app['query'] = function ($app) { return new Client($app); }; } }
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Close/Client.php
src/Payment/Close/Client.php
<?php namespace EasyAlipay\Payment\Close; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\Payment\Model\AlipayTradeCloseContentBuilder; class Client extends AopClient { public function close(string $out_trade_no) { //构造查询业务请求参数对象 $closeContentBuilder = new Al...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Close/ServiceProvider.php
src/Payment/Close/ServiceProvider.php
<?php namespace EasyAlipay\Payment\Close; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { public function register(Container $app) { $app['close'] = function ($app) { return new Client($app); }; } }
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Pay/Client.php
src/Payment/Pay/Client.php
<?php namespace EasyAlipay\Payment\Pay; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\Payment\Model\AlipayTradePayContentBuilder; class Client extends AopClient { public function pay(string $subject,string $out_trade_no,string $total_amount,string $auth_code) { //构...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Pay/ServiceProvider.php
src/Payment/Pay/ServiceProvider.php
<?php namespace EasyAlipay\Payment\Pay; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { public function register(Container $app) { $app['pay'] = function ($app) { return new Client($app); }; } }
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Create/Client.php
src/Payment/Create/Client.php
<?php namespace EasyAlipay\Payment\Create; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\Payment\Model\AlipayTradeCreateContentBuilder; class Client extends AopClient { public function create(string $subject,string $out_trade_no,string $total_amount,string $buyer_id) { ...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Payment/Create/ServiceProvider.php
src/Payment/Create/ServiceProvider.php
<?php namespace EasyAlipay\Payment\Create; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { public function register(Container $app) { $app['create'] = function ($app) { return new Client($app); }; } }
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Application.php
src/Mini/Application.php
<?php namespace EasyAlipay\Mini; use EasyAlipay\Kernel\ServiceContainer; /** * Class Application. * * @property \EasyAlipay\Mini\Identification\Client $identification * @property \EasyAlipay\Mini\Qrcode\Client $qrcode * @property \EasyAlipay\Mini\TemplateMessage\Client $templateMessage * @property...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Model/AlipaySecurityRiskContentDetectContentBuilder.php
src/Mini/Model/AlipaySecurityRiskContentDetectContentBuilder.php
<?php namespace EasyAlipay\Mini\Model; /* * * 功能:alipay.security.risk.content.detect(小程序内容风险检测服务) 业务参数封装 */ class AlipaySecurityRiskContentDetectContentBuilder { // 需要识别的文本,不要包含特殊字符以及双引号等可能引起json格式化错误问题的字符. private $content; private $bizContentarr = array(); private $bizContent = NULL; p...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Model/AlipayOpenAppMiniTemplatemessageSendContentBuilder.php
src/Mini/Model/AlipayOpenAppMiniTemplatemessageSendContentBuilder.php
<?php namespace EasyAlipay\Mini\Model; /* * * 功能:alipay.open.app.mini.templatemessage.send(小程序发送模板消息) 业务参数封装 * 前置条件:https://docs.alipay.com/mini/introduce/message */ class AlipayOpenAppMiniTemplatemessageSendContentBuilder { // 发送消息的用户userid,例如:2088102122458832 private $toUserId; // 用户发生的交易行为的交易号,或者用...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Model/ZolozIdentificationCustomerCertifyzhubQueryContentBuilder.php
src/Mini/Model/ZolozIdentificationCustomerCertifyzhubQueryContentBuilder.php
<?php namespace EasyAlipay\Mini\Model; /* * * 功能:zoloz.identification.customer.certifyzhub.query (人脸结果查询接口)业务参数封装 * 前置条件:https://docs.alipay.com/mini/introduce/alipay-face-verify,需要先调用接口 my.ap.faceVerify,传入入参 bizId 和 bizType 唤起刷脸认证,认证结束后,通过回调函数得到认证结果。确保业务参数 biz_id 和 faceVerify 中的入参 bizId 一致,否则会导致查询失败。 */ class Zol...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Model/AlipayOpenAppQrcodeCreateContentBuilder.php
src/Mini/Model/AlipayOpenAppQrcodeCreateContentBuilder.php
<?php namespace EasyAlipay\Mini\Model; /* * * 功能:alipay.open.app.qrcode.create (小程序生成推广二维码接口)业务参数封装 */ class AlipayOpenAppQrcodeCreateContentBuilder { // 小程序中能访问到的页面路径,例如:page/component/component-pages/view/view private $urlParam; // 小程序的启动参数,打开小程序的query ,在小程序 onLaunch的方法中获取,例如:x=1 private $queryP...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Model/ZolozIdentificationUserWebQueryContentBuilder.php
src/Mini/Model/ZolozIdentificationUserWebQueryContentBuilder.php
<?php namespace EasyAlipay\Mini\Model; /* * * 功能:zoloz.identification.user.web.query(人脸采集结果查询接口)接口业务参数封装 * 前置条件:https://docs.alipay.com/mini/introduce/facecapture,调用JSAPI(faceVerify)唤起人脸采集,整个采集过程完全由人脸内部实现,采集完成后,通过回调函数返回采集结果。调用查询接口(zoloz.identification.user.web.query)获取可信的采集结果,如果采集成功,可通过此接口获取采集的人脸照片。 */ class Zoloz...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Risk/Client.php
src/Mini/Risk/Client.php
<?php namespace EasyAlipay\Mini\Risk; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\Mini\Model\AlipaySecurityRiskContentDetectContentBuilder; class Client extends AopClient { public function detectContent(string $content) { //构造查询业务请求参数对象 $riskContentBuild...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Risk/ServiceProvider.php
src/Mini/Risk/ServiceProvider.php
<?php namespace EasyAlipay\Mini\Risk; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { /** * {@inheritdoc}. */ public function register(Container $app) { // var_dump($app); $app['risk'] = function ($app) { ...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Qrcode/Client.php
src/Mini/Qrcode/Client.php
<?php namespace EasyAlipay\Mini\Qrcode; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\Mini\Model\AlipayOpenAppQrcodeCreateContentBuilder; class Client extends AopClient { public function create(string $url_param,string $query_param,string $describe) { //构造查询业务请求参数...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Qrcode/ServiceProvider.php
src/Mini/Qrcode/ServiceProvider.php
<?php namespace EasyAlipay\Mini\Qrcode; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { public function register(Container $app) { $app['qrcode'] = function ($app) { return new Client($app); }; } }
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/TemplateMessage/Client.php
src/Mini/TemplateMessage/Client.php
<?php namespace EasyAlipay\Mini\TemplateMessage; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\Mini\Model\AlipayOpenAppMiniTemplatemessageSendContentBuilder; class Client extends AopClient { public function send(string $to_user_id,string $form_id,string $user_template_id,stri...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/TemplateMessage/ServiceProvider.php
src/Mini/TemplateMessage/ServiceProvider.php
<?php namespace EasyAlipay\Mini\TemplateMessage; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { public function register(Container $app) { $app['templateMessage'] = function ($app) { return new Client($app); }...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Identification/Client.php
src/Mini/Identification/Client.php
<?php namespace EasyAlipay\Mini\Identification; use EasyAlipay\Kernel\AopClient; use EasyAlipay\Kernel\AopRequest; use EasyAlipay\Mini\Model\ZolozIdentificationCustomerCertifyzhubQueryContentBuilder; use EasyAlipay\Mini\Model\ZolozIdentificationUserWebQueryContentBuilder; class Client extends AopClient { public...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/src/Mini/Identification/ServiceProvider.php
src/Mini/Identification/ServiceProvider.php
<?php namespace EasyAlipay\Mini\Identification; use Pimple\Container; use Pimple\ServiceProviderInterface; class ServiceProvider implements ServiceProviderInterface { public function register(Container $app) { $app['identification'] = function ($app) { return new Client($app); }; ...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
shulidata/easyalipay
https://github.com/shulidata/easyalipay/blob/4013a1e39556a4b321bd510f3ca05c11cf16c240/tests/test.php
tests/test.php
<?php require __DIR__.'/../vendor/autoload.php'; use EasyAlipay\Factory; $options = [ 'app_id' => '2016051900098985', 'gateway_url' => "https://openapi.alipaydev.com/gateway.do",//示例中使用的是沙箱环境网关,线上gateway_url:https://openapi.alipay.com/gateway.do 'sign_type' => ...
php
MIT
4013a1e39556a4b321bd510f3ca05c11cf16c240
2026-01-05T05:19:35.786882Z
false
AdrianSkierniewski/eloquent-tree
https://github.com/AdrianSkierniewski/eloquent-tree/blob/de4065b9ef3977702d62227bf9a5afccb710fa82/src/Gzero/EloquentTree/Model/Observer.php
src/Gzero/EloquentTree/Model/Observer.php
<?php namespace Gzero\EloquentTree\Model; use DB; /** * Class Observer * * @author Adrian Skierniewski <adrian.skierniewski@gmail.com> * @package Gzero\EloquentTree\Model */ class Observer { /** * When saving node we must set path and level * * @param Tree $model */ public function ...
php
MIT
de4065b9ef3977702d62227bf9a5afccb710fa82
2026-01-05T05:19:45.893021Z
false
AdrianSkierniewski/eloquent-tree
https://github.com/AdrianSkierniewski/eloquent-tree/blob/de4065b9ef3977702d62227bf9a5afccb710fa82/src/Gzero/EloquentTree/Model/Tree.php
src/Gzero/EloquentTree/Model/Tree.php
<?php namespace Gzero\EloquentTree\Model; use DB; use Gzero\EloquentTree\Model\Exception\MissingParentException; use Gzero\EloquentTree\Model\Exception\SelfConnectionException; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model as Eloquent; /** * Class Tree * * This class represe...
php
MIT
de4065b9ef3977702d62227bf9a5afccb710fa82
2026-01-05T05:19:45.893021Z
false
AdrianSkierniewski/eloquent-tree
https://github.com/AdrianSkierniewski/eloquent-tree/blob/de4065b9ef3977702d62227bf9a5afccb710fa82/src/Gzero/EloquentTree/Model/Exception/MissingParentException.php
src/Gzero/EloquentTree/Model/Exception/MissingParentException.php
<?php namespace Gzero\EloquentTree\Model\Exception; class MissingParentException extends \Exception { }
php
MIT
de4065b9ef3977702d62227bf9a5afccb710fa82
2026-01-05T05:19:45.893021Z
false
AdrianSkierniewski/eloquent-tree
https://github.com/AdrianSkierniewski/eloquent-tree/blob/de4065b9ef3977702d62227bf9a5afccb710fa82/src/Gzero/EloquentTree/Model/Exception/SelfConnectionException.php
src/Gzero/EloquentTree/Model/Exception/SelfConnectionException.php
<?php namespace Gzero\EloquentTree\Model\Exception; class SelfConnectionException extends \Exception { }
php
MIT
de4065b9ef3977702d62227bf9a5afccb710fa82
2026-01-05T05:19:45.893021Z
false
AdrianSkierniewski/eloquent-tree
https://github.com/AdrianSkierniewski/eloquent-tree/blob/de4065b9ef3977702d62227bf9a5afccb710fa82/tests/Test.php
tests/Test.php
<?php spl_autoload_register( // Autoload because we're using \Eloquent alias provided by Orchestra function ($class) { require_once 'Model/Tree.php'; } ); class Test extends Orchestra\Testbench\TestCase { /** * Default preparation for each test */ public function setUp() { ...
php
MIT
de4065b9ef3977702d62227bf9a5afccb710fa82
2026-01-05T05:19:45.893021Z
false
AdrianSkierniewski/eloquent-tree
https://github.com/AdrianSkierniewski/eloquent-tree/blob/de4065b9ef3977702d62227bf9a5afccb710fa82/tests/Model/Tree.php
tests/Model/Tree.php
<?php class Tree extends \Gzero\EloquentTree\Model\Tree { protected $fillable = ['title']; /** * ONLY FOR TESTS! * Metod resets static::$booted */ public static function __resetBootedStaticProperty() { static::$booted = []; } }
php
MIT
de4065b9ef3977702d62227bf9a5afccb710fa82
2026-01-05T05:19:45.893021Z
false
AdrianSkierniewski/eloquent-tree
https://github.com/AdrianSkierniewski/eloquent-tree/blob/de4065b9ef3977702d62227bf9a5afccb710fa82/tests/migrations/2013_12_17_105602_create_tree_table.php
tests/migrations/2013_12_17_105602_create_tree_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateTreeTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create( 'trees', function (Blueprint $t...
php
MIT
de4065b9ef3977702d62227bf9a5afccb710fa82
2026-01-05T05:19:45.893021Z
false
smuuf/primi
https://github.com/smuuf/primi/blob/d66ad6a397080a4caec9b634c925c0e085a00bb0/tools/phpcb-benchmarks/arrayiter_vs_yield.php
tools/phpcb-benchmarks/arrayiter_vs_yield.php
<?php require __DIR__ . "/../../vendor/autoload.php"; $bench = new \Smuuf\Phpcb\PhpBenchmark; $arr = array_combine(range(0, 50000), range(0, 50000)); function gen() { global $arr; foreach ($arr as $k => $v) { yield $k => $v; } } $bench->addBench(function() { $result = []; foreach (gen() as $k => $v) { ...
php
MIT
d66ad6a397080a4caec9b634c925c0e085a00bb0
2026-01-05T05:19:57.676815Z
false
smuuf/primi
https://github.com/smuuf/primi/blob/d66ad6a397080a4caec9b634c925c0e085a00bb0/tools/phpcb-benchmarks/is_round_int.php
tools/phpcb-benchmarks/is_round_int.php
<?php require __DIR__ . "/../../vendor/autoload.php"; $bench = new \Smuuf\Phpcb\PhpBenchmark; $data = [false, '+1', '-1', +1, 0, 1, 42, -1024, 0.2, -0.2, -0.7, 0.7, true, "ahoj", "0.1", "-4.2", "-4.7", "-1000000", "false", "75", "125", "111.1.4"]; $bench->addBench(function() use ($data) { $result = []; foreach ($d...
php
MIT
d66ad6a397080a4caec9b634c925c0e085a00bb0
2026-01-05T05:19:57.676815Z
false