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
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/SimpleSessionTrait.php
src/Foundation/SimpleSessionTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation; use DuckPhp\Core\App; use DuckPhp\Core\SingletonTrait; use DuckPhp\Core\SuperGlobal; use DuckPhp\Core\SystemWrapper; trait SimpleSessionTrait { use SingletonTrait; protected $session_started...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/SimpleSingletonTrait.php
src/Foundation/SimpleSingletonTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation; use DuckPhp\Core\SingletonTrait; trait SimpleSingletonTrait { use SingletonTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/SimpleExceptionTrait.php
src/Foundation/SimpleExceptionTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation; use DuckPhp\Core\ThrowOnTrait; trait SimpleExceptionTrait { use ThrowOnTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/SimpleModelTrait.php
src/Foundation/SimpleModelTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation; use DuckPhp\Component\DbManager; use DuckPhp\Component\ZCallTrait; use DuckPhp\Core\App; use DuckPhp\Core\CoreHelper; use DuckPhp\Core\SingletonTrait; trait SimpleModelTrait { use SingletonTrait;...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/SimpleBusinessTrait.php
src/Foundation/SimpleBusinessTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation; use DuckPhp\Component\ZCallTrait; use DuckPhp\Core\SingletonTrait; trait SimpleBusinessTrait { use SingletonTrait; use ZCallTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/ExceptionReporterTrait.php
src/Foundation/ExceptionReporterTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation; use DuckPhp\Core\App; use DuckPhp\Core\SingletonTrait; trait ExceptionReporterTrait { use SingletonTrait; public static function OnException($ex) { $class = get_class($ex); ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/Model/Base.php
src/Foundation/Model/Base.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation\Model; use DuckPhp\Foundation\SimpleModelTrait; class Base { use SimpleModelTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/Model/Helper.php
src/Foundation/Model/Helper.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation\Model; use DuckPhp\Helper\ModelHelperTrait; class Helper { use ModelHelperTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/Controller/Base.php
src/Foundation/Controller/Base.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation\Controller; use DuckPhp\Foundation\SimpleControllerTrait; class Base { use SimpleControllerTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/Controller/Helper.php
src/Foundation/Controller/Helper.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation\Controller; use DuckPhp\Helper\ControllerHelperTrait; class Helper { use ControllerHelperTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/Business/Base.php
src/Foundation/Business/Base.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation\Business; use DuckPhp\Foundation\SimpleBusinessTrait; class Base { use SimpleBusinessTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/Business/Helper.php
src/Foundation/Business/Helper.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation\Business; use DuckPhp\Helper\BusinessHelperTrait; class Helper { use BusinessHelperTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Foundation/System/Helper.php
src/Foundation/System/Helper.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Foundation\System; use DuckPhp\Helper\AppHelperTrait; class Helper { use AppHelperTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/FastInstaller/Supporter.php
src/FastInstaller/Supporter.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\FastInstaller; use DuckPhp\Component\DbManager; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; class Supporter extends ComponentBase { public $options = [ 'database_driver_supporter_map' => [ ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/FastInstaller/RedisInstaller.php
src/FastInstaller/RedisInstaller.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\FastInstaller; use DuckPhp\Component\ExtOptionsLoader; use DuckPhp\Component\RedisManager; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Console; class RedisInstaller extends ComponentBa...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/FastInstaller/SupporterByMysql.php
src/FastInstaller/SupporterByMysql.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\FastInstaller; use DuckPhp\Component\DbManager; class SupporterByMysql extends Supporter { public function readDsnSetting($options) { $options = parent::readDsnSetting($options); return a...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/FastInstaller/SupporterBySqlite.php
src/FastInstaller/SupporterBySqlite.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\FastInstaller; use DuckPhp\Component\DbManager; use DuckPhp\Core\App; class SupporterBySqlite extends Supporter { ///////////////////////////////// public function getRuntimePath() { //TODO t...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/FastInstaller/SqlDumper.php
src/FastInstaller/SqlDumper.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\FastInstaller; use DuckPhp\Component\DbManager; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; class SqlDumper extends ComponentBase { public $options = [ 'path' => '', 'path_sql_dump'...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/FastInstaller/FastInstaller.php
src/FastInstaller/FastInstaller.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\FastInstaller; use DuckPhp\Component\ExtOptionsLoader; use DuckPhp\Component\RouteHookResource; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Console; use DuckPhp\Core\EventManager; use D...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/FastInstaller/DatabaseInstaller.php
src/FastInstaller/DatabaseInstaller.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\FastInstaller; use DuckPhp\Component\DbManager; use DuckPhp\Component\ExtOptionsLoader; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Console; class DatabaseInstaller extends ComponentBa...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/GlobalUser/UserServiceInterface.php
src/GlobalUser/UserServiceInterface.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\GlobalUser; interface UserServiceInterface { public function batchGetUsernames(array $ids); }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/GlobalUser/UserException.php
src/GlobalUser/UserException.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\GlobalUser; use DuckPhp\Core\DuckPhpSystemException; class UserException extends DuckPhpSystemException { // }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/GlobalUser/UserControllerInterface.php
src/GlobalUser/UserControllerInterface.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\GlobalUser; interface UserControllerInterface { }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/GlobalUser/GlobalUser.php
src/GlobalUser/GlobalUser.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\GlobalUser; use DuckPhp\Component\PhaseProxy; use DuckPhp\Component\ZCallTrait; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; class GlobalUser extends ComponentBase implements UserActionInterface { c...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/GlobalUser/UserActionInterface.php
src/GlobalUser/UserActionInterface.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\GlobalUser; interface UserActionInterface { public function id($check_login = true) : int; public function name($check_login = true) : string; public function service(); public function login(arr...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Db/Db.php
src/Db/Db.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Db; class Db implements DbInterface { use DbAdvanceTrait; public $pdo; public $config; protected $tableName; protected $resultClass = \stdClass::class; protected $rowCount; protec...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Db/DbAdvanceTrait.php
src/Db/DbAdvanceTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Db; trait DbAdvanceTrait { public function quoteIn($array) { if (empty($array)) { return 'NULL'; } array_walk( $array, function (&$v, $k) { ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Db/DbInterface.php
src/Db/DbInterface.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Db; interface DbInterface { public function close(); public function PDO($object = null); public function quote($string); public function fetchAll($sql, ...$args); public function fetch($sql, ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/RouteHookRouteMap.php
src/Component/RouteHookRouteMap.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Route; class RouteHookRouteMap extends ComponentBase { public $options = [ 'controller_url_prefix' => '', 'route_map_important' => ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/RouteHookCheckStatus.php
src/Component/RouteHookCheckStatus.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\DuckPhpSystemException; use DuckPhp\Core\Route; use DuckPhp\Core\View; class RouteHookCheckStatus extends ComponentBase { pub...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/Command.php
src/Component/Command.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Console; use DuckPhp\HttpServer\HttpServer; class Command extends ComponentBase { /** * show version */ public ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/ZCallTrait.php
src/Component/ZCallTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Component\PhaseProxy; trait ZCallTrait { /** * @return self */ public static function _Z($phase = null) { return PhaseProxy::CreatePhaseProxy($phase, static::...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/RouteHookPathInfoCompat.php
src/Component/RouteHookPathInfoCompat.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Route; class RouteHookPathInfoCompat extends ComponentBase { public $options = [ 'path_info_compact_enable' => true, 'path_info_com...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/RedisCache.php
src/Component/RedisCache.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\ComponentBase; class RedisCache extends ComponentBase //implements Psr\SimpleCache\CacheInterface; { public $options = [ 'redis_cache_skip_replace' => false, 'redi...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/PhaseProxy.php
src/Component/PhaseProxy.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\App; class PhaseProxy { public $container_class; protected $overriding; public function __construct($container_class, $overriding) { $this->overriding = $overr...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/RouteHookResource.php
src/Component/RouteHookResource.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Route; use DuckPhp\Core\SystemWrapper; class RouteHookResource extends ComponentBase { public $options = [ 'path' => ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/RouteHookRewrite.php
src/Component/RouteHookRewrite.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Route; class RouteHookRewrite extends ComponentBase { public $options = [ 'controller_url_prefix' => '', 'rewrite_map' => [], ]...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/PagerInterface.php
src/Component/PagerInterface.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; interface PagerInterface { public function current($new_value = null) : int; public function pageSize($new_value = null) : int; public function render($total, $options = []) : string; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/ExtOptionsLoader.php
src/Component/ExtOptionsLoader.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; class ExtOptionsLoader extends ComponentBase { public static $all_ext_options; protected function get_ext_options_file() { ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/Cache.php
src/Component/Cache.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\ComponentBase; class Cache extends ComponentBase //implements Psr\SimpleCache\CacheInterface; { public function get($key, $default = null) { return $default; } ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/Configer.php
src/Component/Configer.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; class Configer extends ComponentBase { public $options = [ 'path' => '', 'path_config' => 'config', ]; protected $all_...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/RedisManager.php
src/Component/RedisManager.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\ComponentBase; use Redis; class RedisManager extends ComponentBase { /* redis_list=> [[ 'host'=>'', 'port'=>'', 'auth'=>'',...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/DbManager.php
src/Component/DbManager.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Logger; use DuckPhp\Db\Db; class DbManager extends ComponentBase { const TAG_WRITE = 0; const TAG_READ = 1; /* d...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Component/Pager.php
src/Component/Pager.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Component; use DuckPhp\Core\ComponentBase; class Pager extends ComponentBase implements PagerInterface { public $options = [ 'url' => null, 'current' => null, 'page_size' => 30, ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/GlobalAdmin/AdminException.php
src/GlobalAdmin/AdminException.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\GlobalAdmin; use DuckPhp\Core\DuckPhpSystemException; class AdminException extends DuckPhpSystemException { // }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/GlobalAdmin/AdminActionInterface.php
src/GlobalAdmin/AdminActionInterface.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\GlobalAdmin; interface AdminActionInterface { public function id($check_login = true); public function name($check_login = true); public function service(); public function login(array $post); ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/GlobalAdmin/GlobalAdmin.php
src/GlobalAdmin/GlobalAdmin.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\GlobalAdmin; use DuckPhp\Component\PhaseProxy; use DuckPhp\Component\ZCallTrait; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; class GlobalAdmin extends ComponentBase implements AdminActionInterface { ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/GlobalAdmin/AdminServiceInterface.php
src/GlobalAdmin/AdminServiceInterface.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\GlobalAdmin; interface AdminServiceInterface { public function doCheckAccess(int $admin_id, string $class, string $method, ?string $url = null); public function doIsSuper(int $admin_id); public functi...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/GlobalAdmin/AdminControllerInterface.php
src/GlobalAdmin/AdminControllerInterface.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\GlobalAdmin; interface AdminControllerInterface { }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/HttpServer/HttpServerInterface.php
src/HttpServer/HttpServerInterface.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\HttpServer; interface HttpServerInterface { //public $options = []; public static function RunQuickly($options); public function run(); public function getPid(); public function close(); }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/HttpServer/HttpServer.php
src/HttpServer/HttpServer.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\HttpServer; class HttpServer { public $options = [ 'host' => '127.0.0.1', 'port' => '8080', 'path' => '', 'path_document' => 'public', // 'docroot' // 'dry' ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Helper/ModelHelperTrait.php
src/Helper/ModelHelperTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Helper; use DuckPhp\Component\DbManager; use DuckPhp\Core\CoreHelper; use DuckPhp\Core\SingletonTrait; trait ModelHelperTrait { use SingletonTrait; /** * * @param mixed $tag * @return \Duc...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Helper/BusinessHelperTrait.php
src/Helper/BusinessHelperTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Helper; use DuckPhp\Component\Cache; use DuckPhp\Component\Configer; use DuckPhp\Core\App; use DuckPhp\Core\CoreHelper; use DuckPhp\Core\EventManager; use DuckPhp\Core\SingletonTrait; use DuckPhp\GlobalAdmin\Glob...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Helper/ControllerHelperTrait.php
src/Helper/ControllerHelperTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Helper; use DuckPhp\Component\Configer; use DuckPhp\Component\DbManager; use DuckPhp\Component\Pager; use DuckPhp\Core\App; use DuckPhp\Core\CoreHelper; use DuckPhp\Core\EventManager; use DuckPhp\Core\ExceptionMa...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Helper/AppHelperTrait.php
src/Helper/AppHelperTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Helper; use DuckPhp\Component\DbManager; use DuckPhp\Component\RedisManager; use DuckPhp\Component\RouteHookRewrite; use DuckPhp\Component\RouteHookRouteMap; use DuckPhp\Core\Console; use DuckPhp\Core\CoreHelper;...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/ExceptionManager.php
src/Core/ExceptionManager.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; use DuckPhp\Core\ComponentBase; class ExceptionManager extends ComponentBase { public $options = [ 'handle_all_dev_error' => true, 'handle_all_exception' => true, 'system_except...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/Console.php
src/Core/Console.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; class Console extends ComponentBase { public $options = [ 'cli_command_group' => [ ], 'cli_command_default' => 'help', 'cli_readlines_logfile' => '', ]; /* cli_comman...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/AutoLoader.php
src/Core/AutoLoader.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; class AutoLoader { public $options = [ 'path' => '', 'namespace' => '', 'path_namespace' => 'app', 'skip_app_autoload' => false, 'autoload_cache_in_cli' ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/Functions.php
src/Core/Functions.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ use DuckPhp\Core\CoreHelper; if (! function_exists('__h')) { function __h($str) { return CoreHelper::H($str); } } if (! function_exists('__l')) { function __l($str, $args = []) { return CoreHelp...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/Route.php
src/Core/Route.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; use DuckPhp\Core\ComponentBase; class Route extends ComponentBase { use Route_UrlManager; use Route_Helper; const HOOK_PREPEND_OUTTER = 'prepend-outter'; const HOOK_PREPEND_INNER = 'pr...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/SingletonTrait.php
src/Core/SingletonTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; use DuckPhp\Core\PhaseContainer; trait SingletonTrait { public static function _($object = null) { return PhaseContainer::GetObject(static::class, $object); } }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/ComponentBase.php
src/Core/ComponentBase.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; use DuckPhp\Core\SingletonTrait; class ComponentBase // implements ComponentInterface { use SingletonTrait; public $options = []; protected $is_inited = false; protected $context_class...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/ComponentInterface.php
src/Core/ComponentInterface.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; interface ComponentInterface { //public $options; /* array() */; public static function _($new_object = null); public function init(array $options, ?object $contetxt = null);/*return this */ ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/App.php
src/Core/App.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\KernelTrait; use DuckPhp\Core\Logger; use DuckPhp\Core\Route; use DuckPhp\Core\SuperGlobal; use DuckPhp\Core\SystemWrapper; use DuckPhp\Core\View; /** * MA...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/ExitException.php
src/Core/ExitException.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; class ExitException extends DuckPhpSystemException { // public static function Init() { if (!defined('__EXIT_EXCEPTION')) { define('__EXIT_EXCEPTION', static::class); ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/Runtime.php
src/Core/Runtime.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; use DuckPhp\Core\ComponentBase; class Runtime extends ComponentBase { public $options = [ 'use_output_buffer' => false, 'path_runtime' => 'runtime', ]; public $context_class; ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/EventManager.php
src/Core/EventManager.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; use DuckPhp\Core\ComponentBase; class EventManager extends ComponentBase { protected $events = []; public static function OnEvent($event, $callback) { return static::_()->on($event, $ca...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/ThrowOnTrait.php
src/Core/ThrowOnTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; trait ThrowOnTrait { public static function ThrowOn($flag, $message, $code = 0) { if (!$flag) { return; } throw new static($message, $code); } }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/Logger.php
src/Core/Logger.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; use DuckPhp\Core\ComponentBase; class Logger extends ComponentBase //implements Psr\Log\LoggerInterface; { const EMERGENCY = 'emergency'; const ALERT = 'alert'; const CRITICAL = 'critical'; ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/CoreHelper.php
src/Core/CoreHelper.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Logger; use DuckPhp\Core\SystemWrapper; class CoreHelper extends ComponentBase { public static function H($str) { retu...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/PhaseContainer.php
src/Core/PhaseContainer.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; class PhaseContainer { public static $instance; public $containers = []; public $current; public $default; public $publics; public static function ResetContainer() { ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/KernelTrait.php
src/Core/KernelTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ // MAIN FILE //dvaknheo@github.com //OK,Lazy namespace DuckPhp\Core; use DuckPhp\Core\Console; use DuckPhp\Core\EventManager; use DuckPhp\Core\ExceptionManager; use DuckPhp\Core\PhaseContainer; use DuckPhp\Core\Route; use DuckPhp...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/SuperGlobal.php
src/Core/SuperGlobal.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; class SuperGlobal extends ComponentBase { public $options = [ 'superglobal_auto_define' => false, ]; public $_GET; public $_POST; public $_REQUEST; public $_SERVER; ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/DuckPhpSystemException.php
src/Core/DuckPhpSystemException.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; use DuckPhp\Core\ThrowOnTrait; use Exception; class DuckPhpSystemException extends Exception { use ThrowOnTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/View.php
src/Core/View.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; use DuckPhp\Core\ComponentBase; class View extends ComponentBase { /** @var array */ public $options = [ 'path' => '', 'path_view' => 'view', 'view_skip_notice_error' => tru...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Core/SystemWrapper.php
src/Core/SystemWrapper.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Core; class SystemWrapper extends ComponentBase { // protected $system_handlers=[]; protected $system_handlers = [ 'header' => null, 'setcookie' => null, 'exit' => null, 's...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/StrictCheck.php
src/Ext/StrictCheck.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Component\DbManager; use DuckPhp\Core\ComponentBase; use ErrorException; //@codeCoverageIgnoreStart class StrictCheck extends ComponentBase { const MAX_TRACE_LEVEL = 20; public $opt...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/JsonRpcClientBase.php
src/Ext/JsonRpcClientBase.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use DuckPhp\Ext\JsonRpcExt; class JsonRpcClientBase extends ComponentBase { protected $_base_class = null; public function __construct() { } public funct...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/StaticReplacer.php
src/Ext/StaticReplacer.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; class StaticReplacer extends ComponentBase { public $GLOBALS = []; public $STATICS = []; public $CLASS_STATICS = []; /////////////////////////////// //TOD...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/EmptyView.php
src/Ext/EmptyView.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\View; class EmptyView extends View { public $options = [ 'empty_view_key_view' => 'view', 'empty_view_key_wellcome_class' => 'Main/', 'empty_view_trim_view_wellc...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/MyMiddlewareManager.php
src/Ext/MyMiddlewareManager.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Route; use DuckPhp\Ext\RouteHookManager; class MyMiddlewareManager extends ComponentBase { public $options = [ 'middleware' => [], //'mid...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/MyFacadesBase.php
src/Ext/MyFacadesBase.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use DuckPhp\Ext\MyFacadesAutoLoader; class MyFacadesBase extends ComponentBase { public function __construct() { } public static function __callStatic($name, ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/HookChain.php
src/Ext/HookChain.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use ArrayAccess; class HookChain implements ArrayAccess { protected $chain = []; public function __construct() { } public function __invoke() { foreach ($this->chain as ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/RouteHookApiServer.php
src/Ext/RouteHookApiServer.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\ExceptionManager; use DuckPhp\Core\Route; use DuckPhp\Core\SystemWrapper; class RouteHookApiServer extends ComponentBase { public $options = [ 'n...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/ExtendableStaticCallTrait.php
src/Ext/ExtendableStaticCallTrait.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; trait ExtendableStaticCallTrait { protected static $static_methods = []; public static function AssignExtendStaticMethod($key, $value = null) { self::$static_methods[static::class] =...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/RouteHookFunctionRoute.php
src/Ext/RouteHookFunctionRoute.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Route; class RouteHookFunctionRoute extends ComponentBase { public $options = [ 'function_route' => false, 'function_route_method_prefix'...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/FinderForController.php
src/Ext/FinderForController.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Route; use DuckPhp\Foundation\Helper; use DuckPhp\GlobalAdmin\AdminControllerInterface; use DuckPhp\GlobalUser\UserControllerInterface; ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/RouteHookManager.php
src/Ext/RouteHookManager.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Route; class RouteHookManager extends ComponentBase { public $options = []; protected $hook_list; public function attachPreRun() { ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/JsonView.php
src/Ext/JsonView.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\CoreHelper; use DuckPhp\Core\View; class JsonView extends View { public $options = [ 'json_view_skip_replace' => false, 'json_view_skip_vars' => [], ]; public fu...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/DuckPhpInstaller.php
src/Ext/DuckPhpInstaller.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Console; use DuckPhp\HttpServer\HttpServer; class DuckPhpInstaller extends ComponentBase { public $options = [ 'path' => '', 'namespace' ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/MiniRoute.php
src/Ext/MiniRoute.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; class MiniRoute extends ComponentBase { public $options = [ 'namespace' => '', 'namespace_controller' => 'Controller', 'controller_path_e...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/RouteHookDirectoryMode.php
src/Ext/RouteHookDirectoryMode.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\Route; class RouteHookDirectoryMode extends ComponentBase { public $options = [ 'mode_dir_basepath' => '', //'mode_dir_use_path_info'=>tr...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/CallableView.php
src/Ext/CallableView.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\View; class CallableView extends View { public $options = [ 'callable_view_head' => null, 'callable_view_foot' => null, 'callable_view_class' => null, 'c...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/JsonRpcExt.php
src/Ext/JsonRpcExt.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use Exception; class JsonRpcExt extends ComponentBase { public $options = [ 'jsonrpc_namespace' => 'JsonRpc', 'jsonrpc_backend' => 'https://127.0.0.1', ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/MyFacadesAutoLoader.php
src/Ext/MyFacadesAutoLoader.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use DuckPhp\Ext\MyFacadesBase; class MyFacadesAutoLoader extends ComponentBase { public $options = [ 'facades_namespace' => 'MyFacades', 'facades_map' => ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/Misc.php
src/Ext/Misc.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\CoreHelper; use DuckPhp\Core\Route; class Misc extends ComponentBase { public $options = [ 'path' => '', 'path_lib' => 'lib', ]; ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/src/Ext/ExceptionWrapper.php
src/Ext/ExceptionWrapper.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace DuckPhp\Ext; use DuckPhp\Core\ComponentBase; class ExceptionWrapper extends ComponentBase { protected $object; public static function Wrap($object) { return static::_()->doWrap($object); } ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/ZAllDemoTest.php
tests/ZAllDemoTest.php
<?php namespace tests; use PHPUnit\Framework\Assert; use DuckPhp\HttpServer\HttpServer; class ZAllDemoTest extends \PHPUnit\Framework\TestCase { public function testAll() { // 这里 开启所有 demo 检测所有 demo 的结果 $path_app = realpath(__DIR__.'/../template/').'/'; $port = 9529; $server_op...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/support.php
tests/support.php
<?php require_once(__DIR__ . '/bootstrap.php'); class support extends \PHPUnit\Framework\TestCase { public function testMain() { echo "e.g. composer run-script fulltest\n"; echo "e.g. composer run-script singletest tests/Core/AppTest.php\n"; ini_set('xdebug.mode','coverage'); \LibCoverage\LibCove...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/genoptions.php
tests/genoptions.php
<?php use DuckPhp\Core\PhaseContainer; use DuckPhp\DuckPhp; require_once(__DIR__.'/../autoload.php'); class MyContainer extends PhaseContainer { public function getComponents() { $classes= array_keys($this->containers[DuckPhp::class]); return $classes; } } ////////////////////// // 自动化文档脚本...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false