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 |
|---|---|---|---|---|---|---|---|---|
christophrumpel/missing-livewire-assertions | https://github.com/christophrumpel/missing-livewire-assertions/blob/890c46c860b6dfef161f1f54f425876a9065887d/tests/View/Components/Button.php | tests/View/Components/Button.php | <?php
namespace Tests\View\Components;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Button extends Component
{
public function render(): View
{
return view('missing-livewire-assertions::blade-test-component');
}
}
| php | MIT | 890c46c860b6dfef161f1f54f425876a9065887d | 2026-01-05T04:15:11.621411Z | false |
unirgy/convertm1m2 | https://github.com/unirgy/convertm1m2/blob/edfd9a8d3c1498e49a17391b51b4f4f7f12a5951/ConvertM1M2.php | ConvertM1M2.php | <?php
/**
* The MIT License (MIT)
*
* Copyright (c) 2015 Boris Gurvich
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... | php | MIT | edfd9a8d3c1498e49a17391b51b4f4f7f12a5951 | 2026-01-05T04:15:22.537776Z | true |
unirgy/convertm1m2 | https://github.com/unirgy/convertm1m2/blob/edfd9a8d3c1498e49a17391b51b4f4f7f12a5951/SimpleDOM.php | SimpleDOM.php | <?php
/**
Copyright 2009 The SimpleDOM authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | php | MIT | edfd9a8d3c1498e49a17391b51b4f4f7f12a5951 | 2026-01-05T04:15:22.537776Z | false |
unirgy/convertm1m2 | https://github.com/unirgy/convertm1m2/blob/edfd9a8d3c1498e49a17391b51b4f4f7f12a5951/convert.php | convert.php | <?php
if (PHP_SAPI === 'cli') {
$cwd = getcwd();
parse_str(implode('&', array_slice($argv, 1)), $_GET);
$sourceDir = !empty($_GET['s']) ? $_GET['s'] : "{$cwd}/source";
$mage1Dir = !empty($_GET['m']) ? $_GET['m'] : "{$cwd}/../magento";
$mage2Dir = !empty($_GET['o']) ? $_GET['o'] : "{$cwd}/../magento... | php | MIT | edfd9a8d3c1498e49a17391b51b4f4f7f12a5951 | 2026-01-05T04:15:22.537776Z | false |
unirgy/convertm1m2 | https://github.com/unirgy/convertm1m2/blob/edfd9a8d3c1498e49a17391b51b4f4f7f12a5951/tests/AllcapsTest.php | tests/AllcapsTest.php | <?php
require_once 'ConvertM1M2TestCase.php';
class AllCaps extends ConvertM1M2TestCase
{
public function testAllcaps()
{
$object = new TestableConvertM1M2();
$contents = $object->convertCodeContents('<' . '?' . 'php' . "\n" .
'class FOO_Module_TestController{}');
$th... | php | MIT | edfd9a8d3c1498e49a17391b51b4f4f7f12a5951 | 2026-01-05T04:15:22.537776Z | false |
unirgy/convertm1m2 | https://github.com/unirgy/convertm1m2/blob/edfd9a8d3c1498e49a17391b51b4f4f7f12a5951/tests/TestableConvertM1M2.php | tests/TestableConvertM1M2.php | <?php
/**
* Overrides constructor to avoid needing directory
* May not handle all cases -- i.e. things that require
* some sort of state enabled by the constructor, or by
* previous methods being called.
*/
class TestableConvertM1M2 extends ConvertM1M2
{
public function __construct()
{
$this->_r... | php | MIT | edfd9a8d3c1498e49a17391b51b4f4f7f12a5951 | 2026-01-05T04:15:22.537776Z | false |
unirgy/convertm1m2 | https://github.com/unirgy/convertm1m2/blob/edfd9a8d3c1498e49a17391b51b4f4f7f12a5951/tests/ConvertM1M2TestCase.php | tests/ConvertM1M2TestCase.php | <?php
class ConvertM1M2TestCase extends PHPUnit_Framework_TestCase
{
public function setUp()
{
require_once __DIR__ . '/../ConvertM1M2.php';
require_once __DIR__ . '/TestableConvertM1M2.php';
}
public function testAvoidNoTestsFound()
{
$this->assertTrue(true);
}
}
| php | MIT | edfd9a8d3c1498e49a17391b51b4f4f7f12a5951 | 2026-01-05T04:15:22.537776Z | false |
unirgy/convertm1m2 | https://github.com/unirgy/convertm1m2/blob/edfd9a8d3c1498e49a17391b51b4f4f7f12a5951/tests/FirstTest.php | tests/FirstTest.php | <?php
require_once 'ConvertM1M2TestCase.php';
class FirstTest extends ConvertM1M2TestCase
{
public function testSetup()
{
$this->assertEquals(-1, -1);
}
} | php | MIT | edfd9a8d3c1498e49a17391b51b4f4f7f12a5951 | 2026-01-05T04:15:22.537776Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/src/FixerServiceProvider.php | src/FixerServiceProvider.php | <?php
namespace STS\Fixer;
use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\ServiceProvider;
use STS\Fixer\Console\FixCommand;
use STS\Fixer\Console\UpdateRulesCommand;
class FixerServiceProvider extends ServiceProvider
{
/**
* Indi... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/src/Services/Fixer.php | src/Services/Fixer.php | <?php
namespace STS\Fixer\Services;
use PhpCsFixer\ConfigInterface;
use PhpCsFixer\ToolInfoInterface;
use STS\Fixer\Services\Fixer\Concerns\HasRunner;
use STS\Fixer\Services\Fixer\Concerns\HasFinder;
use STS\Fixer\Services\Fixer\Concerns\HasFixEvent;
use Symfony\Component\Console\Output\OutputInterface;
use STS\Fixe... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/src/Services/Fixer/Concerns/HasErrorsManager.php | src/Services/Fixer/Concerns/HasErrorsManager.php | <?php
namespace STS\Fixer\Services\Fixer\Concerns;
use PhpCsFixer\Console\Output\ErrorOutput;
use PhpCsFixer\Error\ErrorsManager;
use Symfony\Component\Console\Output\OutputInterface;
trait HasErrorsManager
{
/**
*
* @var ErrorsManager
*/
protected $errorsManager;
/**
*
* @va... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/src/Services/Fixer/Concerns/HasFixEvent.php | src/Services/Fixer/Concerns/HasFixEvent.php | <?php
namespace STS\Fixer\Services\Fixer\Concerns;
use PhpCsFixer\Console\Command\FixCommandExitStatusCalculator;
use PhpCsFixer\Console\Report\FixReport\ReportSummary;
use Symfony\Component\Console\Output\OutputInterface;
trait HasFixEvent
{
use HasConfigurationResolver;
use HasStopWatch;
use HasRunner... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/src/Services/Fixer/Concerns/HasRunner.php | src/Services/Fixer/Concerns/HasRunner.php | <?php
namespace STS\Fixer\Services\Fixer\Concerns;
use PhpCsFixer\Runner\Runner;
trait HasRunner
{
use HasFinder;
use HasStopWatch;
use HasErrorsManager;
use HasEventDispatcher;
use HasConfigurationResolver;
/**
*
* @var Runner
*/
protected $runner;
/**
*
... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/src/Services/Fixer/Concerns/HasFinder.php | src/Services/Fixer/Concerns/HasFinder.php | <?php
namespace STS\Fixer\Services\Fixer\Concerns;
use PhpCsFixer\Finder;
trait HasFinder
{
/**
*
* @var Finder
*/
private $finder;
public function setFinder()
{
$this->finder = Finder::create()
->in(config('fixer.find_directories'))
->name(config('fi... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/src/Services/Fixer/Concerns/HasProgressOutput.php | src/Services/Fixer/Concerns/HasProgressOutput.php | <?php
namespace STS\Fixer\Services\Fixer\Concerns;
use Symfony\Component\Console\Terminal;
use PhpCsFixer\Console\Output\NullOutput;
use PhpCsFixer\Console\Output\ProcessOutput;
use Symfony\Component\Console\Output\OutputInterface;
trait HasProgressOutput
{
use HasEventDispatcher;
/**
*
* @var Ou... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/src/Services/Fixer/Concerns/HasConfigurationResolver.php | src/Services/Fixer/Concerns/HasConfigurationResolver.php | <?php
namespace STS\Fixer\Services\Fixer\Concerns;
use PhpCsFixer\Config;
use PhpCsFixer\ToolInfo;
use PhpCsFixer\ConfigInterface;
use PhpCsFixer\ToolInfoInterface;
use PhpCsFixer\Console\ConfigurationResolver;
trait HasConfigurationResolver
{
/**
*
* @var ConfigurationResolver
*/
protected $c... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/src/Services/Fixer/Concerns/HasEventDispatcher.php | src/Services/Fixer/Concerns/HasEventDispatcher.php | <?php
namespace STS\Fixer\Services\Fixer\Concerns;
use Symfony\Component\EventDispatcher\EventDispatcher;
trait HasEventDispatcher
{
/**
*
* @var EventDispatcher
*/
protected $eventDispatcher;
public function setEventDispatcher(?EventDispatcher $eventDispatcher = null)
{
$t... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/src/Services/Fixer/Concerns/HasStopWatch.php | src/Services/Fixer/Concerns/HasStopWatch.php | <?php
namespace STS\Fixer\Services\Fixer\Concerns;
use Symfony\Component\Stopwatch\Stopwatch;
trait HasStopWatch
{
/**
*
* @var Stopwatch
*/
private $stopWatch;
public function setStopWatch()
{
$this->stopWatch = new Stopwatch();
}
public function getStopWatch()
... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/src/Console/FixCommand.php | src/Console/FixCommand.php | <?php
/*
* This file was originally part of PHP CS Fixer (https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.14.6/src/Console/Command/FixCommand.php)
*
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bu... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
stechstudio/Laravel-PHP-CS-Fixer | https://github.com/stechstudio/Laravel-PHP-CS-Fixer/blob/c677319f848ef32a3cc19099a77531d29f056e32/config/fixer.php | config/fixer.php | <?php
return [
/** Will show up as the configuration name when using this rules configurations. */
'config_name' => 'Laravel Fixer',
/** By default, we will ignore any and all dot files. */
'ignore_dot_files' => true,
/** By default, we will ignore all the source control metadata */
'ignore_v... | php | MIT | c677319f848ef32a3cc19099a77531d29f056e32 | 2026-01-05T04:15:48.552387Z | false |
attogram/games | https://github.com/attogram/games/blob/3e8b572a243f69b12e697ae0bb3e267bdb2a37c0/_build/games.php | _build/games.php | <?php
/**
* Attogram Games
* https://github.com/attogram/games
*
* The Ordered List of Games
*/
$games = [
'hextris-lite' => [
'name' => 'Hextris',
'tag' => 'hexagonal tetris',
'license' => 'GPL-3.0',
'git' => 'https://github.com/attogram/hextris-lite.git',
'... | php | MIT | 3e8b572a243f69b12e697ae0bb3e267bdb2a37c0 | 2026-01-05T04:15:41.176189Z | false |
attogram/games | https://github.com/attogram/games/blob/3e8b572a243f69b12e697ae0bb3e267bdb2a37c0/_build/build.php | _build/build.php | <?php
/**
* Attogram Games Website Builder
*
* https://github.com/attogram/games
*/
use Attogram\Games\AttogramGames;
$class = __DIR__ . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'AttogramGames.php';
if (!is_readable($class)) {
print "Fatal Error: File Not Found: {$class}\n";
return;
}
/** @no... | php | MIT | 3e8b572a243f69b12e697ae0bb3e267bdb2a37c0 | 2026-01-05T04:15:41.176189Z | false |
attogram/games | https://github.com/attogram/games/blob/3e8b572a243f69b12e697ae0bb3e267bdb2a37c0/_build/config.php | _build/config.php | <?php
/**
* Attogram Games
* https://github.com/attogram/games
*
* Website Configuration
*/
// Title - for <title> - text only, no HTML
$title = 'Attogram Games';
// Headline - text and/or HTML
$headline = 'Attogram Games';
| php | MIT | 3e8b572a243f69b12e697ae0bb3e267bdb2a37c0 | 2026-01-05T04:15:41.176189Z | false |
attogram/games | https://github.com/attogram/games/blob/3e8b572a243f69b12e697ae0bb3e267bdb2a37c0/_build/archive/penaltyBox.php | _build/archive/penaltyBox.php | <?php
declare(strict_types = 1);
/**
* The Penalty Box
*
* Game Repos that require updates before graduating to the Games List
*/
$penaltyBox = [
'wolf3d' => [
'name' => 'Wolf3d',
'tag' => 'classic FPS',
'license' => 'UNKNOWN', // @TODO - needs open source LICENSE declaration
... | php | MIT | 3e8b572a243f69b12e697ae0bb3e267bdb2a37c0 | 2026-01-05T04:15:41.176189Z | false |
attogram/games | https://github.com/attogram/games/blob/3e8b572a243f69b12e697ae0bb3e267bdb2a37c0/_build/archive/retired.php | _build/archive/retired.php | <?php
declare(strict_types = 1);
/**
* Retired Games
*
* Game Repos that honourably served on the Games List
*/
$retiredGames = [
'phaser-cat' => [
'name' => 'Phaser Cat',
'tag' => 'fighting feline',
'license' => 'MIT',
'git' => 'https://github.com/DaxChen/phaser-cat.... | php | MIT | 3e8b572a243f69b12e697ae0bb3e267bdb2a37c0 | 2026-01-05T04:15:41.176189Z | false |
attogram/games | https://github.com/attogram/games/blob/3e8b572a243f69b12e697ae0bb3e267bdb2a37c0/_build/src/AttogramGames.php | _build/src/AttogramGames.php | <?php
/**
* Attogram Games
* https://github.com/attogram/games
*/
declare(strict_types = 1);
namespace Attogram\Games;
use Exception;
use function chdir;
use function count;
use function file_get_contents;
use function file_put_contents;
use function htmlentities;
use function in_array;
use function is_dir;
use f... | php | MIT | 3e8b572a243f69b12e697ae0bb3e267bdb2a37c0 | 2026-01-05T04:15:41.176189Z | false |
mgp25/Telegram-Bot-API | https://github.com/mgp25/Telegram-Bot-API/blob/34d2129a1b28f1ac19b529c7ffc7598c7128f626/src/Exception.php | src/Exception.php | <?php
class TelegramException extends Exception{}
| php | MIT | 34d2129a1b28f1ac19b529c7ffc7598c7128f626 | 2026-01-05T04:15:51.070147Z | false |
mgp25/Telegram-Bot-API | https://github.com/mgp25/Telegram-Bot-API/blob/34d2129a1b28f1ac19b529c7ffc7598c7128f626/src/Telegram.php | src/Telegram.php | <?php
require 'Exception.php';
class telegramBot
{
const BASE_URL = 'https://api.telegram.org';
const BOT_URL = '/bot';
const FILE_URL = '/file';
protected $token;
public function __construct($token)
{
$this->token = $token;
if (is_null($this->token)) {
throw new TelegramException('Required "token" key... | php | MIT | 34d2129a1b28f1ac19b529c7ffc7598c7128f626 | 2026-01-05T04:15:51.070147Z | false |
mgp25/Telegram-Bot-API | https://github.com/mgp25/Telegram-Bot-API/blob/34d2129a1b28f1ac19b529c7ffc7598c7128f626/examples/exampleFunctional.php | examples/exampleFunctional.php | <?php
require '../src/Telegram.php';
///////////// CONFIG YOUR BOT'S TOKEN /////////
// Create telegram Bot token with @BotFather - https://github.com/mgp25/Telegram-Bot-API/wiki/Setup-Guide
$token = ""; // HERE YOUR TOKEN
//////////////////////////////////////////////////
echo "####################################\... | php | MIT | 34d2129a1b28f1ac19b529c7ffc7598c7128f626 | 2026-01-05T04:15:51.070147Z | false |
mgp25/Telegram-Bot-API | https://github.com/mgp25/Telegram-Bot-API/blob/34d2129a1b28f1ac19b529c7ffc7598c7128f626/examples/quoteBot.php | examples/quoteBot.php | <?php
require '../src/Telegram.php';
$token = ''; // HERE YOUR TOKEN
// You will need a file called quotes (without extension)
// from there it will take the quotes and send them to your subscribers :)
$tg = new telegramBot($token);
$offset = 0;
$response = $tg->pollUpdates($offset, 60);
$response = json_decod... | php | MIT | 34d2129a1b28f1ac19b529c7ffc7598c7128f626 | 2026-01-05T04:15:51.070147Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/rector.php | rector.php | <?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/src',
__DIR__ . '/tests',
])
// uncomment to... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Resolver.php | src/Limenius/Liform/Resolver.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform;
use Limenius\Liform\Exception\TransformerExc... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Liform.php | src/Limenius/Liform/Liform.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform;
use Limenius\Liform\Transformer\ExtensionInt... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/LiformInterface.php | src/Limenius/Liform/LiformInterface.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform;
use Limenius\Liform\Transformer\ExtensionInt... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/ResolverInterface.php | src/Limenius/Liform/ResolverInterface.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform;
use Limenius\Liform\Transformer\TransformerI... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/FormUtil.php | src/Limenius/Liform/FormUtil.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform;
use Symfony\Component\Form\FormInterface;
us... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Form/Extension/AddLiformExtension.php | src/Limenius/Liform/Form/Extension/AddLiformExtension.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Form\Extension;
use Symfony\Component\Form\Ab... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Serializer/Normalizer/FormErrorNormalizer.php | src/Limenius/Liform/Serializer/Normalizer/FormErrorNormalizer.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Serializer\Normalizer;
use Symfony\Component\... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Serializer/Normalizer/InitialValuesNormalizer.php | src/Limenius/Liform/Serializer/Normalizer/InitialValuesNormalizer.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Serializer\Normalizer;
use Symfony\Component\... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Transformer/BooleanTransformer.php | src/Limenius/Liform/Transformer/BooleanTransformer.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Transformer;
use Symfony\Component\Form\FormI... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Transformer/ChoiceTransformer.php | src/Limenius/Liform/Transformer/ChoiceTransformer.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Transformer;
use Symfony\Component\Form\FormI... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Transformer/CompoundTransformer.php | src/Limenius/Liform/Transformer/CompoundTransformer.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Transformer;
use Limenius\Liform\ResolverInte... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Transformer/NumberTransformer.php | src/Limenius/Liform/Transformer/NumberTransformer.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Transformer;
use Symfony\Component\Form\FormI... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Transformer/AbstractTransformer.php | src/Limenius/Liform/Transformer/AbstractTransformer.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Transformer;
use Symfony\Component\Form\FormI... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Transformer/StringTransformer.php | src/Limenius/Liform/Transformer/StringTransformer.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Transformer;
use Limenius\Liform\FormUtil;
us... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Transformer/ArrayTransformer.php | src/Limenius/Liform/Transformer/ArrayTransformer.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Transformer;
use Limenius\Liform\Exception\Tr... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Transformer/TransformerInterface.php | src/Limenius/Liform/Transformer/TransformerInterface.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Transformer;
use Symfony\Component\Form\FormI... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Transformer/ExtensionInterface.php | src/Limenius/Liform/Transformer/ExtensionInterface.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Transformer;
use Symfony\Component\Form\FormI... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Transformer/IntegerTransformer.php | src/Limenius/Liform/Transformer/IntegerTransformer.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Transformer;
use Symfony\Component\Form\FormI... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Guesser/ValidatorGuesser.php | src/Limenius/Liform/Guesser/ValidatorGuesser.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Guesser;
use Symfony\Component\Form\Extension... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/src/Limenius/Liform/Exception/TransformerException.php | src/Limenius/Liform/Exception/TransformerException.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Exception;
/**
* @author Nacho Martín <nacho... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/tests/Limenius/Liform/Tests/ResolverTest.php | tests/Limenius/Liform/Tests/ResolverTest.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Tests;
use Limenius\Liform\Exception\Transfor... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/tests/Limenius/Liform/Tests/LiformTestCase.php | tests/Limenius/Liform/Tests/LiformTestCase.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Tests;
use Limenius\Liform\Form\Extension\Add... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/tests/Limenius/Liform/Tests/Serializer/InitialValuesNormalizerTest.php | tests/Limenius/Liform/Tests/Serializer/InitialValuesNormalizerTest.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Tests\Serializer;
use Limenius\Liform\Seriali... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/tests/Limenius/Liform/Tests/Transformer/ChoiceTransformerTest.php | tests/Limenius/Liform/Tests/Transformer/ChoiceTransformerTest.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Tests\Transformer;
use Symfony\Component\Form... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/tests/Limenius/Liform/Tests/Transformer/StringTransformerTest.php | tests/Limenius/Liform/Tests/Transformer/StringTransformerTest.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Tests\Transformer;
use Symfony\Component\Form... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/tests/Limenius/Liform/Tests/Transformer/CommonTransformerTest.php | tests/Limenius/Liform/Tests/Transformer/CommonTransformerTest.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Tests\Transformer;
use Symfony\Component\Form... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/tests/Limenius/Liform/Tests/Transformer/NumberTransformerTest.php | tests/Limenius/Liform/Tests/Transformer/NumberTransformerTest.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Tests\Transformer;
use Symfony\Component\Form... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
Limenius/Liform | https://github.com/Limenius/Liform/blob/302d3d7e00cd3dabc2839b608be088b853d38f9a/tests/Limenius/Liform/Tests/Transformer/CompoundTransformerTest.php | tests/Limenius/Liform/Tests/Transformer/CompoundTransformerTest.php | <?php
/*
* This file is part of the Limenius\Liform package.
*
* (c) Limenius <https://github.com/Limenius/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Limenius\Liform\Tests\Transformer;
use Limenius\Liform\Resolv... | php | MIT | 302d3d7e00cd3dabc2839b608be088b853d38f9a | 2026-01-05T04:16:02.984998Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/RabbitMqDelayPluginDelayStrategy.php | RabbitMqDelayPluginDelayStrategy.php | <?php
declare(strict_types=1);
namespace Enqueue\AmqpTools;
use Interop\Amqp\AmqpContext;
use Interop\Amqp\AmqpDestination;
use Interop\Amqp\AmqpMessage;
use Interop\Amqp\AmqpQueue;
use Interop\Amqp\AmqpTopic;
use Interop\Amqp\Impl\AmqpBind;
use Interop\Queue\Exception\InvalidDestinationException;
class RabbitMqDel... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/DelayStrategyAware.php | DelayStrategyAware.php | <?php
declare(strict_types=1);
namespace Enqueue\AmqpTools;
interface DelayStrategyAware
{
public function setDelayStrategy(?DelayStrategy $delayStrategy = null): self;
}
| php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/ConnectionConfig.php | ConnectionConfig.php | <?php
declare(strict_types=1);
namespace Enqueue\AmqpTools;
use Enqueue\Dsn\Dsn;
/**
* The config could be an array, string DSN or null. In case of null it will attempt to connect to localhost with default credentials.
*
* 1. The config could be an array with next options:
* host - The host to connect too. No... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/DelayStrategyTransportFactoryTrait.php | DelayStrategyTransportFactoryTrait.php | <?php
declare(strict_types=1);
namespace Enqueue\AmqpTools;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;
trait DelayStrategyTransportFactoryTrait
{
public function registerDelayStrategy(ContainerBuilder $container, array $config, string $factor... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/DelayStrategyAwareTrait.php | DelayStrategyAwareTrait.php | <?php
declare(strict_types=1);
namespace Enqueue\AmqpTools;
trait DelayStrategyAwareTrait
{
/**
* @var DelayStrategy
*/
protected $delayStrategy;
public function setDelayStrategy(?DelayStrategy $delayStrategy = null): DelayStrategyAware
{
$this->delayStrategy = $delayStrategy;
... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/RabbitMqDlxDelayStrategy.php | RabbitMqDlxDelayStrategy.php | <?php
declare(strict_types=1);
namespace Enqueue\AmqpTools;
use Interop\Amqp\AmqpContext;
use Interop\Amqp\AmqpDestination;
use Interop\Amqp\AmqpMessage;
use Interop\Amqp\AmqpQueue;
use Interop\Amqp\AmqpTopic;
use Interop\Queue\Exception\InvalidDestinationException;
class RabbitMqDlxDelayStrategy implements DelaySt... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/SignalSocketHelper.php | SignalSocketHelper.php | <?php
declare(strict_types=1);
namespace Enqueue\AmqpTools;
class SignalSocketHelper
{
/**
* @var callable[]
*/
private $handlers;
/**
* @var bool
*/
private $wasThereSignal;
public function __construct()
{
$this->handlers = [];
}
public function beforeS... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/DelayStrategy.php | DelayStrategy.php | <?php
declare(strict_types=1);
namespace Enqueue\AmqpTools;
use Interop\Amqp\AmqpContext;
use Interop\Amqp\AmqpDestination;
use Interop\Amqp\AmqpMessage;
interface DelayStrategy
{
/**
* Delay is in milliseconds.
*/
public function delayMessage(AmqpContext $context, AmqpDestination $dest, AmqpMessa... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/Tests/RabbitMqDelayPluginDelayStrategyTest.php | Tests/RabbitMqDelayPluginDelayStrategyTest.php | <?php
namespace Enqueue\AmqpTools\Tests;
use Enqueue\AmqpTools\DelayStrategy;
use Enqueue\AmqpTools\RabbitMqDelayPluginDelayStrategy;
use Enqueue\Test\ClassExtensionTrait;
use Interop\Amqp\AmqpBind;
use Interop\Amqp\AmqpContext;
use Interop\Amqp\AmqpDestination;
use Interop\Amqp\AmqpProducer;
use Interop\Amqp\Impl\Am... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/Tests/DelayStrategyTransportFactoryTraitTest.php | Tests/DelayStrategyTransportFactoryTraitTest.php | <?php
namespace Enqueue\AmqpTools\Tests;
use Enqueue\AmqpTools\DelayStrategyAware;
use Enqueue\AmqpTools\DelayStrategyAwareTrait;
use Enqueue\AmqpTools\DelayStrategyTransportFactoryTrait;
use Enqueue\AmqpTools\RabbitMqDelayPluginDelayStrategy;
use Enqueue\AmqpTools\RabbitMqDlxDelayStrategy;
use PHPUnit\Framework\Test... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/Tests/ConnectionConfigTest.php | Tests/ConnectionConfigTest.php | <?php
namespace Enqueue\AmqpTools\Tests;
use Enqueue\AmqpTools\ConnectionConfig;
use Enqueue\Test\ClassExtensionTrait;
use PHPUnit\Framework\TestCase;
/**
* The class contains the factory tests dedicated to configuration.
*/
class ConnectionConfigTest extends TestCase
{
use ClassExtensionTrait;
public fun... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/Tests/SignalSocketHelperTest.php | Tests/SignalSocketHelperTest.php | <?php
namespace Enqueue\AmqpTools\Tests;
use Enqueue\AmqpTools\SignalSocketHelper;
use Enqueue\Test\ReadAttributeTrait;
use PHPUnit\Framework\TestCase;
class SignalSocketHelperTest extends TestCase
{
use ReadAttributeTrait;
/**
* @var SignalSocketHelper
*/
private $signalHelper;
private $... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
php-enqueue/amqp-tools | https://github.com/php-enqueue/amqp-tools/blob/f048b2c09a31b69da0f405921c6c6b870d3eb586/Tests/RabbitMqDlxDelayStrategyTest.php | Tests/RabbitMqDlxDelayStrategyTest.php | <?php
namespace Enqueue\AmqpTools\Tests;
use Enqueue\AmqpTools\DelayStrategy;
use Enqueue\AmqpTools\RabbitMqDlxDelayStrategy;
use Enqueue\Test\ClassExtensionTrait;
use Interop\Amqp\AmqpContext;
use Interop\Amqp\AmqpDestination;
use Interop\Amqp\AmqpProducer;
use Interop\Amqp\Impl\AmqpMessage;
use Interop\Amqp\Impl\Am... | php | MIT | f048b2c09a31b69da0f405921c6c6b870d3eb586 | 2026-01-05T04:16:04.898874Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/composer-unused.php | composer-unused.php | <?php
declare(strict_types=1);
use ComposerUnused\ComposerUnused\Configuration\Configuration;
use ComposerUnused\ComposerUnused\Configuration\NamedFilter;
return static function (Configuration $config): Configuration {
return $config;
};
| php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/rector.php | rector.php | <?php
declare(strict_types=1);
use Rector\CodeQuality\Rector\BooleanAnd\SimplifyEmptyArrayCheckRector;
use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector;
use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector;
use Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector;
u... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/.php-cs-fixer.dist.php | .php-cs-fixer.dist.php | <?php
use CodeIgniter\CodingStandard\CodeIgniter4;
use Nexus\CsConfig\Factory;
use PhpCsFixer\Finder;
$finder = Finder::create()
->files()
->in([
__DIR__ . '/app/',
__DIR__ . '/tests/',
])
->exclude([
'build',
'Views',
])
->append([
__FILE__,
__D... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/psalm_autoload.php | psalm_autoload.php | <?php
declare(strict_types=1);
require __DIR__ . '/vendor/codeigniter4/framework/system/Test/bootstrap.php';
$helperDirs = [
'app/Helpers',
'vendor/codeigniter4/framework/system/Helpers',
];
foreach ($helperDirs as $dir) {
$dir = __DIR__ . '/' . $dir;
if (! is_dir($dir)) {
continue;
}
... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Common.php | app/Common.php | <?php
/**
* The goal of this file is to allow developers a location
* where they can overwrite core procedural functions and
* replace them with their own. This file is loaded during
* the bootstrap process and is called during the framework's
* execution.
*
* This can be looked at as a `master helper` file tha... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Controllers/DungeonController.php | app/Controllers/DungeonController.php | <?php
namespace App\Controllers;
use App\Models\DungeonModel;
use CodeIgniter\HTTP\ResponseInterface;
class DungeonController extends BaseController
{
/**
* DungeonModel instance.
*/
protected DungeonModel $dungeons;
public function __construct()
{
// Assign the model to $this->dun... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Controllers/HeroController.php | app/Controllers/HeroController.php | <?php
namespace App\Controllers;
use App\Models\HeroModel;
use CodeIgniter\Exceptions\PageNotFoundException;
class HeroController extends BaseController
{
/**
* View a single hero's details.
*
* The $id parameter is the hero's ID, and is
* passed in from the route definition as $1,
* sin... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Controllers/Home.php | app/Controllers/Home.php | <?php
namespace App\Controllers;
use App\Models\DungeonModel;
use App\Models\HeroModel;
class Home extends BaseController
{
public function index(): string
{
// When you don't need to use a model in multiple places
// you can simply get a new instance here. It will use
// the default ... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Controllers/BaseController.php | app/Controllers/BaseController.php | <?php
namespace App\Controllers;
use CodeIgniter\Controller;
use CodeIgniter\HTTP\CLIRequest;
use CodeIgniter\HTTP\IncomingRequest;
use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use Psr\Log\LoggerInterface;
/**
* Class BaseController
*
* BaseController provides a convenient place ... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Database/Seeds/PlaygroundSeeder.php | app/Database/Seeds/PlaygroundSeeder.php | <?php
namespace App\Database\Seeds;
use CodeIgniter\Database\Seeder;
class PlaygroundSeeder extends Seeder
{
public function run(): void
{
// Heroes
$rows = [
[
'name' => 'Hallam Swales',
'class' => 'Swashbuckler',
'level' => ... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Database/Migrations/2019-11-21-175417_create_playground_tables.php | app/Database/Migrations/2019-11-21-175417_create_playground_tables.php | <?php
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
class CreatePlaygroundTables extends Migration
{
/**
* Database creation is both an art and a science: there are many best practices,
* but there are also aspects that are left up to develop opinions. This migration
* fil... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Database/Migrations/2020-07-12-143952_create_monsters.php | app/Database/Migrations/2020-07-12-143952_create_monsters.php | <?php
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
class CreateMonsters extends Migration
{
public function up(): void
{
// We aren't actually going to use foreign keys (see below) but it is a good idea to toggle them in your seeder.
$this->db->disableForeignKeyCheck... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Entities/Monster.php | app/Entities/Monster.php | <?php
namespace App\Entities;
use CodeIgniter\Entity\Entity;
/**
* Class Monster
*
* This class represents a single row in the
* `monsters` database.
*
* @property int $dungeon_id
*/
class Monster extends Entity
{
/**
* @var array<string, string>
*/
protected $casts = [
'health' ... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Entities/Dungeon.php | app/Entities/Dungeon.php | <?php
namespace App\Entities;
use App\Models\MonsterModel;
use CodeIgniter\Entity\Entity;
/**
* Class Dungeon
*
* This class represents a single row in the
* `dungeons` database.
*/
class Dungeon extends Entity
{
// Specifies that we should cast the columns
// into a certain datatype when accessed.
... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/home.php | app/Views/home.php | <!--
We are using View Layouts to provide a consistent
look to the site. The `extend()` method tells the
name of the view that this view will work with to
display the final content. In this case, the view
is at app/Views/layout.php
-->
<?= $this->extend('layout') ?>
<!--
Everything between `sec... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/dungeon.php | app/Views/dungeon.php | <!--
We are using View Layouts to provide a consistent
look to the site. The `extend()` method tells the
name of the view that this view will work with to
display the final content. In this case, the view
is at app/Views/layout.php
-->
<?= $this->extend('layout') ?>
<!--
Everything between `sec... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/layout.php | app/Views/layout.php | <!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/_monster.php | app/Views/_monster.php | <?php if (! empty($monster)) : ?>
<div class="card mb-3" style="max-width: 540px;">
<div class="row g-0">
<div class="col-md-5">
<img src="<?= esc($monster->image(), 'attr') ?>"
class="img-fluid rounded-start"
alt="<?= esc($monster->name) ?... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/hero.php | app/Views/hero.php | <!--
We are using View Layouts to provide a consistent
look to the site. The `extend()` method tells the
name of the view that this view will work with to
display the final content. In this case, the view
is at app/Views/layout.php
-->
<?= $this->extend('layout') ?>
<!--
Everything between `sec... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/errors/html/error_exception.php | app/Views/errors/html/error_exception.php | <?php
use CodeIgniter\HTTP\Header;
use CodeIgniter\CodeIgniter;
$errorId = uniqid('error', true);
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex">
<title><?= esc($title) ?></title>
<style>
<?= preg_replace('#[\r\n\t ]+#', ' ', file_get_contents(__D... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/errors/html/error_400.php | app/Views/errors/html/error_400.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?= lang('Errors.badRequest') ?></title>
<style>
div.logo {
height: 200px;
width: 155px;
display: inline-block;
opacity: 0.08;
position: absolute;
top: 2rem;... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/errors/html/error_404.php | app/Views/errors/html/error_404.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?= lang('Errors.pageNotFound') ?></title>
<style>
div.logo {
height: 200px;
width: 155px;
display: inline-block;
opacity: 0.08;
position: absolute;
top: 2re... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/errors/html/production.php | app/Views/errors/html/production.php | <!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex">
<title><?= lang('Errors.whoops') ?></title>
<style>
<?= preg_replace('#[\r\n\t ]+#', ' ', file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'debug.css')) ?>
</style>
</head>
<body>
<div class="... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/errors/cli/error_exception.php | app/Views/errors/cli/error_exception.php | <?php
use CodeIgniter\CLI\CLI;
// The main Exception
CLI::write('[' . $exception::class . ']', 'light_gray', 'red');
CLI::write($message);
CLI::write('at ' . CLI::color(clean_path($exception->getFile()) . ':' . $exception->getLine(), 'green'));
CLI::newLine();
$last = $exception;
while ($prevException = $last->getP... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/errors/cli/error_404.php | app/Views/errors/cli/error_404.php | <?php
use CodeIgniter\CLI\CLI;
CLI::error('ERROR: ' . $code);
CLI::write($message);
CLI::newLine();
| php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Views/errors/cli/production.php | app/Views/errors/cli/production.php | <?php
// On the CLI, we still want errors in productions
// so just use the exception template.
include __DIR__ . '/error_exception.php';
| php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Config/Encryption.php | app/Config/Encryption.php | <?php
namespace Config;
use CodeIgniter\Config\BaseConfig;
/**
* Encryption configuration.
*
* These are the settings used for encryption, if you don't pass a parameter
* array to the encrypter for creation/initialization.
*/
class Encryption extends BaseConfig
{
/**
* ---------------------------------... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
codeigniter4projects/playground | https://github.com/codeigniter4projects/playground/blob/f13e5df6558b5613e59fbd7392c43b1971e52d0f/app/Config/Cors.php | app/Config/Cors.php | <?php
namespace Config;
use CodeIgniter\Config\BaseConfig;
/**
* Cross-Origin Resource Sharing (CORS) Configuration
*
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
*/
class Cors extends BaseConfig
{
/**
* The default CORS configuration.
*
* @var array{
* allowedOrigin... | php | MIT | f13e5df6558b5613e59fbd7392c43b1971e52d0f | 2026-01-05T04:16:04.929881Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.