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 |
|---|---|---|---|---|---|---|---|---|
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Console/tests/Commands/Attributes/Mocks/Finder/CommandHandlerB.php | src/Console/tests/Commands/Attributes/Mocks/Finder/CommandHandlerB.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Console\Tests\Commands\Attributes\Mocks\Finder;
use Aphiria\Console\Commands\Attributes\Comma... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Console/tests/Commands/Attributes/Mocks/Finder/Subdirectory/CommandHandlerC.php | src/Console/tests/Commands/Attributes/Mocks/Finder/Subdirectory/CommandHandlerC.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Console\Tests\Commands\Attributes\Mocks\Finder\Subdirectory;
use Aphiria\Console\Commands\Att... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Console/tests/Input/OptionTest.php | src/Console/tests/Input/OptionTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Console\Tests\Input;
use Aphiria\Console\Input\Option;
use Aphiria\Console\Input\OptionType;
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Console/tests/Input/InputTest.php | src/Console/tests/Input/InputTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Console\Tests\Input;
use Aphiria\Console\Input\Input;
use PHPUnit\Framework\TestCase;
class ... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Console/tests/Input/ArgumentTest.php | src/Console/tests/Input/ArgumentTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Console\Tests\Input;
use Aphiria\Console\Input\Argument;
use Aphiria\Console\Input\ArgumentTy... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Console/tests/Input/Tokenizers/ArrayListInputTokenizerTest.php | src/Console/tests/Input/Tokenizers/ArrayListInputTokenizerTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Console\Tests\Input\Tokenizers;
use Aphiria\Console\Input\Tokenizers\ArrayListInputTokenizer;... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Console/tests/Input/Tokenizers/StringInputTokenizerTest.php | src/Console/tests/Input/Tokenizers/StringInputTokenizerTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Console\Tests\Input\Tokenizers;
use Aphiria\Console\Input\Tokenizers\StringInputTokenizer;
us... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Console/tests/Input/Tokenizers/ArgvInputTokenizerTest.php | src/Console/tests/Input/Tokenizers/ArgvInputTokenizerTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Console\Tests\Input\Tokenizers;
use Aphiria\Console\Input\Tokenizers\ArgvInputTokenizer;
use ... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Console/tests/Input/Compilers/CommandNotFoundExceptionTest.php | src/Console/tests/Input/Compilers/CommandNotFoundExceptionTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Console\Tests\Input\Compilers;
use Aphiria\Console\Input\Compilers\CommandNotFoundException;
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Console/tests/Input/Compilers/InputCompilerTest.php | src/Console/tests/Input/Compilers/InputCompilerTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Console\Tests\Input\Compilers;
use Aphiria\Console\Commands\Command;
use Aphiria\Console\Comm... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/.php-cs-fixer.dist.php | src/ContentNegotiation/.php-cs-fixer.dist.php | <?php
$copyrightYear = date('Y');
$header = <<<EOT
Aphiria
@link https://www.aphiria.com
@copyright Copyright (C) {$copyrightYear} David Young
@license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
EOT;
return new PhpCsFixer\Config()
->setUnsupportedPhpVersionAllowed(true)
->setRules([
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/ContentNegotiationResult.php | src/ContentNegotiation/src/ContentNegotiationResult.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\ContentNegotiation\MediaTypeFormatters\IMediaTypeFormatter;
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/IEncodingMatcher.php | src/ContentNegotiation/src/IEncodingMatcher.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\Net\Http\Headers\MediaTypeHeaderValue;
use Aphiria\Net\Http\I... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/IContentNegotiator.php | src/ContentNegotiation/src/IContentNegotiator.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\Net\Http\IRequest;
use InvalidArgumentException;
/**
* Defi... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/NegotiatedBodyDeserializer.php | src/ContentNegotiation/src/NegotiatedBodyDeserializer.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\Net\Http\IRequest;
use Aphiria\Net\Http\IResponse;
/**
* De... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/ContentNegotiator.php | src/ContentNegotiation/src/ContentNegotiator.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\ContentNegotiation\MediaTypeFormatters\HtmlMediaTypeFormatter... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/MediaTypeFormatterMatcher.php | src/ContentNegotiation/src/MediaTypeFormatterMatcher.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\ContentNegotiation\MediaTypeFormatters\IMediaTypeFormatter;
u... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/AcceptCharsetEncodingMatcher.php | src/ContentNegotiation/src/AcceptCharsetEncodingMatcher.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\Net\Http\Formatting\RequestHeaderParser;
use Aphiria\Net\Http... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/ILanguageMatcher.php | src/ContentNegotiation/src/ILanguageMatcher.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\Net\Http\IRequest;
/**
* Defines the interface for language... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/IBodyDeserializer.php | src/ContentNegotiation/src/IBodyDeserializer.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\ContentNegotiation\MediaTypeFormatters\SerializationException... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/FailedContentNegotiationException.php | src/ContentNegotiation/src/FailedContentNegotiationException.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Exception;
/**
* Defines the exception that is thrown when content ... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/NegotiatedRequestBuilder.php | src/ContentNegotiation/src/NegotiatedRequestBuilder.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\ContentNegotiation\MediaTypeFormatters\HtmlMediaTypeFormatter... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/NegotiatedResponseFactory.php | src/ContentNegotiation/src/NegotiatedResponseFactory.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\ContentNegotiation\MediaTypeFormatters\SerializationException... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/IMediaTypeFormatterMatcher.php | src/ContentNegotiation/src/IMediaTypeFormatterMatcher.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\Net\Http\IRequest;
/**
* Defines the interface for media ty... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/AcceptLanguageMatcher.php | src/ContentNegotiation/src/AcceptLanguageMatcher.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\Net\Http\Formatting\RequestHeaderParser;
use Aphiria\Net\Http... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/MediaTypeFormatterMatch.php | src/ContentNegotiation/src/MediaTypeFormatterMatch.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation;
use Aphiria\ContentNegotiation\MediaTypeFormatters\IMediaTypeFormatter;
u... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/MediaTypeFormatters/JsonMediaTypeFormatter.php | src/ContentNegotiation/src/MediaTypeFormatters/JsonMediaTypeFormatter.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\MediaTypeFormatters;
use Symfony\Component\Serializer\Encoder\JsonEncoder;... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/MediaTypeFormatters/PlainTextMediaTypeFormatter.php | src/ContentNegotiation/src/MediaTypeFormatters/PlainTextMediaTypeFormatter.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\MediaTypeFormatters;
/**
* Defines the plain text media type formatter
*... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/MediaTypeFormatters/IMediaTypeFormatter.php | src/ContentNegotiation/src/MediaTypeFormatters/IMediaTypeFormatter.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\MediaTypeFormatters;
use Aphiria\IO\Streams\IStream;
/**
* Defines the i... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/MediaTypeFormatters/SerializationException.php | src/ContentNegotiation/src/MediaTypeFormatters/SerializationException.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\MediaTypeFormatters;
use Exception;
/**
* Defines an exception that's th... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/MediaTypeFormatters/TextMediaTypeFormatter.php | src/ContentNegotiation/src/MediaTypeFormatters/TextMediaTypeFormatter.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\MediaTypeFormatters;
use Aphiria\IO\Streams\IStream;
use Aphiria\Reflectio... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/MediaTypeFormatters/SerializerMediaTypeFormatter.php | src/ContentNegotiation/src/MediaTypeFormatters/SerializerMediaTypeFormatter.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\MediaTypeFormatters;
use Aphiria\IO\Streams\IStream;
use Aphiria\Reflectio... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/MediaTypeFormatters/HtmlMediaTypeFormatter.php | src/ContentNegotiation/src/MediaTypeFormatters/HtmlMediaTypeFormatter.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\MediaTypeFormatters;
/**
* Defines the HTML media type formatter
*/
fina... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/MediaTypeFormatters/MediaTypeFormatter.php | src/ContentNegotiation/src/MediaTypeFormatters/MediaTypeFormatter.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\MediaTypeFormatters;
/**
* Defines the base class for media type formatte... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/src/MediaTypeFormatters/XmlMediaTypeFormatter.php | src/ContentNegotiation/src/MediaTypeFormatters/XmlMediaTypeFormatter.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\MediaTypeFormatters;
use Symfony\Component\Serializer\Encoder\XmlEncoder;
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/MediaTypeFormatterMatchTest.php | src/ContentNegotiation/tests/MediaTypeFormatterMatchTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests;
use Aphiria\ContentNegotiation\MediaTypeFormatterMatch;
use Aphiria... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/NegotiatedRequestBuilderTest.php | src/ContentNegotiation/tests/NegotiatedRequestBuilderTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests;
use Aphiria\ContentNegotiation\IMediaTypeFormatterMatcher;
use Aphi... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/MediaTypeFormatterMatcherTest.php | src/ContentNegotiation/tests/MediaTypeFormatterMatcherTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests;
use Aphiria\ContentNegotiation\MediaTypeFormatterMatcher;
use Aphir... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/AcceptLanguageMatcherTest.php | src/ContentNegotiation/tests/AcceptLanguageMatcherTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests;
use Aphiria\ContentNegotiation\AcceptLanguageMatcher;
use Aphiria\N... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/NegotiatedBodyDeserializerTest.php | src/ContentNegotiation/tests/NegotiatedBodyDeserializerTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests;
use Aphiria\ContentNegotiation\ContentNegotiationResult;
use Aphiri... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/ContentNegotiatorTest.php | src/ContentNegotiation/tests/ContentNegotiatorTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests;
use Aphiria\ContentNegotiation\ContentNegotiator;
use Aphiria\Conte... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/NegotiatedResponseFactoryTest.php | src/ContentNegotiation/tests/NegotiatedResponseFactoryTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests;
use Aphiria\ContentNegotiation\ContentNegotiationResult;
use Aphiri... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/AcceptCharsetEncodingMatcherTest.php | src/ContentNegotiation/tests/AcceptCharsetEncodingMatcherTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests;
use Aphiria\ContentNegotiation\AcceptCharsetEncodingMatcher;
use Ap... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/ContentNegotiationResultTest.php | src/ContentNegotiation/tests/ContentNegotiationResultTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests;
use Aphiria\ContentNegotiation\ContentNegotiationResult;
use Aphiri... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/Mocks/User.php | src/ContentNegotiation/tests/Mocks/User.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests\Mocks;
/**
* Defines a simple use model for use in tests
*/
readon... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/MediaTypeFormatters/JsonMediaTypeFormatterTest.php | src/ContentNegotiation/tests/MediaTypeFormatters/JsonMediaTypeFormatterTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests\MediaTypeFormatters;
use Aphiria\ContentNegotiation\MediaTypeFormatt... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/MediaTypeFormatters/SerializerMediaTypeFormatterTest.php | src/ContentNegotiation/tests/MediaTypeFormatters/SerializerMediaTypeFormatterTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests\MediaTypeFormatters;
use Aphiria\ContentNegotiation\MediaTypeFormatt... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/MediaTypeFormatters/HtmlMediaTypeFormatterTest.php | src/ContentNegotiation/tests/MediaTypeFormatters/HtmlMediaTypeFormatterTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests\MediaTypeFormatters;
use Aphiria\ContentNegotiation\MediaTypeFormatt... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/MediaTypeFormatters/PlainTextMediaTypeFormatterTest.php | src/ContentNegotiation/tests/MediaTypeFormatters/PlainTextMediaTypeFormatterTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests\MediaTypeFormatters;
use Aphiria\ContentNegotiation\MediaTypeFormatt... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/ContentNegotiation/tests/MediaTypeFormatters/XmlMediaTypeFormatterTest.php | src/ContentNegotiation/tests/MediaTypeFormatters/XmlMediaTypeFormatterTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\ContentNegotiation\Tests\MediaTypeFormatters;
use Aphiria\ContentNegotiation\MediaTypeFormatt... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/.php-cs-fixer.dist.php | src/Middleware/.php-cs-fixer.dist.php | <?php
$copyrightYear = date('Y');
$header = <<<EOT
Aphiria
@link https://www.aphiria.com
@copyright Copyright (C) {$copyrightYear} David Young
@license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
EOT;
return new PhpCsFixer\Config()
->setUnsupportedPhpVersionAllowed(true)
->setRules([
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/src/MiddlewareBinding.php | src/Middleware/src/MiddlewareBinding.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware;
/**
* Defines a middleware binding, which is a wrapper around the name of the mi... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/src/MiddlewareRequestHandler.php | src/Middleware/src/MiddlewareRequestHandler.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware;
use Aphiria\Net\Http\IRequest;
use Aphiria\Net\Http\IRequestHandler;
use Aphiria\... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/src/ParameterizedMiddleware.php | src/Middleware/src/ParameterizedMiddleware.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware;
/**
* Defines the parameterized middleware
*/
abstract class ParameterizedMiddl... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/src/MiddlewareCollection.php | src/Middleware/src/MiddlewareCollection.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware;
/**
* Defines a collection of middleware
*/
final class MiddlewareCollection
{
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/src/IMiddleware.php | src/Middleware/src/IMiddleware.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware;
use Aphiria\Net\Http\HttpException;
use Aphiria\Net\Http\IRequest;
use Aphiria\Ne... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/src/MiddlewarePipelineFactory.php | src/Middleware/src/MiddlewarePipelineFactory.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware;
use Aphiria\Net\Http\IRequestHandler;
/**
* Defines the factory for middleware ... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/src/Attributes/Middleware.php | src/Middleware/src/Attributes/Middleware.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware\Attributes;
use Aphiria\Middleware\IMiddleware;
use Attribute;
use InvalidArgument... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/tests/MiddlewarePipelineFactoryTest.php | src/Middleware/tests/MiddlewarePipelineFactoryTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware\Tests;
use Aphiria\Middleware\IMiddleware;
use Aphiria\Middleware\MiddlewarePipeli... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/tests/MiddlewareCollectionTest.php | src/Middleware/tests/MiddlewareCollectionTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware\Tests;
use Aphiria\Middleware\IMiddleware;
use Aphiria\Middleware\MiddlewareCollec... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/tests/MiddlewareBindingTest.php | src/Middleware/tests/MiddlewareBindingTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware\Tests;
use Aphiria\Middleware\MiddlewareBinding;
use PHPUnit\Framework\TestCase;
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/tests/MiddlewareRequestHandlerTest.php | src/Middleware/tests/MiddlewareRequestHandlerTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware\Tests;
use Aphiria\Middleware\IMiddleware;
use Aphiria\Middleware\MiddlewareReques... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/tests/ParameterizedMiddlewareTest.php | src/Middleware/tests/ParameterizedMiddlewareTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware\Tests;
use Aphiria\Middleware\Tests\Mocks\ParameterizedMiddleware;
use PHPUnit\Fra... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/tests/Mocks/ParameterizedMiddleware.php | src/Middleware/tests/Mocks/ParameterizedMiddleware.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware\Tests\Mocks;
use Aphiria\Middleware\ParameterizedMiddleware as BaseAttributeMiddle... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Middleware/tests/Attributes/MiddlewareTest.php | src/Middleware/tests/Attributes/MiddlewareTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Middleware\Tests\Attributes;
use Aphiria\Middleware\Attributes\Middleware;
use Aphiria\Middle... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/.php-cs-fixer.dist.php | src/Api/.php-cs-fixer.dist.php | <?php
$copyrightYear = date('Y');
$header = <<<EOT
Aphiria
@link https://www.aphiria.com
@copyright Copyright (C) {$copyrightYear} David Young
@license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
EOT;
return new PhpCsFixer\Config()
->setUnsupportedPhpVersionAllowed(true)
->setRules([
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Router.php | src/Api/src/Router.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api;
use Aphiria\Api\Controllers\Controller;
use Aphiria\Api\Controllers\ControllerRequestHan... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/ApiGateway.php | src/Api/src/ApiGateway.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api;
use Aphiria\Middleware\MiddlewareCollection;
use Aphiria\Middleware\MiddlewarePipelineFa... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/IControllerParameterResolver.php | src/Api/src/Controllers/IControllerParameterResolver.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
use Aphiria\Net\Http\IRequest;
use ReflectionParameter;
/**
* Defines the ... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/RouteActionInvoker.php | src/Api/src/Controllers/RouteActionInvoker.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
use Aphiria\Api\Validation\IRequestBodyValidator;
use Aphiria\ContentNegotia... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/IRouteActionInvoker.php | src/Api/src/Controllers/IRouteActionInvoker.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
use Aphiria\Net\Http\IRequest;
use Aphiria\Net\Http\IResponse;
use Closure;
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/Controller.php | src/Api/src/Controllers/Controller.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
use Aphiria\Authentication\IUserAccessor;
use Aphiria\ContentNegotiation\Fai... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/MissingControllerParameterValueException.php | src/Api/src/Controllers/MissingControllerParameterValueException.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
use Exception;
/**
* Defines the missing controller parameter value except... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/ControllerRequestHandler.php | src/Api/src/Controllers/ControllerRequestHandler.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
use Aphiria\Authentication\IUserAccessor;
use Aphiria\Authentication\Request... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/ControllerParameterResolver.php | src/Api/src/Controllers/ControllerParameterResolver.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
use Aphiria\ContentNegotiation\FailedContentNegotiationException;
use Aphiri... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/IRequestParameterDeserializer.php | src/Api/src/Controllers/IRequestParameterDeserializer.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
/**
* Defines the interface for route action parameter deserializers to imp... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/RequestParameterDeserializer.php | src/Api/src/Controllers/RequestParameterDeserializer.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
use Closure;
class RequestParameterDeserializer implements IRequestParamete... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/RequestBodyDeserializationException.php | src/Api/src/Controllers/RequestBodyDeserializationException.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
use Exception;
/**
* Defines the request body deserialization exception
*... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/FailedRequestParameterConversionException.php | src/Api/src/Controllers/FailedRequestParameterConversionException.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
use Exception;
/**
* Defines the exception that's thrown when a request pa... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Controllers/FailedRequestContentNegotiationException.php | src/Api/src/Controllers/FailedRequestContentNegotiationException.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Controllers;
use Exception;
/**
* Defines the failed request content negotiation except... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Validation/InvalidRequestBodyException.php | src/Api/src/Validation/InvalidRequestBodyException.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Validation;
use InvalidArgumentException;
use Throwable;
/**
* Defines the exception th... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Validation/ValidationProblemDetails.php | src/Api/src/Validation/ValidationProblemDetails.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Validation;
use Aphiria\Api\Errors\ProblemDetails;
use Aphiria\Net\Http\HttpStatusCode;
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Validation/IRequestBodyValidator.php | src/Api/src/Validation/IRequestBodyValidator.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Validation;
use Aphiria\Net\Http\IRequest;
/**
* Defines the interface for request body... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Validation/RequestBodyValidator.php | src/Api/src/Validation/RequestBodyValidator.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Validation;
use Aphiria\ContentNegotiation\ILanguageMatcher;
use Aphiria\Net\Http\IReques... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Errors/ProblemDetails.php | src/Api/src/Errors/ProblemDetails.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Errors;
use Aphiria\Net\Http\HttpStatusCode;
/**
* Defines standard problem details tha... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/src/Errors/ProblemDetailsResponseMutator.php | src/Api/src/Errors/ProblemDetailsResponseMutator.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Errors;
use Aphiria\Net\Http\IResponse;
/**
* Defines the mutator that can convert a re... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/ApiGatewayTest.php | src/Api/tests/ApiGatewayTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests;
use Aphiria\Api\ApiGateway;
use Aphiria\Middleware\IMiddleware;
use Aphiria\Middle... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/RouterTest.php | src/Api/tests/RouterTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests;
use Aphiria\Api\Controllers\Controller;
use Aphiria\Api\Controllers\IRouteActionIn... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Controllers/RouteActionInvokerTest.php | src/Api/tests/Controllers/RouteActionInvokerTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Controllers;
use Aphiria\Api\Controllers\Controller;
use Aphiria\Api\Controllers\Fa... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Controllers/ControllerTest.php | src/Api/tests/Controllers/ControllerTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Controllers;
use Aphiria\Api\Controllers\Controller;
use Aphiria\Authentication\IUs... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Controllers/ControllerRequestHandlerTest.php | src/Api/tests/Controllers/ControllerRequestHandlerTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Controllers;
use Aphiria\Api\Controllers\ControllerRequestHandler;
use Aphiria\Api\... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Controllers/ControllerParameterResolverTest.php | src/Api/tests/Controllers/ControllerParameterResolverTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Controllers;
use Aphiria\Api\Controllers\Controller;
use Aphiria\Api\Controllers\Co... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Controllers/RequestParameterDeserializerTest.php | src/Api/tests/Controllers/RequestParameterDeserializerTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Controllers;
use Aphiria\Api\Controllers\RequestParameterDeserializer;
use DateTime... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Controllers/Mocks/User.php | src/Api/tests/Controllers/Mocks/User.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Controllers\Mocks;
/**
* Defines a simple use model for use in tests
*/
readonly ... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Controllers/Mocks/ControllerWithEndpoints.php | src/Api/tests/Controllers/Mocks/ControllerWithEndpoints.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Controllers\Mocks;
use Aphiria\Api\Controllers\Controller as BaseController;
use Ap... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Mocks/ParameterizedMiddleware.php | src/Api/tests/Mocks/ParameterizedMiddleware.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Mocks;
use Aphiria\Middleware\ParameterizedMiddleware as BaseAttributeMiddleware;
u... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Mocks/MiddlewareThatIncrementsHeader.php | src/Api/tests/Mocks/MiddlewareThatIncrementsHeader.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Mocks;
use Aphiria\Middleware\IMiddleware;
use Aphiria\Net\Http\IRequest;
use Aphir... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Validation/ValidationProblemDetailsTest.php | src/Api/tests/Validation/ValidationProblemDetailsTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Validation;
use Aphiria\Api\Validation\ValidationProblemDetails;
use PHPUnit\Framew... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Validation/RequestBodyValidatorTest.php | src/Api/tests/Validation/RequestBodyValidatorTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Validation;
use Aphiria\Api\Validation\InvalidRequestBodyException;
use Aphiria\Api... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Api/tests/Errors/ProblemDetailsResponseMutatorTest.php | src/Api/tests/Errors/ProblemDetailsResponseMutatorTest.php | <?php
/**
* Aphiria
*
* @link https://www.aphiria.com
* @copyright Copyright (C) 2026 David Young
* @license https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
*/
declare(strict_types=1);
namespace Aphiria\Api\Tests\Errors;
use Aphiria\Api\Errors\ProblemDetailsResponseMutator;
use Aphiria\Net\Http\... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.