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 |
|---|---|---|---|---|---|---|---|---|
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/config/database.php | testapp/config/database.php | <?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/config/services.php | testapp/config/services.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/config/filesystems.php | testapp/config/filesystems.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/config/mail.php | testapp/config/mail.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send any email
| messages sent by your appl... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/config/cors.php | testapp/config/cors.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Cross-Origin Resource Sharing (CORS) Configuration
|--------------------------------------------------------------------------
|
| Here you may configure your settings for cross-origin resource shar... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/config/broadcasting.php | testapp/config/broadcasting.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Broadcaster
|--------------------------------------------------------------------------
|
| This option controls the default broadcaster that will be used by the
| framework when an even... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/config/auth.php | testapp/config/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for y... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/database/factories/UserFactory.php | testapp/database/factories/UserFactory.php | <?php
namespace Database\Factories;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class UserFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = User::class;
/**
... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/database/migrations/2014_10_12_000000_create_users_table.php | testapp/database/migrations/2014_10_12_000000_create_users_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/database/migrations/2014_10_12_100000_create_password_resets_table.php | testapp/database/migrations/2014_10_12_100000_create_password_resets_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePasswordResetsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('password... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/database/migrations/2019_08_19_000000_create_failed_jobs_table.php | testapp/database/migrations/2019_08_19_000000_create_failed_jobs_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFailedJobsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('failed_jobs'... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/database/seeders/DatabaseSeeder.php | testapp/database/seeders/DatabaseSeeder.php | <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// \App\Models\User::factory(10)->create();
}
}
| php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/resources/lang/en/passwords.php | testapp/resources/lang/en/passwords.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are gi... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/resources/lang/en/pagination.php | testapp/resources/lang/en/pagination.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pag... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/resources/lang/en/validation.php | testapp/resources/lang/en/validation.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator ... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/resources/lang/en/auth.php | testapp/resources/lang/en/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages t... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/resources/views/welcome.blade.php | testapp/resources/views/welcome.blade.php | <!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito... | php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/testapp/resources/views/index.blade.php | testapp/resources/views/index.blade.php | <p>Hello world!</p>
<p>Details: <strong>{{$location}}</strong></p>
| php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/config/ipinfolitelaravel.php | config/ipinfolitelaravel.php | <?php
return [
//
];
| php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/config/ipinfocorelaravel.php | config/ipinfocorelaravel.php | <?php
return [
//
];
| php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/config/ipinfopluslaravel.php | config/ipinfopluslaravel.php | <?php
return [
//
];
| php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
ipinfo/laravel | https://github.com/ipinfo/laravel/blob/2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0/config/ipinfolaravel.php | config/ipinfolaravel.php | <?php
return [
//
];
| php | Apache-2.0 | 2aefdcc0ec1eb053eeda0b94cd02ab38bc407ac0 | 2026-01-05T02:46:59.011022Z | false |
luciferous/jwt | https://github.com/luciferous/jwt/blob/4f56837904bc55728af4b9a934528f66f20121e0/package.php | package.php | <?php
require_once 'PEAR/PackageFileManager2.php';
PEAR::setErrorHandling(PEAR_ERROR_DIE);
$api_version = '0.0.0';
$api_state = 'alpha';
$release_version = '0.0.0';
$release_state = 'alpha';
$release_notes = "No release notes.";
$description = <<<DESC
A JWT encoder/decoder.
DESC;
$package = new PEAR_... | php | BSD-3-Clause | 4f56837904bc55728af4b9a934528f66f20121e0 | 2026-01-05T02:47:22.373239Z | false |
luciferous/jwt | https://github.com/luciferous/jwt/blob/4f56837904bc55728af4b9a934528f66f20121e0/JWT.php | JWT.php | <?php
/**
* JSON Web Token implementation
*
* Minimum implementation used by Realtime auth, based on this spec:
* http://self-issued.info/docs/draft-jones-json-web-token-01.html.
*
* @author Neuman Vong <neuman@twilio.com>
*/
class JWT
{
/**
* @param string $jwt The JWT
* @param string|nul... | php | BSD-3-Clause | 4f56837904bc55728af4b9a934528f66f20121e0 | 2026-01-05T02:47:22.373239Z | false |
luciferous/jwt | https://github.com/luciferous/jwt/blob/4f56837904bc55728af4b9a934528f66f20121e0/tests/Bootstrap.php | tests/Bootstrap.php | <?php
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', 1);
$root = realpath(dirname(dirname(__FILE__)));
require_once $root . '/JWT.php';
unset($root);
| php | BSD-3-Clause | 4f56837904bc55728af4b9a934528f66f20121e0 | 2026-01-05T02:47:22.373239Z | false |
luciferous/jwt | https://github.com/luciferous/jwt/blob/4f56837904bc55728af4b9a934528f66f20121e0/tests/JWTTest.php | tests/JWTTest.php | <?php
class JWTTests extends PHPUnit_Framework_TestCase {
function testEncodeDecode() {
$msg = JWT::encode('abc', 'my_key');
$this->assertEquals(JWT::decode($msg, 'my_key'), 'abc');
}
function testDecodeFromPython() {
$msg = 'eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.Iio6aHR0cDovL2FwcGxpY2F0aW9uL2NsaWNreT9ibG... | php | BSD-3-Clause | 4f56837904bc55728af4b9a934528f66f20121e0 | 2026-01-05T02:47:22.373239Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/ArrayProcessorRegistry.php | ArrayProcessorRegistry.php | <?php
namespace Enqueue;
use Interop\Queue\Processor;
class ArrayProcessorRegistry implements ProcessorRegistryInterface
{
/**
* @var Processor[]
*/
private $processors;
/**
* @param Processor[] $processors
*/
public function __construct(array $processors = [])
{
$thi... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/ConnectionFactoryFactoryInterface.php | ConnectionFactoryFactoryInterface.php | <?php
namespace Enqueue;
use Interop\Queue\ConnectionFactory;
interface ConnectionFactoryFactoryInterface
{
/**
* If string is used, it should be a valid DSN.
*
* If array is used, it must have a dsn key with valid DSN string.
* The other array options are treated as default values.
* Op... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/ProcessorRegistryInterface.php | ProcessorRegistryInterface.php | <?php
declare(strict_types=1);
namespace Enqueue;
use Interop\Queue\Processor;
interface ProcessorRegistryInterface
{
public function get(string $processorName): Processor;
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Resources.php | Resources.php | <?php
namespace Enqueue;
use Enqueue\AmqpBunny\AmqpConnectionFactory as AmqpBunnyConnectionFactory;
use Enqueue\AmqpExt\AmqpConnectionFactory as AmqpExtConnectionFactory;
use Enqueue\AmqpLib\AmqpConnectionFactory as AmqpLibConnectionFactory;
use Enqueue\Dbal\DbalConnectionFactory;
use Enqueue\Fs\FsConnectionFactory;
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/ConnectionFactoryFactory.php | ConnectionFactoryFactory.php | <?php
namespace Enqueue;
use Enqueue\Dsn\Dsn;
use Interop\Queue\ConnectionFactory;
final class ConnectionFactoryFactory implements ConnectionFactoryFactoryInterface
{
public function create($config): ConnectionFactory
{
if (is_string($config)) {
$config = ['dsn' => $config];
}
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Doctrine/DoctrineSchemaCompilerPass.php | Doctrine/DoctrineSchemaCompilerPass.php | <?php
namespace Enqueue\Doctrine;
use Enqueue\Symfony\Client\DependencyInjection\ClientFactory;
use Enqueue\Symfony\DependencyInjection\TransportFactory;
use Enqueue\Symfony\DiUtils;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
u... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Doctrine/DoctrineConnectionFactoryFactory.php | Doctrine/DoctrineConnectionFactoryFactory.php | <?php
namespace Enqueue\Doctrine;
use Doctrine\Persistence\ManagerRegistry;
use Enqueue\ConnectionFactoryFactoryInterface;
use Enqueue\Dbal\ManagerRegistryConnectionFactory;
use Enqueue\Dsn\Dsn;
use Interop\Queue\ConnectionFactory;
class DoctrineConnectionFactoryFactory implements ConnectionFactoryFactoryInterface
{... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Doctrine/DoctrineDriverFactory.php | Doctrine/DoctrineDriverFactory.php | <?php
namespace Enqueue\Doctrine;
use Enqueue\Client\Config;
use Enqueue\Client\Driver\DbalDriver;
use Enqueue\Client\DriverFactoryInterface;
use Enqueue\Client\DriverInterface;
use Enqueue\Client\RouteCollection;
use Enqueue\Dsn\Dsn;
use Interop\Queue\ConnectionFactory;
class DoctrineDriverFactory implements Driver... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Container/NotFoundException.php | Container/NotFoundException.php | <?php
namespace Enqueue\Container;
use Psr\Container\NotFoundExceptionInterface;
class NotFoundException extends \InvalidArgumentException implements NotFoundExceptionInterface
{
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Container/Container.php | Container/Container.php | <?php
namespace Enqueue\Container;
use Psr\Container\ContainerInterface;
class Container implements ContainerInterface
{
/**
* @var array
*/
private $services;
public function __construct(array $services)
{
$this->services = $services;
}
public function get($id)
{
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/QueueConsumerInterface.php | Consumption/QueueConsumerInterface.php | <?php
namespace Enqueue\Consumption;
use Interop\Queue\Context;
use Interop\Queue\Processor;
use Interop\Queue\Queue as InteropQueue;
interface QueueConsumerInterface
{
/**
* In milliseconds.
*/
public function setReceiveTimeout(int $timeout): void;
/**
* In milliseconds.
*/
publ... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Result.php | Consumption/Result.php | <?php
namespace Enqueue\Consumption;
use Interop\Queue\Message as InteropMessage;
use Interop\Queue\Processor;
class Result
{
/**
* @see Processor::ACK for more details
*/
public const ACK = Processor::ACK;
/**
* @see Processor::REJECT for more details
*/
public const REJECT = Pr... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/EndExtensionInterface.php | Consumption/EndExtensionInterface.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\End;
interface EndExtensionInterface
{
/**
* Executed only once just before QueueConsumer::consume returns.
*/
public function onEnd(End $context): void;
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/ProcessorExceptionExtensionInterface.php | Consumption/ProcessorExceptionExtensionInterface.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\ProcessorException;
interface ProcessorExceptionExtensionInterface
{
/**
* Execute if a processor throws an exception.
* The result could be set, if result is not set the exception is thrown again.
*/
public function onProces... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/PreConsumeExtensionInterface.php | Consumption/PreConsumeExtensionInterface.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\PreConsume;
interface PreConsumeExtensionInterface
{
/**
* Executed at every new cycle before calling SubscriptionConsumer::consume method.
* The consumption could be interrupted at this step.
*/
public function onPreConsume(... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/ChainExtension.php | Consumption/ChainExtension.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\End;
use Enqueue\Consumption\Context\InitLogger;
use Enqueue\Consumption\Context\MessageReceived;
use Enqueue\Consumption\Context\MessageResult;
use Enqueue\Consumption\Context\PostConsume;
use Enqueue\Consumption\Context\PostMessageReceived;
use En... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/StartExtensionInterface.php | Consumption/StartExtensionInterface.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\Start;
interface StartExtensionInterface
{
/**
* Executed only once at the very beginning of the QueueConsumer::consume method call.
*/
public function onStart(Start $context): void;
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/MessageResultExtensionInterface.php | Consumption/MessageResultExtensionInterface.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\MessageResult;
interface MessageResultExtensionInterface
{
/**
* Executed when a message is processed by a processor or a result was set in onMessageReceived extension method.
* BEFORE the message status was sent to the broker
* ... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/BoundProcessor.php | Consumption/BoundProcessor.php | <?php
namespace Enqueue\Consumption;
use Interop\Queue\Processor;
use Interop\Queue\Queue;
final class BoundProcessor
{
/**
* @var Queue
*/
private $queue;
/**
* @var Processor
*/
private $processor;
public function __construct(Queue $queue, Processor $processor)
{
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/CallbackProcessor.php | Consumption/CallbackProcessor.php | <?php
namespace Enqueue\Consumption;
use Interop\Queue\Context;
use Interop\Queue\Message as InteropMessage;
use Interop\Queue\Processor;
class CallbackProcessor implements Processor
{
/**
* @var callable
*/
private $callback;
public function __construct(callable $callback)
{
$this... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/InitLoggerExtensionInterface.php | Consumption/InitLoggerExtensionInterface.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\InitLogger;
interface InitLoggerExtensionInterface
{
/**
* Executed only once at the very beginning of the QueueConsumer::consume method call.
* BEFORE onStart extension method.
*/
public function onInitLogger(InitLogger $con... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/MessageReceivedExtensionInterface.php | Consumption/MessageReceivedExtensionInterface.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\MessageReceived;
interface MessageReceivedExtensionInterface
{
/**
* Executed as soon as a a message is received, before it is passed to a processor
* The extension may set a result. If the result is set the processor is not called
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/ExtensionInterface.php | Consumption/ExtensionInterface.php | <?php
namespace Enqueue\Consumption;
interface ExtensionInterface extends StartExtensionInterface, PreSubscribeExtensionInterface, PreConsumeExtensionInterface, MessageReceivedExtensionInterface, PostMessageReceivedExtensionInterface, MessageResultExtensionInterface, ProcessorExceptionExtensionInterface, PostConsumeE... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/QueueConsumer.php | Consumption/QueueConsumer.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\End;
use Enqueue\Consumption\Context\InitLogger;
use Enqueue\Consumption\Context\MessageReceived;
use Enqueue\Consumption\Context\MessageResult;
use Enqueue\Consumption\Context\PostConsume;
use Enqueue\Consumption\Context\PostMessageReceived;
use En... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/FallbackSubscriptionConsumer.php | Consumption/FallbackSubscriptionConsumer.php | <?php
namespace Enqueue\Consumption;
use Interop\Queue\Consumer;
use Interop\Queue\SubscriptionConsumer;
final class FallbackSubscriptionConsumer implements SubscriptionConsumer
{
/**
* an item contains an array: [Consumer $consumer, callable $callback];.
* an item key is a queue name.
*
* @v... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/PostMessageReceivedExtensionInterface.php | Consumption/PostMessageReceivedExtensionInterface.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\PostMessageReceived;
interface PostMessageReceivedExtensionInterface
{
/**
* Executed at the very end of consumption callback. The message has already been acknowledged.
* The message result could not be changed.
* The consumptio... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/QueueSubscriberInterface.php | Consumption/QueueSubscriberInterface.php | <?php
namespace Enqueue\Consumption;
interface QueueSubscriberInterface
{
/**
* The result must contain a set of queue names a you expect them to see in the broker
* or the name you use to get the queue object from the context.
*
* @return string[]
*/
public static function getSubscri... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/PostConsumeExtensionInterface.php | Consumption/PostConsumeExtensionInterface.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\PostConsume;
interface PostConsumeExtensionInterface
{
/**
* The method is called after SubscriptionConsumer::consume method exits.
* The consumption could be interrupted at this point.
*/
public function onPostConsume(PostCo... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/PreSubscribeExtensionInterface.php | Consumption/PreSubscribeExtensionInterface.php | <?php
namespace Enqueue\Consumption;
use Enqueue\Consumption\Context\PreSubscribe;
interface PreSubscribeExtensionInterface
{
/**
* The method is called for each BoundProcessor before calling SubscriptionConsumer::subscribe method.
*/
public function onPreSubscribe(PreSubscribe $context): void;
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Extension/NicenessExtension.php | Consumption/Extension/NicenessExtension.php | <?php
namespace Enqueue\Consumption\Extension;
use Enqueue\Consumption\Context\Start;
use Enqueue\Consumption\StartExtensionInterface;
class NicenessExtension implements StartExtensionInterface
{
/**
* @var int
*/
protected $niceness = 0;
/**
* @param int $niceness
*
* @throws \... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Extension/LimitConsumerMemoryExtension.php | Consumption/Extension/LimitConsumerMemoryExtension.php | <?php
namespace Enqueue\Consumption\Extension;
use Enqueue\Consumption\Context\PostConsume;
use Enqueue\Consumption\Context\PostMessageReceived;
use Enqueue\Consumption\Context\PreConsume;
use Enqueue\Consumption\PostConsumeExtensionInterface;
use Enqueue\Consumption\PostMessageReceivedExtensionInterface;
use Enqueue... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Extension/LimitConsumptionTimeExtension.php | Consumption/Extension/LimitConsumptionTimeExtension.php | <?php
namespace Enqueue\Consumption\Extension;
use Enqueue\Consumption\Context\PostConsume;
use Enqueue\Consumption\Context\PostMessageReceived;
use Enqueue\Consumption\Context\PreConsume;
use Enqueue\Consumption\PostConsumeExtensionInterface;
use Enqueue\Consumption\PostMessageReceivedExtensionInterface;
use Enqueue... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Extension/LimitConsumedMessagesExtension.php | Consumption/Extension/LimitConsumedMessagesExtension.php | <?php
namespace Enqueue\Consumption\Extension;
use Enqueue\Consumption\Context\PostMessageReceived;
use Enqueue\Consumption\Context\PreConsume;
use Enqueue\Consumption\PostMessageReceivedExtensionInterface;
use Enqueue\Consumption\PreConsumeExtensionInterface;
use Psr\Log\LoggerInterface;
class LimitConsumedMessages... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Extension/SignalExtension.php | Consumption/Extension/SignalExtension.php | <?php
namespace Enqueue\Consumption\Extension;
use Enqueue\Consumption\Context\PostConsume;
use Enqueue\Consumption\Context\PostMessageReceived;
use Enqueue\Consumption\Context\PreConsume;
use Enqueue\Consumption\Context\Start;
use Enqueue\Consumption\Exception\LogicException;
use Enqueue\Consumption\PostConsumeExten... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Extension/ReplyExtension.php | Consumption/Extension/ReplyExtension.php | <?php
namespace Enqueue\Consumption\Extension;
use Enqueue\Consumption\Context\PostMessageReceived;
use Enqueue\Consumption\PostMessageReceivedExtensionInterface;
use Enqueue\Consumption\Result;
class ReplyExtension implements PostMessageReceivedExtensionInterface
{
public function onPostMessageReceived(PostMess... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Extension/LogExtension.php | Consumption/Extension/LogExtension.php | <?php
namespace Enqueue\Consumption\Extension;
use Enqueue\Consumption\Context\End;
use Enqueue\Consumption\Context\MessageReceived;
use Enqueue\Consumption\Context\PostMessageReceived;
use Enqueue\Consumption\Context\Start;
use Enqueue\Consumption\EndExtensionInterface;
use Enqueue\Consumption\MessageReceivedExtensi... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Extension/LoggerExtension.php | Consumption/Extension/LoggerExtension.php | <?php
namespace Enqueue\Consumption\Extension;
use Enqueue\Consumption\Context\InitLogger;
use Enqueue\Consumption\InitLoggerExtensionInterface;
use Psr\Log\LoggerInterface;
class LoggerExtension implements InitLoggerExtensionInterface
{
/**
* @var LoggerInterface
*/
private $logger;
public fu... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Extension/ExitStatusExtension.php | Consumption/Extension/ExitStatusExtension.php | <?php
namespace Enqueue\Consumption\Extension;
use Enqueue\Consumption\Context\End;
use Enqueue\Consumption\EndExtensionInterface;
class ExitStatusExtension implements EndExtensionInterface
{
/**
* @var int
*/
private $exitStatus;
public function onEnd(End $context): void
{
$this->... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Context/PostMessageReceived.php | Consumption/Context/PostMessageReceived.php | <?php
namespace Enqueue\Consumption\Context;
use Enqueue\Consumption\Result;
use Interop\Queue\Consumer;
use Interop\Queue\Context;
use Interop\Queue\Message;
use Psr\Log\LoggerInterface;
final class PostMessageReceived
{
/**
* @var Context
*/
private $context;
/**
* @var Consumer
*/... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Context/MessageReceived.php | Consumption/Context/MessageReceived.php | <?php
namespace Enqueue\Consumption\Context;
use Enqueue\Consumption\Result;
use Interop\Queue\Consumer;
use Interop\Queue\Context;
use Interop\Queue\Message;
use Interop\Queue\Processor;
use Psr\Log\LoggerInterface;
final class MessageReceived
{
/**
* @var Context
*/
private $context;
/**
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Context/PreSubscribe.php | Consumption/Context/PreSubscribe.php | <?php
namespace Enqueue\Consumption\Context;
use Interop\Queue\Consumer;
use Interop\Queue\Context;
use Interop\Queue\Processor;
use Psr\Log\LoggerInterface;
final class PreSubscribe
{
/**
* @var Context
*/
private $context;
/**
* @var Processor
*/
private $processor;
/**
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Context/InitLogger.php | Consumption/Context/InitLogger.php | <?php
namespace Enqueue\Consumption\Context;
use Psr\Log\LoggerInterface;
class InitLogger
{
/**
* @var LoggerInterface
*/
private $logger;
public function __construct(LoggerInterface $logger)
{
$this->logger = $logger;
}
public function getLogger(): LoggerInterface
{
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Context/End.php | Consumption/Context/End.php | <?php
namespace Enqueue\Consumption\Context;
use Interop\Queue\Context;
use Psr\Log\LoggerInterface;
final class End
{
/**
* @var Context
*/
private $context;
/**
* @var int
*/
private $startTime;
/**
* @var int
*/
private $endTime;
/**
* @var LoggerI... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Context/PostConsume.php | Consumption/Context/PostConsume.php | <?php
namespace Enqueue\Consumption\Context;
use Interop\Queue\Context;
use Interop\Queue\SubscriptionConsumer;
use Psr\Log\LoggerInterface;
final class PostConsume
{
/**
* @var Context
*/
private $context;
/**
* @var SubscriptionConsumer
*/
private $subscriptionConsumer;
/*... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Context/MessageResult.php | Consumption/Context/MessageResult.php | <?php
namespace Enqueue\Consumption\Context;
use Enqueue\Consumption\Result;
use Interop\Queue\Consumer;
use Interop\Queue\Context;
use Interop\Queue\Message;
use Psr\Log\LoggerInterface;
final class MessageResult
{
/**
* @var Context
*/
private $context;
/**
* @var Consumer
*/
p... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Context/Start.php | Consumption/Context/Start.php | <?php
namespace Enqueue\Consumption\Context;
use Enqueue\Consumption\BoundProcessor;
use Interop\Queue\Context;
use Psr\Log\LoggerInterface;
final class Start
{
/**
* @var Context
*/
private $context;
/**
* @var LoggerInterface
*/
private $logger;
/**
* @var BoundProces... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Context/ProcessorException.php | Consumption/Context/ProcessorException.php | <?php
namespace Enqueue\Consumption\Context;
use Enqueue\Consumption\Result;
use Interop\Queue\Consumer;
use Interop\Queue\Context;
use Interop\Queue\Message;
use Psr\Log\LoggerInterface;
final class ProcessorException
{
/**
* @var Context
*/
private $context;
/**
* @var Consumer
*/
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Context/PreConsume.php | Consumption/Context/PreConsume.php | <?php
namespace Enqueue\Consumption\Context;
use Interop\Queue\Context;
use Interop\Queue\SubscriptionConsumer;
use Psr\Log\LoggerInterface;
final class PreConsume
{
/**
* @var Context
*/
private $context;
/**
* @var SubscriptionConsumer
*/
private $subscriptionConsumer;
/**... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Exception/IllegalContextModificationException.php | Consumption/Exception/IllegalContextModificationException.php | <?php
namespace Enqueue\Consumption\Exception;
class IllegalContextModificationException extends \LogicException implements ExceptionInterface
{
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Exception/ExceptionInterface.php | Consumption/Exception/ExceptionInterface.php | <?php
namespace Enqueue\Consumption\Exception;
interface ExceptionInterface
{
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Exception/LogicException.php | Consumption/Exception/LogicException.php | <?php
namespace Enqueue\Consumption\Exception;
class LogicException extends \LogicException implements ExceptionInterface
{
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Consumption/Exception/InvalidArgumentException.php | Consumption/Exception/InvalidArgumentException.php | <?php
namespace Enqueue\Consumption\Exception;
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
/**
* @param string $class
*
* @throws static
*/
public static function assertInstanceOf($argument, $class)
{
if (false == $argument i... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/RouteCollection.php | Client/RouteCollection.php | <?php
namespace Enqueue\Client;
class RouteCollection
{
/**
* @var Route[]
*/
private $routes;
/**
* @var Route[]
*/
private $commandRoutes;
/**
* @var Route[]
*/
private $topicRoutes;
/**
* @param Route[] $routes
*/
public function __construc... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/PreSendCommandExtensionInterface.php | Client/PreSendCommandExtensionInterface.php | <?php
namespace Enqueue\Client;
interface PreSendCommandExtensionInterface
{
/**
* @throws \Exception
*/
public function onPreSendCommand(PreSend $context): void;
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/PostSendExtensionInterface.php | Client/PostSendExtensionInterface.php | <?php
namespace Enqueue\Client;
interface PostSendExtensionInterface
{
public function onPostSend(PostSend $context): void;
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/MessagePriority.php | Client/MessagePriority.php | <?php
namespace Enqueue\Client;
class MessagePriority
{
public const VERY_LOW = 'enqueue.message_queue.client.very_low_message_priority';
public const LOW = 'enqueue.message_queue.client.low_message_priority';
public const NORMAL = 'enqueue.message_queue.client.normal_message_priority';
public const H... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/Route.php | Client/Route.php | <?php
namespace Enqueue\Client;
final class Route
{
public const TOPIC = 'enqueue.client.topic_route';
public const COMMAND = 'enqueue.client.command_route';
/**
* @var string
*/
private $source;
/**
* @var string
*/
private $sourceType;
/**
* @var string
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/DriverSendResult.php | Client/DriverSendResult.php | <?php
namespace Enqueue\Client;
use Interop\Queue\Destination;
use Interop\Queue\Message as TransportMessage;
final class DriverSendResult
{
/**
* @var Destination
*/
private $transportDestination;
/**
* @var TransportMessage
*/
private $transportMessage;
public function __c... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/DriverInterface.php | Client/DriverInterface.php | <?php
declare(strict_types=1);
namespace Enqueue\Client;
use Interop\Queue\Context;
use Interop\Queue\Message as InteropMessage;
use Interop\Queue\Queue as InteropQueue;
use Psr\Log\LoggerInterface;
interface DriverInterface
{
public function createTransportMessage(Message $message): InteropMessage;
public... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/DelegateProcessor.php | Client/DelegateProcessor.php | <?php
namespace Enqueue\Client;
use Enqueue\ProcessorRegistryInterface;
use Interop\Queue\Context;
use Interop\Queue\Message as InteropMessage;
use Interop\Queue\Processor;
class DelegateProcessor implements Processor
{
/**
* @var ProcessorRegistryInterface
*/
private $registry;
public functio... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/ChainExtension.php | Client/ChainExtension.php | <?php
namespace Enqueue\Client;
final class ChainExtension implements ExtensionInterface
{
/**
* @var PreSendEventExtensionInterface[]
*/
private $preSendEventExtensions;
/**
* @var PreSendCommandExtensionInterface[]
*/
private $preSendCommandExtensions;
/**
* @var Drive... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/PreSendEventExtensionInterface.php | Client/PreSendEventExtensionInterface.php | <?php
namespace Enqueue\Client;
interface PreSendEventExtensionInterface
{
/**
* @throws \Exception
*/
public function onPreSendEvent(PreSend $context): void;
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/SpoolProducer.php | Client/SpoolProducer.php | <?php
namespace Enqueue\Client;
use Enqueue\Rpc\Promise;
class SpoolProducer implements ProducerInterface
{
/**
* @var ProducerInterface
*/
private $realProducer;
/**
* @var array
*/
private $events;
/**
* @var array
*/
private $commands;
public function _... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/CommandSubscriberInterface.php | Client/CommandSubscriberInterface.php | <?php
namespace Enqueue\Client;
/**
* @phpstan-type CommandConfig = array{
* command: string,
* processor?: string,
* queue?: string,
* prefix_queue?: bool,
* exclusive?: bool,
* }
*/
interface CommandSubscriberInterface
{
/**
* The result maybe either:.
*
* 'aCommandNam... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/DriverFactory.php | Client/DriverFactory.php | <?php
namespace Enqueue\Client;
use Enqueue\Client\Driver\RabbitMqStompDriver;
use Enqueue\Client\Driver\StompManagementClient;
use Enqueue\Dsn\Dsn;
use Interop\Queue\ConnectionFactory;
final class DriverFactory implements DriverFactoryInterface
{
public function create(ConnectionFactory $factory, Config $config... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/RouterProcessor.php | Client/RouterProcessor.php | <?php
namespace Enqueue\Client;
use Enqueue\Consumption\Result;
use Interop\Queue\Context;
use Interop\Queue\Message as InteropMessage;
use Interop\Queue\Processor;
final class RouterProcessor implements Processor
{
/**
* compatibility with 0.8x.
*/
private const COMMAND_TOPIC_08X = '__command__';
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/Resources.php | Client/Resources.php | <?php
namespace Enqueue\Client;
use Enqueue\Client\Driver\AmqpDriver;
use Enqueue\Client\Driver\DbalDriver;
use Enqueue\Client\Driver\FsDriver;
use Enqueue\Client\Driver\GenericDriver;
use Enqueue\Client\Driver\GpsDriver;
use Enqueue\Client\Driver\MongodbDriver;
use Enqueue\Client\Driver\RabbitMqDriver;
use Enqueue\C... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/TopicSubscriberInterface.php | Client/TopicSubscriberInterface.php | <?php
namespace Enqueue\Client;
interface TopicSubscriberInterface
{
/**
* The result maybe either:.
*
* 'aTopicName'
*
* or
*
* ['aTopicName', 'anotherTopicName']
*
* or
*
* [
* [
* 'topic' => 'aTopicName',
* 'processor' => 'fooProce... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/DriverPreSend.php | Client/DriverPreSend.php | <?php
namespace Enqueue\Client;
final class DriverPreSend
{
private $message;
private $producer;
private $driver;
public function __construct(Message $message, ProducerInterface $producer, DriverInterface $driver)
{
$this->message = $message;
$this->producer = $producer;
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/Config.php | Client/Config.php | <?php
namespace Enqueue\Client;
class Config
{
public const TOPIC = 'enqueue.topic';
public const COMMAND = 'enqueue.command';
public const PROCESSOR = 'enqueue.processor';
public const EXPIRE = 'enqueue.expire';
public const PRIORITY = 'enqueue.priority';
public const DELAY = 'enqueue.delay';... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/TraceableProducer.php | Client/TraceableProducer.php | <?php
namespace Enqueue\Client;
use Enqueue\Rpc\Promise;
final class TraceableProducer implements ProducerInterface
{
/**
* @var array
*/
private $traces = [];
/**
* @var ProducerInterface
*/
private $producer;
public function __construct(ProducerInterface $producer)
{
... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/ExtensionInterface.php | Client/ExtensionInterface.php | <?php
namespace Enqueue\Client;
interface ExtensionInterface extends PreSendEventExtensionInterface, PreSendCommandExtensionInterface, DriverPreSendExtensionInterface, PostSendExtensionInterface
{
}
| php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/PostSend.php | Client/PostSend.php | <?php
namespace Enqueue\Client;
use Interop\Queue\Destination;
use Interop\Queue\Message as TransportMessage;
final class PostSend
{
private $message;
private $producer;
private $driver;
private $transportDestination;
private $transportMessage;
public function __construct(
Messag... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
php-enqueue/enqueue | https://github.com/php-enqueue/enqueue/blob/bf766bdea8c0b75ae8d9e656648b9fddea2340b9/Client/ProducerInterface.php | Client/ProducerInterface.php | <?php
namespace Enqueue\Client;
use Enqueue\Rpc\Promise;
interface ProducerInterface
{
/**
* The message could be pretty much everything as long as you have a client extension that transforms a body to string on onPreSendEvent.
*
* @param string|array|Message $message
*
* @throws \Except... | php | MIT | bf766bdea8c0b75ae8d9e656648b9fddea2340b9 | 2026-01-05T02:47:33.756327Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.