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/tests/Helper/BusinessHelperTraitTest.php
tests/Helper/BusinessHelperTraitTest.php
<?php namespace tests\DuckPhp\Helper; use DuckPhp\Helper\BusinessHelperTrait; use DuckPhp\Core\App; class BusinessHelperTraitTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(BusinessHelperTrait::class); $key='key'; $file_b...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Helper/AppHelperTraitTest.php
tests/Helper/AppHelperTraitTest.php
<?php namespace tests\DuckPhp\Helper; use DuckPhp\Helper\AppHelperTrait; use DuckPhp\Core\App; use DuckPhp\Core\SingletonTrait as SingletonExTrait; class AppHelperTraitTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(AppHelperTrait::class); ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/ThrowOnTraitTest.php
tests/Core/ThrowOnTraitTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\ThrowOnTrait; class ThrowOnTraitTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(ThrowOnTrait::class); ThrowOnObject::ThrowOn(false, "123"); try { ThrowOnObject::Throw...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/ConsoleTest.php
tests/Core/ConsoleTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\Console; use DuckPhp\Component\DefaultCommand; use DuckPhp\HttpServer\HttpServer; use DuckPhp\Component\Installer; use DuckPhp\DuckPhp as DuckPhp; use DuckPhp\Core\ComponentBase; class ConsoleTest extends \PHPUnit\Framework\TestCase { public function testAll() ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/ExceptionManagerTest.php
tests/Core/ExceptionManagerTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\ExceptionManager; use DuckPhp\Core\ExitException; class ExceptionManagerTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(ExceptionManager::class); $exception_options=[ 'defa...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/KernelTraitTest.php
tests/Core/KernelTraitTest.php
<?php namespace tests\DuckPhp\Core{ use DuckPhp\DuckPhp as App; use DuckPhp\Core\App as OldApp; use DuckPhp\Core\KernelTrait; use DuckPhp\Core\Runtime; use DuckPhp\Core\Logger; use DuckPhp\DuckPhp; use DuckPhp\Component\Configer; use DuckPhp\Core\View; use DuckPhp\Core\Route; use DuckPhp\Core\SingletonTrait as Singlet...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/SystemWrapperTest.php
tests/Core/SystemWrapperTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\SingletonEx\SingletonExTrait; use DuckPhp\Core\SystemWrapper; use DuckPhp\Core\ExitException; class SystemWrapperTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(SystemWrapper::class); ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/PhaseContainerTest.php
tests/Core/PhaseContainerTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\PhaseContainer; use DuckPhp\Core\SingletonTrait; class PhaseContainerTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(PhaseContainer::class); $LibCoverage = \LibCoverage\LibCoverage::G();...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/ComponentBaseTest.php
tests/Core/ComponentBaseTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\App; use DuckPhp\Core\ComponentBase; use DuckPhp\Core\ComponentInterface; class ComponentBaseTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(ComponentBase::class); $LibCoverage=\LibCover...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/EventManagerTest.php
tests/Core/EventManagerTest.php
<?php namespace tests\DuckPhp\Component; use DuckPhp\Core\EventManager; class EventManagerTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(EventManager::class); EventManager::OnEvent('MyEvent',function(...$args){ var_dump($args);}); ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/AppTest.php
tests/Core/AppTest.php
<?php namespace tests\DuckPhp\Core{ use DuckPhp\Core\App; use DuckPhp\Core\ExceptionManager; use DuckPhp\Core\PhaseContainer; use DuckPhp\DuckPhp; use DuckPhp\Component\Configer; use DuckPhp\Core\ExitException; use DuckPhp\Core\View; use DuckPhp\Core\Route; use DuckPhp\Core\SuperGlobal; use DuckPhp\Core\SystemWrapper;...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/RuntimeTest.php
tests/Core/RuntimeTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\Runtime; use DuckPhp\Core\App; class RuntimeTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(Runtime::class); $options = ['is_debug'=>true]; Runtime::_()->init(['use_outp...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/SuperGlobalTest.php
tests/Core/SuperGlobalTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\SuperGlobal; use DuckPhp\Core\App; class SuperGlobalTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(SuperGlobal::class); SuperGlobal::_()->_SessionSet('x',DATE('Y,M,d')); ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/SingletonTraitTest.php
tests/Core/SingletonTraitTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\SingletonTrait; class SingletonTraitTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(SingletonTrait::class); SingletonObject::_(); \LibCoverage\LibCoverage::End(...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/LoggerTest.php
tests/Core/LoggerTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\Logger; use DuckPhp\Core\App as DuckPhp; class LoggerTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(Logger::class); $path_log=\LibCoverage\LibCoverage::G()->getClassTestPath(Log...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/RouteTest.php
tests/Core/RouteTest.php
<?php namespace tests\DuckPhp\Core { use DuckPhp\Core\Route; use DuckPhp\Core\SingletonTrait as SingletonExTrait; use DuckPhp\Ext\SuperGlobalContext; class RouteTest extends \PHPUnit\Framework\TestCase { public function testA() { \LibCoverage\LibCoverage::Begin(Route::class); $_SERVER...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/ViewTest.php
tests/Core/ViewTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\View; use DuckPhp\Core\App; class ViewTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(View::class); $path_view=\LibCoverage\LibCoverage::G()->getClassTestPath(View::cla...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/AutoLoaderTest.php
tests/Core/AutoLoaderTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\AutoLoader; class AutoLoaderTest extends \PHPUnit\Framework\TestCase { public function testAll() { //\opcache_reset(); //$this->assertTrue(ini_get('opcache.enable_cli')); \LibCoverage\LibCoverage::Begin(AutoLoader::class); $p...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/ExitExceptionTest.php
tests/Core/ExitExceptionTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\ExitException; use DuckPhp\Core\App; class ExitExceptionTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(ExitException::class); ExitException::Init(); ExitException::Init(); ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Core/CoreHelperTest.php
tests/Core/CoreHelperTest.php
<?php namespace tests\DuckPhp\Core; use DuckPhp\Core\App; use DuckPhp\Core\CoreHelper; class CoreHelperTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(CoreHelper::class); $str ="<b>{abc}</b>"; $args = ["abc"=>"def"]; $data...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/MiscTest.php
tests/Ext/MiscTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\Misc; use DuckPhp\DuckPhp; use DuckPhp\Core\Route; use DuckPhp\Core\SystemWrapper; use DuckPhp\Core\SingletonTrait as SingletonExTrait; class MiscTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(Mi...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/MyMiddlewareManagerTest.php
tests/Ext/MyMiddlewareManagerTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\MyMiddlewareManager; use DuckPhp\Core\App; use DuckPhp\Core\SingletonTrait as SingletonExTrait; class MyMiddlewareManagerTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(MyMiddlewareManager::class...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/StaticReplacerTest.php
tests/Ext/StaticReplacerTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\StaticReplacer; class StaticReplacerTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(StaticReplacer::class); //code here $k="k";$v="v"; StaticReplacer::_()...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/JsonViewTest.php
tests/Ext/JsonViewTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\JsonView; use DuckPhp\DuckPhp; use DuckPhp\Core\SystemWrapper; class JsonViewTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(JsonView::class); $options=[ 'json_view_skip_repl...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/MyFacadesAutoLoaderTest.php
tests/Ext/MyFacadesAutoLoaderTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\MyFacadesAutoLoader; use DuckPhp\Core\SingletonTrait as SingletonExTrait; use MyFacades\tests\DuckPhp\Ext\MyFacadesAutoLoaderTestObject as TestObject; class MyFacadesAutoLoaderTest extends \PHPUnit\Framework\TestCase { public function testAll() { \Lib...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/StrictCheckTest.php
tests/Ext/StrictCheckTest.php
<?php declare(strict_types=1); namespace tests\DuckPhp\Ext { use DuckPhp\Ext\StrictCheck; use DuckPhp\DuckPhp; use DuckPhp\Core\Route; use DuckPhp\Core\SingletonTrait as SingletonExTrait; use tests\DuckPhp\Ext\Model\FakeModel; use tests\DuckPhp\Ext\Service\FakeService; class StrictCheckTest extends \PHPUnit\Framewor...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/MiniRouteTest.php
tests/Ext/MiniRouteTest.php
<?php namespace tests\DuckPhp\Ext { use DuckPhp\Core\SingletonTrait as SingletonExTrait; use DuckPhp\Ext\SuperGlobalContext; use DuckPhp\Ext\MiniRoute; class MiniRouteTest extends \PHPUnit\Framework\TestCase { public function bind($path_info, $request_method = 'GET') { $path_info = parse_url($path_info...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/FinderForControllerTest.php
tests/Ext/FinderForControllerTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\FinderForController; use DuckPhp\DuckPhp; use DuckPhp\Core\Route; use DuckPhp\Core\SystemWrapper; use DuckPhp\Core\SingletonTrait as SingletonExTrait; use DuckPhp\Core\AutoLoader; class FinderForControllerTest extends \PHPUnit\Framework\TestCase { public function...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/JsonRpcExtTest.php
tests/Ext/JsonRpcExtTest.php
<?php namespace tests\DuckPhp\Ext{ use DuckPhp\Core\SingletonTrait as SingletonExTrait; use DuckPhp\Ext\JsonRpcExt; use DuckPhp\HttpServer\HttpServer; use TestService; use JsonRpc\TestService as JS; class JsonRpcExtTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibC...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/DuckPhpInstallerTest.php
tests/Ext/DuckPhpInstallerTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\DuckPhpInstaller; use DuckPhp\Core\App; use DuckPhp\Core\Console; use DuckPhp\HttpServer\HttpServer; class InstallerConsole extends Console { public function readLines($options, $desc, $validators = [], $fp_in = null, $fp_out = null) { if(empty($this-...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/JsonRpcClientBaseTest.php
tests/Ext/JsonRpcClientBaseTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Core\ComponentBase; use DuckPhp\Ext\JsonRpcClientBase; use DuckPhp\Ext\JsonRpcExt; class JsonRpcClientBaseTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(JsonRpcClientBase::class); J...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/RouteHookApiServerTest.php
tests/Ext/RouteHookApiServerTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\DuckPhp; use DuckPhp\Core\Route; use DuckPhp\Ext\RouteHookApiServer; use DuckPhp\Core\SingletonTrait as SingletonExTrait; class RouteHookApiServerTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(RouteH...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/HookChainTest.php
tests/Ext/HookChainTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\HookChain; class HookChainTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(HookChain::class); $hooks=null; $callable1=function(){ var_dump(DATE(DATE_ATOM));}; $call...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/RouteHookManagerTest.php
tests/Ext/RouteHookManagerTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\DuckPhp; use DuckPhp\Core\Route; use DuckPhp\Ext\RouteHookManager; use DuckPhp\Component\RouteHookRouteMap; use DuckPhp\Component\RouteHookPathInfoCompat; class RouteHookManagerTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCov...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/RouteHookFunctionRouteTest.php
tests/Ext/RouteHookFunctionRouteTest.php
<?php namespace tests\DuckPhp\Ext { use DuckPhp\Ext\RouteHookFunctionRoute; use DuckPhp\Core\App; use DuckPhp\Core\Route; use DuckPhp\Ext\SuperGlobalContext; class RouteHookFunctionRouteTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(RouteHookFunc...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/ExceptionWrapperTest.php
tests/Ext/ExceptionWrapperTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\ExceptionWrapper; use DuckPhp\Core\SingletonTrait as SingletonExTrait; class ExceptionWrapperTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(ExceptionWrapper::class); // ExceptionW...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/EmptyViewTest.php
tests/Ext/EmptyViewTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\EmptyView; class EmptyViewTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(EmptyView::class); $options=[ 'empty_view_key_view'=> 'view', 'empty_view_key_skip_head_f...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/RouteHookDirectoryModeTest.php
tests/Ext/RouteHookDirectoryModeTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\RouteHookDirectoryMode; use DuckPhp\Core\App; use DuckPhp\Core\Route; class RouteHookDirectoryModeTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(RouteHookDirectoryMode::class); $...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/ExtendableStaticCallTraitTest.php
tests/Ext/ExtendableStaticCallTraitTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\ExtendableStaticCallTrait; class ExtendableStaticCallTraitTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(ExtendableStaticCallTrait::class); //code here ExtendableStaticCa...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/MyFacadesBaseTest.php
tests/Ext/MyFacadesBaseTest.php
<?php namespace tests\DuckPhp\Ext; use DuckPhp\Ext\MyFacadesBase; use DuckPhp\Ext\MyFacadesAutoLoader; use DuckPhp\Core\SingletonTrait as SingletonExTrait; class MyFacadesBaseTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(MyFacadesBase::class); ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/tests/Ext/CallableViewTest.php
tests/Ext/CallableViewTest.php
<?php namespace tests\DuckPhp\Ext{ use DuckPhp\Ext\CallableView; use DuckPhp\Core\SingletonTrait; class CallableViewTest extends \PHPUnit\Framework\TestCase { public function testAll() { \LibCoverage\LibCoverage::Begin(CallableView::class); $path_view=\LibCoverage\LibCoverage::G()->get...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/cli.php
template/cli.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ //autoload file $autoload_file = __DIR__.'/vendor/autoload.php'; if (is_file($autoload_file)) { require_once $autoload_file; } else { $autoload_file = __DIR__.'/../vendor/autoload.php'; if (is_file($autoload_file)) { ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/Model/Base.php
template/src/Model/Base.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\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/template/src/Model/Helper.php
template/src/Model/Helper.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\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/template/src/Model/CrossModelEx.php
template/src/Model/CrossModelEx.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\Model; use ProjectNameTemplate\Model\Base; use ProjectNameTemplate\Model\Helper; class CrossModelEx extends Base { public function foo() { return DATE(DATE_ATOM); } }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/Model/DemoModel.php
template/src/Model/DemoModel.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\Model; use ProjectNameTemplate\Model\Base; use ProjectNameTemplate\Model\Helper; class DemoModel extends Base { public function foo() { return DATE(DATE_ATOM); } public functi...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/Controller/Base.php
template/src/Controller/Base.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\Controller; use DuckPhp\Foundation\SimpleControllerTrait; class Base { use SimpleControllerTrait; public function __construct() { } }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/Controller/Helper.php
template/src/Controller/Helper.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\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/template/src/Controller/Commands.php
template/src/Controller/Commands.php
<?php namespace ProjectNameTemplate\Controller; use DuckPhp\DuckPhp; use DuckPhp\Foundation\CommonCommandTrait; use DuckPhp\Foundation\SimpleControllerTrait; class Commands { use SimpleControllerTrait; use CommonCommandTrait; /** * console command sample */ public function command_hello() ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/Controller/testController.php
template/src/Controller/testController.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\Controller; use ProjectNameTemplate\Business\DemoBusiness; class testController { public function action_done() { $var = DemoBusiness::_()->foo(); Helper::Show(get_defined_var...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/Controller/MainController.php
template/src/Controller/MainController.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\Controller; use ProjectNameTemplate\Business\DemoBusiness; use ProjectNameTemplate\Controller\Base; use ProjectNameTemplate\Controller\Helper; class MainController extends Base { public function ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/Controller/CommonAction.php
template/src/Controller/CommonAction.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\Controller; use DuckPhp\Foundation\SimpleControllerTrait; class CommonAction extends Base { use SimpleControllerTrait; public function foo() { // } }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/Controller/Session.php
template/src/Controller/Session.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\Controller; use DuckPhp\Foundation\SimpleSessionTrait; class Session { use SimpleSessionTrait; /* public function getCurrentUser() { return $this->get('user', []); } p...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/Controller/ExceptionReporter.php
template/src/Controller/ExceptionReporter.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\Controller; use DuckPhp\Foundation\ExceptionReporterTrait; class ExceptionReporter { use ExceptionReporterTrait; //public function defaultException($ex) //{ //return App::Current()->_...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/Business/Base.php
template/src/Business/Base.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\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/template/src/Business/Helper.php
template/src/Business/Helper.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\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/template/src/Business/CommonService.php
template/src/Business/CommonService.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\Business; use ProjectNameTemplate\Business\Base; use ProjectNameTemplate\Business\Helper; class CommonService extends Base { // }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/Business/DemoBusiness.php
template/src/Business/DemoBusiness.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\Business; use ProjectNameTemplate\Business\Base; use ProjectNameTemplate\Business\Helper; use ProjectNameTemplate\Model\DemoModel; class DemoBusiness extends Base { public function foo() { ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/System/BusinessException.php
template/src/System/BusinessException.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\System; class BusinessException extends ProjectException { }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/System/App.php
template/src/System/App.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\System; use DuckPhp\DuckPhp; use ProjectNameTemplate\Controller\ExceptionReporter; class App extends DuckPhp { //@override public $options = [ 'path' => __DIR__ . '/../../', /...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/System/PureApp.php
template/src/System/PureApp.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\System; use DuckPhp\DuckPhp; use ProjectNameTemplate\Controller\ExceptionReporter; class PureApp extends DuckPhp { //@override public $options = [ 'path' => __DIR__ . '/../../', ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/System/ProjectException.php
template/src/System/ProjectException.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\System; use DuckPhp\Foundation\SimpleExceptionTrait; class ProjectException { use SimpleExceptionTrait; }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/System/AppWithAllOptions.php
template/src/System/AppWithAllOptions.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\System; use DuckPhp\DuckPhp; use ProjectNameTemplate\Controller\ExceptionReporter; class AppWithAllOptions extends DuckPhp { //@override public $options = [ //'is_debug' => true, // d...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/src/System/ControllerException.php
template/src/System/ControllerException.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace ProjectNameTemplate\System; class ControllerException extends ProjectException { }
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/public/dbtest.php
template/public/dbtest.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ //autoload file $autoload_file = __DIR__.'../vendor/autoload.php'; if (is_file($autoload_file)) { require_once $autoload_file; } else { $autoload_file = __DIR__.'/../../vendor/autoload.php'; if (is_file($autoload_file))...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/public/cover_test.php
template/public/cover_test.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ //autoload file $autoload_file = __DIR__.'../vendor/autoload.php'; if (is_file($autoload_file)) { require_once $autoload_file; } else { $autoload_file = __DIR__.'/../../vendor/autoload.php'; if (is_file($autoload_file))...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/public/doc.php
template/public/doc.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ //autoload file $autoload_file = __DIR__.'../vendor/autoload.php'; if (is_file($autoload_file)) { require_once $autoload_file; } else { $autoload_file = __DIR__.'/../../vendor/autoload.php'; if (is_file($autoload_file))...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/public/just-route.php
template/public/just-route.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ //autoload file $autoload_file = __DIR__.'../vendor/autoload.php'; if (is_file($autoload_file)) { require_once $autoload_file; } else { $autoload_file = __DIR__.'/../../vendor/autoload.php'; if (is_file($autoload_file))...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/public/helloworld.php
template/public/helloworld.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ //autoload file $autoload_file = __DIR__.'../vendor/autoload.php'; if (is_file($autoload_file)) { require_once $autoload_file; } else { $autoload_file = __DIR__.'/../../vendor/autoload.php'; if (is_file($autoload_file))...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/public/index.php
template/public/index.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ //autoload file $autoload_file = __DIR__.'/../vendor/autoload.php'; if (is_file($autoload_file)) { require_once $autoload_file; } else { $autoload_file = __DIR__.'/../../vendor/autoload.php'; if (is_file($autoload_file)...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/public/api.php
template/public/api.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace { //autoload file $autoload_file = __DIR__.'../vendor/autoload.php'; if (is_file($autoload_file)) { require_once $autoload_file; } else { $autoload_file = __DIR__.'/../../vendor/autoload.ph...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/public/demo.php
template/public/demo.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ namespace { //autoload file $autoload_file = __DIR__.'../vendor/autoload.php'; if (is_file($autoload_file)) { require_once $autoload_file; } else { $autoload_file = __DIR__.'/../../vendor/autoload.ph...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/public/rpc.php
template/public/rpc.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ //autoload file $autoload_file = __DIR__.'../vendor/autoload.php'; if (is_file($autoload_file)) { require_once $autoload_file; } else { $autoload_file = __DIR__.'/../../vendor/autoload.php'; if (is_file($autoload_file))...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/public/traditional.php
template/public/traditional.php
<?php declare(strict_types=1); /** * DuckPhp * From this time, you never be alone~ */ //autoload file $autoload_file = __DIR__.'../vendor/autoload.php'; if (is_file($autoload_file)) { require_once $autoload_file; } else { $autoload_file = __DIR__.'/../../vendor/autoload.php'; if (is_file($autoload_file))...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/view/main.php
template/view/main.php
<?php declare(strict_types=1); // var_dump(get_defined_vars());var_dump($this); ?> <!doctype html> <html> <head> <meta charset="utf-8"> <title>Hello DuckPhp!</title> </head> <body> <h1>Hello DuckPhp</h1> Now is [<?=$var?>] <hr/> <div> 欢迎使用 DuckPhp ,<?php echo $var;?> <a href="<?=__url('test/done')?>">查看 Dem...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/view/files.php
template/view/files.php
<?php declare(strict_types=1); // view/files.php?> <!doctype html><html><body> <fieldset> <legend>执行时间</legend> <div>DuckPhp的执行时间到此,约为??? 秒, 内存消耗 ??? </div> </fieldset> <fieldset> <legend>全部单例</legend> <pre> <?php \Duckphp\Core\PhaseContainer::GetContainerInstanceEx()->dumpAllObject(); ?> </pre> </fieldset> <fieldse...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/view/test/done.php
template/view/test/done.php
<?php declare(strict_types=1); // view/test/done.php?> <!doctype html><html><body> <h1>test</h1> <div><?=$var ?></div> </body></html>
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/view/_sys/error_404.php
template/view/_sys/error_404.php
<?php declare(strict_types=1); // change me if you can //var_dump(get_defined_vars()); $is_debug = __is_debug(); ?> <h1>404!</h1> <?php if ($is_debug) { ?> Developing! <pre> <?php debug_print_backtrace(); ?> </pre> <?php } ?>
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/view/_sys/error_500.php
template/view/_sys/error_500.php
<?php declare(strict_types=1); // change this file if you can. //var_dump(get_defined_vars()); $is_debug = __is_debug(); if ($is_debug) { $class = get_class($ex); $code = $ex->getCode(); $message = $ex->getMessage(); $file = $ex->getFile(); $line = $ex->getLine(); $trace = ''; try{ ...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/config/DuckPhpApps.config.php
template/config/DuckPhpApps.config.php
<?php //regenerate by DuckPhp\DuckPhp->DuckPhp\DuckPhp::saveExtOptions at return array ( );
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
dvaknheo/duckphp
https://github.com/dvaknheo/duckphp/blob/16b1924f5d43911d9448af5b63ab27d20529a104/template/config/DuckPhpSettings.config.php
template/config/DuckPhpSettings.config.php
<?php declare(strict_types=1); /** * DuckPHP * From this time, you never be alone~ */ return [ //'duckphp_is_debug' => true, //'duckphp_platform' => 'default', //'duckphp_is_maintain' => false, /* 'database_list' => [ [ 'dsn' => 'mysql:host=???;port=???;dbname=???;charset=utf8mb4...
php
MIT
16b1924f5d43911d9448af5b63ab27d20529a104
2026-01-05T05:11:36.735455Z
false
noetix/Simple-ORM
https://github.com/noetix/Simple-ORM/blob/708a63d7e44e9ed8b18c537c7d46b968e7bd2697/example.php
example.php
<?php // Load parameters. $params = parse_ini_file(sprintf('%s/parameters.ini', __DIR__), true); // Include the SimpleOrm class include 'SimpleOrm.class.php'; // Connect to the database using mysqli $conn = new mysqli($params['database']['host'], $params['database']['user'], $params['database']['password']); if ($c...
php
MIT
708a63d7e44e9ed8b18c537c7d46b968e7bd2697
2026-01-05T05:11:53.026939Z
false
noetix/Simple-ORM
https://github.com/noetix/Simple-ORM/blob/708a63d7e44e9ed8b18c537c7d46b968e7bd2697/SimpleOrm.class.php
SimpleOrm.class.php
<?php /** * Simple ORM base class. * * @abstract * @package SimpleOrm * @author Alex Joyce <im@alex-joyce.com> */ abstract class SimpleOrm { protected static $conn, $database, $pk = 'id'; private $reflectionObject, $loadMethod, $loadData, $...
php
MIT
708a63d7e44e9ed8b18c537c7d46b968e7bd2697
2026-01-05T05:11:53.026939Z
false
ChristianRiesen/base32
https://github.com/ChristianRiesen/base32/blob/e8b7d85382e396b101d418844b997b4cd744cb8f/src/Base32.php
src/Base32.php
<?php declare(strict_types=1); namespace Base32; /** * Base32 encoder and decoder. * * RFC 4648 compliant * * @see http://www.ietf.org/rfc/rfc4648.txt * Some groundwork based on this class * https://github.com/NTICompass/PHP-Base32 * * @author Christian Riesen <chris.riesen@gmail.com> * @author Sam W...
php
MIT
e8b7d85382e396b101d418844b997b4cd744cb8f
2026-01-05T05:12:09.011400Z
false
ChristianRiesen/base32
https://github.com/ChristianRiesen/base32/blob/e8b7d85382e396b101d418844b997b4cd744cb8f/src/Base32Hex.php
src/Base32Hex.php
<?php declare(strict_types=1); namespace Base32; /** * Base32Hex encoder and decoder. * * RFC 4648 compliant * @see http://www.ietf.org/rfc/rfc4648.txt * * @author Sam Williams <sam@badcow.co> * * @see http://christianriesen.com * * @license MIT License see LICENSE file */ class Base32Hex extends...
php
MIT
e8b7d85382e396b101d418844b997b4cd744cb8f
2026-01-05T05:12:09.011400Z
false
ChristianRiesen/base32
https://github.com/ChristianRiesen/base32/blob/e8b7d85382e396b101d418844b997b4cd744cb8f/tests/Base32Test.php
tests/Base32Test.php
<?php declare(strict_types=1); namespace Base32\Tests; use Base32\Base32; use PHPUnit\Framework\TestCase; /** * @coversDefaultClass \Base32\Base32 */ class Base32Test extends TestCase { /** * Strings to test back and forth encoding/decoding to make sure results are the same. * * @var array<stri...
php
MIT
e8b7d85382e396b101d418844b997b4cd744cb8f
2026-01-05T05:12:09.011400Z
false
ChristianRiesen/base32
https://github.com/ChristianRiesen/base32/blob/e8b7d85382e396b101d418844b997b4cd744cb8f/tests/Base32HexTest.php
tests/Base32HexTest.php
<?php declare(strict_types=1); namespace Base32\Tests; use Base32\Base32Hex; use PHPUnit\Framework\TestCase; /** * @coversDefaultClass \Base32\Base32Hex */ class Base32HexTest extends TestCase { /** * Vectors from RFC with cleartext => base32 pairs. * * @var array<string,string> */ pri...
php
MIT
e8b7d85382e396b101d418844b997b4cd744cb8f
2026-01-05T05:12:09.011400Z
false
yourtion/SurgeConfigGenerator
https://github.com/yourtion/SurgeConfigGenerator/blob/fb5069187355485d427c18785e1a01bc03d9679e/config.sample.php
config.sample.php
<?php $config = array( // Suerge 在线配置文件地址 'surge' => array( 'Abclite_ADB' => 'http://abclite.cn/Abclite_ADB.conf', 'Abclite' => 'http://abclite.cn/Abclite.conf' ), // 你的服务器内容 'server' => array( 'Abclite1' => array( // 代理服务器列表 'proxy' => array( '🇭🇰HK = ...
php
MIT
fb5069187355485d427c18785e1a01bc03d9679e
2026-01-05T05:12:18.627405Z
false
yourtion/SurgeConfigGenerator
https://github.com/yourtion/SurgeConfigGenerator/blob/fb5069187355485d427c18785e1a01bc03d9679e/parse.php
parse.php
<?php function file_get_contents_curl($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); $data = curl_exec($ch); curl_close($ch); return $data; } function is_conf($str) { $result = array(); preg_match_a...
php
MIT
fb5069187355485d427c18785e1a01bc03d9679e
2026-01-05T05:12:18.627405Z
false
yourtion/SurgeConfigGenerator
https://github.com/yourtion/SurgeConfigGenerator/blob/fb5069187355485d427c18785e1a01bc03d9679e/index.php
index.php
<?php require 'config.php'; require 'parse.php'; $surge_file = $config['surge'][$_GET['config']] ? : array_values($config['surge'])[0]; if(!$surge_file) { return header($_SERVER['SERVER_PROTOCOL'] . 'config not found', true, 404); } $account = $config['server'][$_GET['account']] ? : array_values($co...
php
MIT
fb5069187355485d427c18785e1a01bc03d9679e
2026-01-05T05:12:18.627405Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Client.php
src/Client.php
<?php namespace Disque; use Disque\Command; use Disque\Command\CommandInterface; use Disque\Command\InvalidCommandException; use Disque\Connection\Manager; use Disque\Connection\ManagerInterface; use Disque\Queue\Queue; /** * @method int ackJob(string... $ids) * @method string addJob(string $queue, string $payload,...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/DisqueException.php
src/DisqueException.php
<?php namespace Disque; use Exception; class DisqueException extends Exception { }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/ConnectionInterface.php
src/Connection/ConnectionInterface.php
<?php namespace Disque\Connection; use Disque\Command\CommandInterface; interface ConnectionInterface { /** * Set host * * @param string $host Host * @return void */ public function setHost($host); /** * Set port * * @param int $port Port * @return void *...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/ConnectionException.php
src/Connection/ConnectionException.php
<?php namespace Disque\Connection; use Exception; class ConnectionException extends Exception { }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Socket.php
src/Connection/Socket.php
<?php namespace Disque\Connection; use Exception; use Disque\Command\CommandInterface; use Disque\Connection\Response\ResponseException; use Disque\Connection\Response; /** * This class is greatly inspired by `Predis\Connection\StreamConnection`, * which is part of [predis](https://github.com/nrk/predis) and was de...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Credentials.php
src/Connection/Credentials.php
<?php namespace Disque\Connection; /** * Identify a Disque server we can connect to * * @package Disque\Connection */ class Credentials { /** * A sprintf format for creating a node address */ const ADDRESS_FORMAT = '%s:%d'; /** * @var string A Disque server host or IP address */ ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Manager.php
src/Connection/Manager.php
<?php namespace Disque\Connection; use Disque\Connection\Node\Node; use Disque\Connection\Node\NodePrioritizerInterface; use Disque\Connection\Node\ConservativeJobCountPrioritizer; use Disque\Command\CommandInterface; use Disque\Command\GetJob; use Disque\Command\Response\HelloResponse; use Disque\Command\Response\Job...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/ManagerInterface.php
src/Connection/ManagerInterface.php
<?php namespace Disque\Connection; use Disque\Command\CommandInterface; use Disque\Connection\Factory\ConnectionFactoryInterface; use Disque\Connection\Node\NodePrioritizerInterface; interface ManagerInterface { /** * Get the connection factory * * @return ConnectionFactoryInterface */ pub...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/BaseConnection.php
src/Connection/BaseConnection.php
<?php namespace Disque\Connection; abstract class BaseConnection implements ConnectionInterface { /** * Host * * @var string */ protected $host; /** * Port * * @var int */ protected $port; /** * Create a new connection defaulting to localhost:7711 ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Predis.php
src/Connection/Predis.php
<?php namespace Disque\Connection; use Disque\Command\CommandInterface; use Predis\Client as PredisClient; class Predis extends BaseConnection implements ConnectionInterface { /** * Client * * @var \Predis\Client */ protected $client; /** * @inheritdoc */ public function...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false