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 |
|---|---|---|---|---|---|---|---|---|
symplify/vendor-patches | https://github.com/symplify/vendor-patches/blob/7e062cac7495634b693dafd2e7a0edda727ed493/tests/Finder/Fixture/Vendor/some/package/src/PackageClass.php | tests/Finder/Fixture/Vendor/some/package/src/PackageClass.php | <?php
declare(strict_types=1);
namespace Symplify\VendorPatches\Tests\Finder\VendorFilesFinderSource;
final class PackageClass
{
}
| php | MIT | 7e062cac7495634b693dafd2e7a0edda727ed493 | 2026-01-05T03:24:54.443247Z | false |
symplify/vendor-patches | https://github.com/symplify/vendor-patches/blob/7e062cac7495634b693dafd2e7a0edda727ed493/tests/PatchFileFactory/PatchFileFactoryTest.php | tests/PatchFileFactory/PatchFileFactoryTest.php | <?php
declare(strict_types=1);
namespace Symplify\VendorPatches\Tests\PatchFileFactory;
use Symplify\VendorPatches\PatchFileFactory;
use Symplify\VendorPatches\Tests\AbstractTestCase;
use Symplify\VendorPatches\Utils\FileSystemHelper;
use Symplify\VendorPatches\ValueObject\OldAndNewFile;
final class PatchFileFactor... | php | MIT | 7e062cac7495634b693dafd2e7a0edda727ed493 | 2026-01-05T03:24:54.443247Z | false |
symplify/vendor-patches | https://github.com/symplify/vendor-patches/blob/7e062cac7495634b693dafd2e7a0edda727ed493/tests/PatchFileFactory/Fixture/some_old_file.php | tests/PatchFileFactory/Fixture/some_old_file.php | <?php
declare(strict_types=1);
echo 'hi';
| php | MIT | 7e062cac7495634b693dafd2e7a0edda727ed493 | 2026-01-05T03:24:54.443247Z | false |
symplify/vendor-patches | https://github.com/symplify/vendor-patches/blob/7e062cac7495634b693dafd2e7a0edda727ed493/tests/PatchFileFactory/Fixture/some_new_file.php | tests/PatchFileFactory/Fixture/some_new_file.php | <?php
declare(strict_types=1);
echo 'hello';
| php | MIT | 7e062cac7495634b693dafd2e7a0edda727ed493 | 2026-01-05T03:24:54.443247Z | false |
symplify/vendor-patches | https://github.com/symplify/vendor-patches/blob/7e062cac7495634b693dafd2e7a0edda727ed493/tests/Differ/PatchDifferTest.php | tests/Differ/PatchDifferTest.php | <?php
declare(strict_types=1);
namespace Symplify\VendorPatches\Tests\Differ;
use Symplify\VendorPatches\Differ\PatchDiffer;
use Symplify\VendorPatches\Tests\AbstractTestCase;
use Symplify\VendorPatches\ValueObject\OldAndNewFile;
final class PatchDifferTest extends AbstractTestCase
{
public function test(): voi... | php | MIT | 7e062cac7495634b693dafd2e7a0edda727ed493 | 2026-01-05T03:24:54.443247Z | false |
symplify/vendor-patches | https://github.com/symplify/vendor-patches/blob/7e062cac7495634b693dafd2e7a0edda727ed493/tests/Differ/PatchDifferSource/vendor/some/package/file.php | tests/Differ/PatchDifferSource/vendor/some/package/file.php | after
| php | MIT | 7e062cac7495634b693dafd2e7a0edda727ed493 | 2026-01-05T03:24:54.443247Z | false |
symplify/vendor-patches | https://github.com/symplify/vendor-patches/blob/7e062cac7495634b693dafd2e7a0edda727ed493/tests/Differ/PatchDifferFixture/expected_diff.php | tests/Differ/PatchDifferFixture/expected_diff.php | --- /dev/null
+++ ../file.php
@@ -1 +1 @@
-before
+after
| php | MIT | 7e062cac7495634b693dafd2e7a0edda727ed493 | 2026-01-05T03:24:54.443247Z | false |
symplify/vendor-patches | https://github.com/symplify/vendor-patches/blob/7e062cac7495634b693dafd2e7a0edda727ed493/tests/Composer/PackageNameResolverTest.php | tests/Composer/PackageNameResolverTest.php | <?php
declare(strict_types=1);
namespace Symplify\VendorPatches\Tests\Composer;
use Symplify\VendorPatches\Composer\PackageNameResolver;
use Symplify\VendorPatches\Tests\AbstractTestCase;
final class PackageNameResolverTest extends AbstractTestCase
{
public function test(): void
{
$packageNameResolv... | php | MIT | 7e062cac7495634b693dafd2e7a0edda727ed493 | 2026-01-05T03:24:54.443247Z | false |
symplify/vendor-patches | https://github.com/symplify/vendor-patches/blob/7e062cac7495634b693dafd2e7a0edda727ed493/tests/Composer/ComposerPatchesConfigurationUpdater/ComposerPatchesConfigurationUpdaterTest.php | tests/Composer/ComposerPatchesConfigurationUpdater/ComposerPatchesConfigurationUpdaterTest.php | <?php
declare(strict_types=1);
namespace Symplify\VendorPatches\Tests\Composer\ComposerPatchesConfigurationUpdater;
use Symplify\VendorPatches\Composer\ComposerPatchesConfigurationUpdater;
use Symplify\VendorPatches\Tests\AbstractTestCase;
final class ComposerPatchesConfigurationUpdaterTest extends AbstractTestCase... | php | MIT | 7e062cac7495634b693dafd2e7a0edda727ed493 | 2026-01-05T03:24:54.443247Z | false |
symplify/vendor-patches | https://github.com/symplify/vendor-patches/blob/7e062cac7495634b693dafd2e7a0edda727ed493/build/rector-downgrade-php-72.php | build/rector-downgrade-php-72.php | <?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withDowngradeSets(php72: true)
->withSkip([
'*/Tests/*',
'*/tests/*',
__DIR__ . '/../../tests',
]);
| php | MIT | 7e062cac7495634b693dafd2e7a0edda727ed493 | 2026-01-05T03:24:54.443247Z | false |
symplify/vendor-patches | https://github.com/symplify/vendor-patches/blob/7e062cac7495634b693dafd2e7a0edda727ed493/bin/vendor-patches.php | bin/vendor-patches.php | <?php
declare(strict_types=1);
use Symfony\Component\Console\Application;
use Symplify\VendorPatches\DependencyInjection\ContainerFactory;
$possibleAutoloadPaths = [
__DIR__ . '/../autoload.php',
__DIR__ . '/../vendor/autoload.php',
__DIR__ . '/../../../autoload.php',
__DIR__ . '/../../../vendor/auto... | php | MIT | 7e062cac7495634b693dafd2e7a0edda727ed493 | 2026-01-05T03:24:54.443247Z | false |
chefhasteeth/pipeline | https://github.com/chefhasteeth/pipeline/blob/34175f5df4102c6d78457e6d05b8d43181f2dfea/.php-cs-fixer.php | .php-cs-fixer.php | <?php
/**
* @see https://mlocati.github.io/php-cs-fixer-configurator
*/
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$finder = Finder::create()->exclude('tests')->in(__DIR__);
return (new Config())
->setFinder($finder)
->setRules([
'@PSR12' => true,
// Arrays
'array_indentation' ... | php | MIT | 34175f5df4102c6d78457e6d05b8d43181f2dfea | 2026-01-05T03:25:08.613826Z | false |
chefhasteeth/pipeline | https://github.com/chefhasteeth/pipeline/blob/34175f5df4102c6d78457e6d05b8d43181f2dfea/src/Pipable.php | src/Pipable.php | <?php
namespace Chefhasteeth\Pipeline;
trait Pipable
{
public function pipeThrough($pipes, bool $withTransaction = false)
{
$pipeline = resolve(Pipeline::class);
if ($withTransaction) {
$pipeline->withTransaction();
}
return $pipeline->send($this)->through($pipes)... | php | MIT | 34175f5df4102c6d78457e6d05b8d43181f2dfea | 2026-01-05T03:25:08.613826Z | false |
chefhasteeth/pipeline | https://github.com/chefhasteeth/pipeline/blob/34175f5df4102c6d78457e6d05b8d43181f2dfea/src/Pipeline.php | src/Pipeline.php | <?php
namespace Chefhasteeth\Pipeline;
use Closure;
use Illuminate\Support\Facades\DB;
use Throwable;
use UnexpectedValueException;
class Pipeline
{
protected bool $useTransaction = false;
protected mixed $passable;
public static function make(): static
{
return new static();
}
/**... | php | MIT | 34175f5df4102c6d78457e6d05b8d43181f2dfea | 2026-01-05T03:25:08.613826Z | false |
chefhasteeth/pipeline | https://github.com/chefhasteeth/pipeline/blob/34175f5df4102c6d78457e6d05b8d43181f2dfea/tests/PipelineTest.php | tests/PipelineTest.php | <?php
namespace Chefhasteeth\Pipeline\Tests;
use Chefhasteeth\Pipeline\Pipeline;
use Chefhasteeth\Pipeline\Tests\Fakes\PipeForTesting;
use Illuminate\Support\Facades\DB;
use UnexpectedValueException;
class PipelineTest extends TestCase
{
/** @test */
public function runs_through_an_entire_pipeline()
{
... | php | MIT | 34175f5df4102c6d78457e6d05b8d43181f2dfea | 2026-01-05T03:25:08.613826Z | false |
chefhasteeth/pipeline | https://github.com/chefhasteeth/pipeline/blob/34175f5df4102c6d78457e6d05b8d43181f2dfea/tests/TestCase.php | tests/TestCase.php | <?php
namespace Chefhasteeth\Pipeline\Tests;
use Orchestra\Testbench\TestCase as Orchestra;
abstract class TestCase extends Orchestra
{
}
| php | MIT | 34175f5df4102c6d78457e6d05b8d43181f2dfea | 2026-01-05T03:25:08.613826Z | false |
chefhasteeth/pipeline | https://github.com/chefhasteeth/pipeline/blob/34175f5df4102c6d78457e6d05b8d43181f2dfea/tests/PipableTest.php | tests/PipableTest.php | <?php
namespace Chefhasteeth\Pipeline\Tests;
use Chefhasteeth\Pipeline\Pipable;
use Illuminate\Support\Facades\DB;
class PipableTest extends TestCase
{
protected function pipeline()
{
return new class ('one', 'two') {
use Pipable;
public function __construct(public string $on... | php | MIT | 34175f5df4102c6d78457e6d05b8d43181f2dfea | 2026-01-05T03:25:08.613826Z | false |
chefhasteeth/pipeline | https://github.com/chefhasteeth/pipeline/blob/34175f5df4102c6d78457e6d05b8d43181f2dfea/tests/Fakes/PipeForTesting.php | tests/Fakes/PipeForTesting.php | <?php
namespace Chefhasteeth\Pipeline\Tests\Fakes;
class PipeForTesting
{
public function handle($passable)
{
return $passable;
}
}
| php | MIT | 34175f5df4102c6d78457e6d05b8d43181f2dfea | 2026-01-05T03:25:08.613826Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/JobInterface.php | src/JobInterface.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue;
interface JobInterface
{
/**
* Execute current job.
*
* @return mi... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Manager.php | src/Manager.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue;
use Littlesqx\AintQueue\Driver\Redis\Queue;
use Littlesqx\AintQueue\Exception\Invalid... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/QueueInterface.php | src/QueueInterface.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue;
interface QueueInterface
{
/**
* Get channel name of current queue.
*
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Compressable.php | src/Compressable.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue;
interface Compressable
{
/**
* Get the compressing threshold (string length)... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/WorkerManager.php | src/WorkerManager.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue;
use Littlesqx\AintQueue\Logger\LoggerInterface;
use Littlesqx\AintQueue\Worker\Consum... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/AbstractQueue.php | src/AbstractQueue.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue;
use Littlesqx\AintQueue\Serializer\ClosureSerializer;
use Littlesqx\AintQueue\Seriali... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/JobSnapshotterInterface.php | src/JobSnapshotterInterface.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue;
interface JobSnapshotterInterface
{
/**
* @param array $snapshot
*/
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/JobMiddlewareInterface.php | src/JobMiddlewareInterface.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue;
interface JobMiddlewareInterface
{
/**
* Handle current middleware.
*
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Driver/DriverFactory.php | src/Driver/DriverFactory.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Driver;
use Littlesqx\AintQueue\Exception\InvalidDriverException;
use Littlesqx\AintQu... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Driver/Redis/LuaScripts.php | src/Driver/Redis/LuaScripts.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Driver\Redis;
/**
* Class LuaScripts.
*
* @credit This file is modified from illumi... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Driver/Redis/Queue.php | src/Driver/Redis/Queue.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Driver\Redis;
use Littlesqx\AintQueue\AbstractQueue;
use Littlesqx\AintQueue\Compressa... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Logger/DefaultLogger.php | src/Logger/DefaultLogger.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Logger;
use Monolog\Formatter\LineFormatter;
use Monolog\Handler\StreamHandler;
use Mo... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Logger/LoggerInterface.php | src/Logger/LoggerInterface.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Logger;
interface LoggerInterface extends \Psr\Log\LoggerInterface
{
/**
* Re... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Serializer/PhpSerializer.php | src/Serializer/PhpSerializer.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Serializer;
use Littlesqx\AintQueue\Exception\InvalidArgumentException;
class PhpSeri... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Serializer/CompressingSerializer.php | src/Serializer/CompressingSerializer.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Serializer;
use Littlesqx\AintQueue\Compressable;
use Littlesqx\AintQueue\Exception\In... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Serializer/ClosureSerializer.php | src/Serializer/ClosureSerializer.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Serializer;
use Littlesqx\AintQueue\Exception\InvalidArgumentException;
use SuperClosu... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Serializer/SerializerInterface.php | src/Serializer/SerializerInterface.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Serializer;
use Littlesqx\AintQueue\Exception\InvalidArgumentException;
interface Ser... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Serializer/Factory.php | src/Serializer/Factory.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Serializer;
use Littlesqx\AintQueue\Exception\InvalidArgumentException;
class Factory... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Worker/AbstractWorker.php | src/Worker/AbstractWorker.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Worker;
use Littlesqx\AintQueue\Logger\LoggerInterface;
use Littlesqx\AintQueue\QueueI... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Worker/PipeMessage.php | src/Worker/PipeMessage.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Worker;
class PipeMessage
{
/**
* @var string
*/
protected $origin;
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Worker/MonitorWorker.php | src/Worker/MonitorWorker.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Worker;
use Littlesqx\AintQueue\JobSnapshotterInterface;
use Swoole\Coroutine;
use Swo... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Worker/ConsumerWorker.php | src/Worker/ConsumerWorker.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Worker;
use Illuminate\Pipeline\Pipeline;
use Littlesqx\AintQueue\Exception\InvalidJob... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Console/Application.php | src/Console/Application.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Console;
use Littlesqx\AintQueue\Console\Command\QueueClearCommand;
use Littlesqx\Aint... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Console/Command/QueueStatusCommand.php | src/Console/Command/QueueStatusCommand.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Console\Command;
use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Con... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Console/Command/QueueClearCommand.php | src/Console/Command/QueueClearCommand.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Console\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Compo... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Console/Command/WorkerReloadCommand.php | src/Console/Command/WorkerReloadCommand.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Console\Command;
use Swoole\Process;
use Symfony\Component\Console\Input\InputInterfac... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Console/Command/WorkerListenCommand.php | src/Console/Command/WorkerListenCommand.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Console\Command;
use Littlesqx\AintQueue\Exception\RuntimeException;
use Symfony\Compo... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Console/Command/QueueReloadFailedCommand.php | src/Console/Command/QueueReloadFailedCommand.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Console\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Compo... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Console/Command/QueueDashboardCommand.php | src/Console/Command/QueueDashboardCommand.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Console\Command;
use Littlesqx\AintQueue\Exception\InvalidArgumentException;
use Swool... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Console/Command/WorkerStopCommand.php | src/Console/Command/WorkerStopCommand.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Console\Command;
use Swoole\Process;
use Symfony\Component\Console\Input\InputInterfac... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Console/Command/AbstractCommand.php | src/Console/Command/AbstractCommand.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Console\Command;
use Littlesqx\AintQueue\Driver\DriverFactory;
use Littlesqx\AintQueue... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Console/Command/WorkerRunCommand.php | src/Console/Command/WorkerRunCommand.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Console\Command;
use Illuminate\Pipeline\Pipeline;
use Littlesqx\AintQueue\JobInterfac... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Config/config.php | src/Config/config.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
use Littlesqx\AintQueue\Driver\Redis\Queue as RedisQueue;
use Littlesqx\AintQueue\Logger\DefaultLogger;
use Monolog\Logger;
return [
// ch... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Exception/CoroutineNumberExceedException.php | src/Exception/CoroutineNumberExceedException.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Exception;
class CoroutineNumberExceedException extends AintQueueException
{
}
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Exception/SerializationException.php | src/Exception/SerializationException.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Exception;
class SerializationException extends AintQueueException
{
}
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Exception/AintQueueException.php | src/Exception/AintQueueException.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Exception;
abstract class AintQueueException extends \Exception
{
}
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Exception/ConnectorException.php | src/Exception/ConnectorException.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Exception;
class ConnectorException extends AintQueueException
{
}
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Exception/InvalidDriverException.php | src/Exception/InvalidDriverException.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Exception;
class InvalidDriverException extends AintQueueException
{
}
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Exception/InvalidJobException.php | src/Exception/InvalidJobException.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Exception;
class InvalidJobException extends AintQueueException
{
}
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Exception/RuntimeException.php | src/Exception/RuntimeException.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Exception;
class RuntimeException extends AintQueueException
{
}
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Exception/InvalidArgumentException.php | src/Exception/InvalidArgumentException.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Exception;
class InvalidArgumentException extends AintQueueException
{
}
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Connection/RedisConnector.php | src/Connection/RedisConnector.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Connection;
use Littlesqx\AintQueue\Exception\ConnectorException;
use Predis\Client;
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/src/Connection/Connector.php | src/Connection/Connector.php | <?php
declare(strict_types=1);
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Littlesqx\AintQueue\Connection;
use Littlesqx\AintQueue\Exception\ConnectorException;
interface Connector... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/tests/ManagerTest.php | tests/ManagerTest.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Tests;
use Littlesqx\AintQueue\Exception\InvalidArgumentException;
use Littlesqx\AintQueue\Manager;
use PHPUnit\Framework\TestCase;
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/tests/SerializerTest.php | tests/SerializerTest.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Tests;
use Littlesqx\AintQueue\Exception\InvalidArgumentException;
use Littlesqx\AintQueue\Serializer\ClosureSerializer;
use Littles... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/tests/LoggerTest.php | tests/LoggerTest.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Tests;
use Littlesqx\AintQueue\Logger\DefaultLogger;
use PHPUnit\Framework\TestCase;
class LoggerTest extends TestCase
{
/**
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/tests/Stub/DemoLogger.php | tests/Stub/DemoLogger.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Tests\Stub;
use Littlesqx\AintQueue\Logger\LoggerInterface;
class DemoLogger implements LoggerInterface
{
/**
* Reset the ... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/tests/Stub/InvalidLogger.php | tests/Stub/InvalidLogger.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Tests\Stub;
class InvalidLogger
{
}
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/tests/Stub/DemoQueue.php | tests/Stub/DemoQueue.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Tests\Stub;
use Littlesqx\AintQueue\JobInterface;
use Littlesqx\AintQueue\QueueInterface;
class DemoQueue implements QueueInterface... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/tests/Stub/DemoObject.php | tests/Stub/DemoObject.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace Tests\Stub;
use Littlesqx\AintQueue\Compressable;
class DemoObject implements Compressable
{
private $data;
public functio... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/docker/app/Event/ExampleEvent.php | example/docker/app/Event/ExampleEvent.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace App\Event;
use Littlesqx\AintQueue\JobSnapshotterInterface;
class ExampleEvent implements JobSnapshotterInterface
{
/**
* ... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/docker/app/Job/SimpleJob.php | example/docker/app/Job/SimpleJob.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace App\Job;
use Littlesqx\AintQueue\JobInterface;
use Littlesqx\AintQueue\JobMiddlewareInterface;
class SimpleJob implements JobInterf... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/docker/app/Job/CoroutineJob.php | example/docker/app/Job/CoroutineJob.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace App\Job;
use Littlesqx\AintQueue\JobInterface;
use Littlesqx\AintQueue\JobMiddlewareInterface;
use Swoole\Coroutine;
use Swoole\Coro... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/docker/config/aint-queue.php | example/docker/config/aint-queue.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
use Littlesqx\AintQueue\Driver\Redis\Queue as RedisQueue;
return [
'example' => [
'driver' => [
'class' => RedisQueue:... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/project/app/Event/ExampleEvent.php | example/project/app/Event/ExampleEvent.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace App\Event;
use Littlesqx\AintQueue\JobSnapshotterInterface;
class ExampleEvent implements JobSnapshotterInterface
{
/**
* ... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/project/app/Job/SimpleJob.php | example/project/app/Job/SimpleJob.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace App\Job;
use Littlesqx\AintQueue\JobInterface;
use Littlesqx\AintQueue\JobMiddlewareInterface;
class SimpleJob implements JobInterf... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/project/app/Job/CoroutineJob.php | example/project/app/Job/CoroutineJob.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
namespace App\Job;
use Littlesqx\AintQueue\JobInterface;
use Littlesqx\AintQueue\JobMiddlewareInterface;
use Swoole\Coroutine;
use Swoole\Coro... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/project/public/index.php | example/project/public/index.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
require __DIR__.'/../vendor/autoload.php';
use App\Job\CoroutineJob;
use App\Job\SimpleJob;
use Littlesqx\AintQueue\Driver\DriverFactory;
$co... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/project/config/aint-queue.php | example/project/config/aint-queue.php | <?php
/*
* This file is part of the littlesqx/aint-queue.
*
* (c) littlesqx <littlesqx@gmail.com>
*
* This source file is subject to the MIT license that is bundled.
*/
use Littlesqx\AintQueue\Driver\Redis\Queue as RedisQueue;
return [
'example' => [
'driver' => [
'class' => RedisQueue:... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/requirements.php | example/yii2-project/requirements.php | <?php
/**
* Application requirement checker script.
*
* In order to run this script use the following console command:
* php requirements.php
*
* In order to run this script from the web, you should copy it to the web root.
* If you are using Linux you can create a hard link instead, using the following command:... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/mail/layouts/html.php | example/yii2-project/mail/layouts/html.php | <?php
use yii\helpers\Html;
/* @var $this \yii\web\View view component instance */
/* @var $message \yii\mail\MessageInterface the message being composed */
/* @var $content string main view render result */
?>
<?php $this->beginPage() ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/commands/HelloController.php | example/yii2-project/commands/HelloController.php | <?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace app\commands;
use yii\console\Controller;
use yii\console\ExitCode;
/**
* This command echoes the first argument that you have entered.
*
* This command ... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/_bootstrap.php | example/yii2-project/tests/_bootstrap.php | <?php
define('YII_ENV', 'test');
defined('YII_DEBUG') or define('YII_DEBUG', true);
require_once __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';
require __DIR__ .'/../vendor/autoload.php'; | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/acceptance/HomeCest.php | example/yii2-project/tests/acceptance/HomeCest.php | <?php
use yii\helpers\Url;
class HomeCest
{
public function ensureThatHomePageWorks(AcceptanceTester $I)
{
$I->amOnPage(Url::toRoute('/site/index'));
$I->see('My Company');
$I->seeLink('About');
$I->click('About');
$I->wait(2); // wait for page to be op... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/acceptance/ContactCest.php | example/yii2-project/tests/acceptance/ContactCest.php | <?php
use yii\helpers\Url;
class ContactCest
{
public function _before(\AcceptanceTester $I)
{
$I->amOnPage(Url::toRoute('/site/contact'));
}
public function contactPageWorks(AcceptanceTester $I)
{
$I->wantTo('ensure that contact page works');
$I->see('Contact', 'h1');... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/acceptance/LoginCest.php | example/yii2-project/tests/acceptance/LoginCest.php | <?php
use yii\helpers\Url;
class LoginCest
{
public function ensureThatLoginWorks(AcceptanceTester $I)
{
$I->amOnPage(Url::toRoute('/site/login'));
$I->see('Login', 'h1');
$I->amGoingTo('try to login with correct credentials');
$I->fillField('input[name="LoginForm[username]"]'... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/acceptance/_bootstrap.php | example/yii2-project/tests/acceptance/_bootstrap.php | <?php
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/acceptance/AboutCest.php | example/yii2-project/tests/acceptance/AboutCest.php | <?php
use yii\helpers\Url;
class AboutCest
{
public function ensureThatAboutWorks(AcceptanceTester $I)
{
$I->amOnPage(Url::toRoute('/site/about'));
$I->see('About', 'h1');
}
}
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/unit/_bootstrap.php | example/yii2-project/tests/unit/_bootstrap.php | <?php
// add unit testing specific bootstrap code here
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/unit/models/LoginFormTest.php | example/yii2-project/tests/unit/models/LoginFormTest.php | <?php
namespace tests\unit\models;
use app\models\LoginForm;
class LoginFormTest extends \Codeception\Test\Unit
{
private $model;
protected function _after()
{
\Yii::$app->user->logout();
}
public function testLoginNoUser()
{
$this->model = new LoginForm([
'usern... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/unit/models/ContactFormTest.php | example/yii2-project/tests/unit/models/ContactFormTest.php | <?php
namespace tests\unit\models;
use app\models\ContactForm;
use yii\mail\MessageInterface;
class ContactFormTest extends \Codeception\Test\Unit
{
private $model;
/**
* @var \UnitTester
*/
public $tester;
public function testEmailIsSentOnContact()
{
/** @var ContactForm $mode... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/unit/models/UserTest.php | example/yii2-project/tests/unit/models/UserTest.php | <?php
namespace tests\unit\models;
use app\models\User;
class UserTest extends \Codeception\Test\Unit
{
public function testFindUserById()
{
expect_that($user = User::findIdentity(100));
expect($user->username)->equals('admin');
expect_not(User::findIdentity(999));
}
public ... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/_support/AcceptanceTester.php | example/yii2-project/tests/_support/AcceptanceTester.php | <?php
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/_support/UnitTester.php | example/yii2-project/tests/_support/UnitTester.php | <?php
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/_support/FunctionalTester.php | example/yii2-project/tests/_support/FunctionalTester.php | <?php
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/functional/LoginFormCest.php | example/yii2-project/tests/functional/LoginFormCest.php | <?php
class LoginFormCest
{
public function _before(\FunctionalTester $I)
{
$I->amOnRoute('site/login');
}
public function openLoginPage(\FunctionalTester $I)
{
$I->see('Login', 'h1');
}
// demonstrates `amLoggedInAs` method
public function internalLoginById(\Function... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/functional/ContactFormCest.php | example/yii2-project/tests/functional/ContactFormCest.php | <?php
class ContactFormCest
{
public function _before(\FunctionalTester $I)
{
$I->amOnPage(['site/contact']);
}
public function openContactPage(\FunctionalTester $I)
{
$I->see('Contact', 'h1');
}
public function submitEmptyForm(\FunctionalTester $I)
{
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/tests/functional/_bootstrap.php | example/yii2-project/tests/functional/_bootstrap.php | <?php
| php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/controllers/QueueController.php | example/yii2-project/controllers/QueueController.php | <?php
namespace app\controllers;
use app\library\queue\Factory;
use app\library\queue\job\SimpleJob;
use yii\web\Controller;
class QueueController extends Controller
{
public function actionPush()
{
$job = new SimpleJob(1, 'Hello', 'World');
// get from factory
$queue = Factory::make... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/controllers/SiteController.php | example/yii2-project/controllers/SiteController.php | <?php
namespace app\controllers;
use Yii;
use yii\filters\AccessControl;
use yii\web\Controller;
use yii\web\Response;
use yii\filters\VerbFilter;
use app\models\LoginForm;
use app\models\ContactForm;
class SiteController extends Controller
{
/**
* {@inheritdoc}
*/
public function behaviors()
{... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/models/LoginForm.php | example/yii2-project/models/LoginForm.php | <?php
namespace app\models;
use Yii;
use yii\base\Model;
/**
* LoginForm is the model behind the login form.
*
* @property User|null $user This property is read-only.
*
*/
class LoginForm extends Model
{
public $username;
public $password;
public $rememberMe = true;
private $_user = false;
... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Littlesqx/aint-queue | https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/models/User.php | example/yii2-project/models/User.php | <?php
namespace app\models;
class User extends \yii\base\BaseObject implements \yii\web\IdentityInterface
{
public $id;
public $username;
public $password;
public $authKey;
public $accessToken;
private static $users = [
'100' => [
'id' => '100',
'username' => '... | php | MIT | 44cac929ce5e57da9cefcbe843e9ba399d5e950f | 2026-01-05T03:25:20.539646Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.