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/Framework/tests/Api/Testing/ResponseAssertionsTest.php | src/Framework/tests/Api/Testing/ResponseAssertionsTest.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\Framework\Tests\Api\Testing;
use Aphiria\Collections\KeyValuePair;
use Aphiria\ContentNegotia... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Framework/tests/Api/Testing/PhpUnit/IntegrationTestCaseTest.php | src/Framework/tests/Api/Testing/PhpUnit/IntegrationTestCaseTest.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\Framework\Tests\Api\Testing\PhpUnit;
use Aphiria\Application\IApplication;
use Aphiria\Authen... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Framework/tests/Api/Exceptions/ExceptionHandlerTest.php | src/Framework/tests/Api/Exceptions/ExceptionHandlerTest.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\Framework\Tests\Api\Exceptions;
use Aphiria\Exceptions\LogLevelFactory;
use Aphiria\Framework... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Framework/tests/Api/Exceptions/ProblemDetailsExceptionRendererTest.php | src/Framework/tests/Api/Exceptions/ProblemDetailsExceptionRendererTest.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\Framework\Tests\Api\Exceptions;
use Aphiria\Api\Errors\ProblemDetails;
use Aphiria\Framework\... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Framework/tests/Api/Binders/ControllerBinderTest.php | src/Framework/tests/Api/Binders/ControllerBinderTest.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\Framework\Tests\Api\Binders;
use Aphiria\Api\Controllers\FailedRequestParameterConversionExce... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Framework/tests/Api/Binders/RequestHandlerBinderTest.php | src/Framework/tests/Api/Binders/RequestHandlerBinderTest.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\Framework\Tests\Api\Binders;
use Aphiria\Api\ApiGateway;
use Aphiria\DependencyInjection\ICon... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/IO/.php-cs-fixer.dist.php | src/IO/.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/IO/src/Streams/Stream.php | src/IO/src/Streams/Stream.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\IO\Streams;
use InvalidArgumentException;
use RuntimeException;
/**
* Defines a basic strea... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/IO/src/Streams/MultiStream.php | src/IO/src/Streams/MultiStream.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\IO\Streams;
use InvalidArgumentException;
use RuntimeException;
/**
* Defines a stream that... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/IO/src/Streams/IStream.php | src/IO/src/Streams/IStream.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\IO\Streams;
use RuntimeException;
/**
* Defines the interface for streams to implement
*/
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/IO/tests/Streams/MultiStreamTest.php | src/IO/tests/Streams/MultiStreamTest.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\IO\Tests\Streams;
use Aphiria\IO\Streams\IStream;
use Aphiria\IO\Streams\MultiStream;
use Aph... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/IO/tests/Streams/StreamTest.php | src/IO/tests/Streams/StreamTest.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\IO\Tests\Streams;
use Aphiria\IO\Streams\Stream;
use InvalidArgumentException;
use PHPUnit\Fr... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/.php-cs-fixer.dist.php | src/Sessions/.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/Sessions/src/ISession.php | src/Sessions/src/ISession.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\Sessions;
use ArrayAccess;
/**
* Defines the interface for sessions to implement
*
* @ext... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/src/Session.php | src/Sessions/src/Session.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\Sessions;
use Aphiria\Sessions\Ids\IIdGenerator;
use Aphiria\Sessions\Ids\UuidV4IdGenerator;
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/src/Ids/UuidV4IdGenerator.php | src/Sessions/src/Ids/UuidV4IdGenerator.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\Sessions\Ids;
/**
* Defines a UUID V4 ID generator
*/
final class UuidV4IdGenerator impleme... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/src/Ids/IIdGenerator.php | src/Sessions/src/Ids/IIdGenerator.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\Sessions\Ids;
/**
* Defines the interface for session ID generators to implement
*/
interfa... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/src/Middleware/Session.php | src/Sessions/src/Middleware/Session.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\Sessions\Middleware;
use Aphiria\Middleware\IMiddleware;
use Aphiria\Net\Http\Formatting\Requ... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/src/Handlers/ISessionDriver.php | src/Sessions/src/Handlers/ISessionDriver.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\Sessions\Handlers;
/**
* Defines the interface for session drivers to implement
*/
interfac... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/src/Handlers/SessionEncryptionException.php | src/Sessions/src/Handlers/SessionEncryptionException.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\Sessions\Handlers;
use RuntimeException;
/**
* Defines a session encryption exception
*/
c... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/src/Handlers/DriverSessionHandler.php | src/Sessions/src/Handlers/DriverSessionHandler.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\Sessions\Handlers;
use SessionHandlerInterface;
/**
* Defines a session handler backed by a... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/src/Handlers/ISessionEncrypter.php | src/Sessions/src/Handlers/ISessionEncrypter.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\Sessions\Handlers;
/**
* Defines the interface for session encrypters to implement
*/
inter... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/src/Handlers/FileSessionDriver.php | src/Sessions/src/Handlers/FileSessionDriver.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\Sessions\Handlers;
use OutOfBoundsException;
/**
* Defines a session driver backed by file ... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/src/Handlers/ArraySessionDriver.php | src/Sessions/src/Handlers/ArraySessionDriver.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\Sessions\Handlers;
use OutOfBoundsException;
/**
* Defines the session driver backed by an ... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/tests/SessionTest.php | src/Sessions/tests/SessionTest.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\Sessions\Tests;
use Aphiria\Sessions\Ids\IIdGenerator;
use Aphiria\Sessions\Session;
use Inva... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/tests/Ids/UuidV4IdGeneratorTest.php | src/Sessions/tests/Ids/UuidV4IdGeneratorTest.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\Sessions\Tests\Ids;
use Aphiria\Sessions\Ids\UuidV4IdGenerator;
use PHPUnit\Framework\TestCas... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/tests/Middleware/SessionTest.php | src/Sessions/tests/Middleware/SessionTest.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\Sessions\Tests\Middleware;
use Aphiria\Net\Http\Headers;
use Aphiria\Net\Http\IRequest;
use A... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/tests/Handlers/DriverSessionHandlerTest.php | src/Sessions/tests/Handlers/DriverSessionHandlerTest.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\Sessions\Tests\Handlers;
use Aphiria\Sessions\Handlers\DriverSessionHandler;
use Aphiria\Sess... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/tests/Handlers/FileSessionDriverTest.php | src/Sessions/tests/Handlers/FileSessionDriverTest.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\Sessions\Tests\Handlers;
use Aphiria\Sessions\Handlers\FileSessionDriver;
use OutOfBoundsExce... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Sessions/tests/Handlers/ArraySessionDriverTest.php | src/Sessions/tests/Handlers/ArraySessionDriverTest.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\Sessions\Tests\Handlers;
use Aphiria\Sessions\Handlers\ArraySessionDriver;
use OutOfBoundsExc... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/.php-cs-fixer.dist.php | src/Security/.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/Security/src/IdentityBuilder.php | src/Security/src/IdentityBuilder.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\Security;
use DateTimeInterface;
use InvalidArgumentException;
/**
* Defines a principal id... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/src/IIdentity.php | src/Security/src/IIdentity.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\Security;
/**
* Defines the interface for identities to implement
*/
interface IIdentity
{
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/src/User.php | src/Security/src/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\Security;
use Closure;
/**
* Defines a user principal
*/
class User implements IPrincipal
... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/src/Identity.php | src/Security/src/Identity.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\Security;
/**
* Defines an identity
*/
class Identity implements IIdentity
{
/** @inher... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/src/Claim.php | src/Security/src/Claim.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\Security;
/**
* Defines a statement about a subject
*
* @template T
*/
readonly class Cla... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/src/ClaimType.php | src/Security/src/ClaimType.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\Security;
/**
* Defines the different types of claims
*/
enum ClaimType: string
{
case ... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/src/IPrincipal.php | src/Security/src/IPrincipal.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\Security;
/**
* Defines the interface for principals to implement
*/
interface IPrincipal
{... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/src/PrincipalBuilder.php | src/Security/src/PrincipalBuilder.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\Security;
use Closure;
use DateTimeInterface;
/**
* Defines a principal builder
*/
class P... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/tests/IdentityBuilderTest.php | src/Security/tests/IdentityBuilderTest.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\Security\Tests;
use Aphiria\Security\Claim;
use Aphiria\Security\ClaimType;
use Aphiria\Secur... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/tests/PrincipalBuilderTest.php | src/Security/tests/PrincipalBuilderTest.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\Security\Tests;
use Aphiria\Security\Claim;
use Aphiria\Security\ClaimType;
use Aphiria\Secur... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/tests/ClaimTest.php | src/Security/tests/ClaimTest.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\Security\Tests;
use Aphiria\Security\Claim;
use Aphiria\Security\ClaimType;
use PHPUnit\Frame... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/tests/UserTest.php | src/Security/tests/UserTest.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\Security\Tests;
use Aphiria\Security\Claim;
use Aphiria\Security\ClaimType;
use Aphiria\Secur... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
aphiria/aphiria | https://github.com/aphiria/aphiria/blob/02764a30d8018456853c4ac2a40c1e496483d96b/src/Security/tests/IdentityTest.php | src/Security/tests/IdentityTest.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\Security\Tests;
use Aphiria\Security\Claim;
use Aphiria\Security\ClaimType;
use Aphiria\Secur... | php | MIT | 02764a30d8018456853c4ac2a40c1e496483d96b | 2026-01-05T04:34:23.325498Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/registration.php | registration.php | <?php
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'Thai_S3',
__DIR__
);
| php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/Theme/Design/Backend/Favicon/Plugin.php | Model/Theme/Design/Backend/Favicon/Plugin.php | <?php
namespace Thai\S3\Model\Theme\Design\Backend\Favicon;
use Magento\MediaStorage\Helper\File\Storage\Database;
use Magento\Theme\Model\Design\Backend\Favicon;
use Thai\S3\Helper\Data;
/**
* Plugin for Favicon.
*
* @see Favicon
*/
class Plugin
{
/**
* @var Data
*/
private $helper;
/**
... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/Theme/Design/Backend/Logo/Plugin.php | Model/Theme/Design/Backend/Logo/Plugin.php | <?php
namespace Thai\S3\Model\Theme\Design\Backend\Logo;
use Magento\MediaStorage\Helper\File\Storage\Database;
use Magento\Theme\Model\Design\Backend\Logo;
use Thai\S3\Helper\Data;
/**
* Plugin for Logo.
*
* @see Logo
*/
class Plugin
{
/**
* @var Data
*/
private $helper;
/**
* @var Da... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/Cms/Wysiwyg/Images/Storage/Plugin.php | Model/Cms/Wysiwyg/Images/Storage/Plugin.php | <?php
namespace Thai\S3\Model\Cms\Wysiwyg\Images\Storage;
use Magento\Cms\Model\Wysiwyg\Images\Storage;
use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\MediaStorage\Helper\File\Storage\Database;
use Thai\S3\Helper\Data;
/**
* Plugin for Storage.
*
* @see Storage
*/
class Plugin
{
/**
* @v... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/ResourceModel/MediaStorage/File/Storage/File.php | Model/ResourceModel/MediaStorage/File/Storage/File.php | <?php
namespace Thai\S3\Model\ResourceModel\MediaStorage\File\Storage;
use Magento\Framework\Exception\LocalizedException;
use Magento\Framework\Filesystem;
use Magento\MediaStorage\Helper\File\Storage\Database;
use Magento\MediaStorage\Model\ResourceModel\File\Storage\File as StorageFile;
use Psr\Log\LoggerInterface;... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/MediaStorage/File/Storage.php | Model/MediaStorage/File/Storage.php | <?php
namespace Thai\S3\Model\MediaStorage\File;
use Magento\MediaStorage\Model\File\Storage as FileStorage;
/**
* @inheritdoc
*/
class Storage extends FileStorage
{
const STORAGE_MEDIA_S3 = 2;
}
| php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/MediaStorage/File/Storage/Plugin.php | Model/MediaStorage/File/Storage/Plugin.php | <?php
namespace Thai\S3\Model\MediaStorage\File\Storage;
use Magento\MediaStorage\Helper\File\Storage as StorageHelper;
use Magento\MediaStorage\Model\File\Storage;
/**
* Plugin for Storage.
*
* @see Storage
*/
class Plugin
{
/**
* @var StorageHelper
*/
private $coreFileStorage;
/**
* ... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/MediaStorage/File/Storage/S3.php | Model/MediaStorage/File/Storage/S3.php | <?php
namespace Thai\S3\Model\MediaStorage\File\Storage;
use Aws\S3\Exception\S3Exception;
use Aws\S3\S3Client;
use Magento\Framework\DataObject;
use Magento\Framework\Serialize\SerializerInterface;
use Psr\Log\LoggerInterface;
use Thai\S3\Helper\Data as DataHelper;
class S3 extends DataObject
{
/**
* Store ... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/MediaStorage/File/Storage/Synchronisation/Plugin.php | Model/MediaStorage/File/Storage/Synchronisation/Plugin.php | <?php
namespace Thai\S3\Model\MediaStorage\File\Storage\Synchronisation;
use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\Framework\Exception\FileSystemException;
use Magento\Framework\Filesystem;
use Magento\MediaStorage\Model\File\Storage\Synchronization;
use Thai\S3\Model\MediaStorage\File\Storage\S3... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/MediaStorage/File/Storage/Database/Plugin.php | Model/MediaStorage/File/Storage/Database/Plugin.php | <?php
namespace Thai\S3\Model\MediaStorage\File\Storage\Database;
use Magento\MediaStorage\Model\File\Storage\Database;
use Thai\S3\Helper\Data as DataHelper;
use Thai\S3\Model\MediaStorage\File\Storage\S3 as S3Storage;
/**
* Plugin for Databse.
*
* @see Database
*/
class Plugin
{
/**
* @var DataHelper
... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/MediaStorage/File/Storage/Directory/Database/Plugin.php | Model/MediaStorage/File/Storage/Directory/Database/Plugin.php | <?php
namespace Thai\S3\Model\MediaStorage\File\Storage\Directory\Database;
use Magento\MediaStorage\Model\File\Storage\Directory\Database;
use Thai\S3\Helper\Data as DataHelper;
use Thai\S3\Model\MediaStorage\File\Storage\S3 as S3Storage;
/**
* Plugin for Database.
*
* @see Database
*/
class Plugin
{
/**
... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/MediaStorage/Config/Source/Storage/Media/Storage/Plugin.php | Model/MediaStorage/Config/Source/Storage/Media/Storage/Plugin.php | <?php
namespace Thai\S3\Model\MediaStorage\Config\Source\Storage\Media\Storage;
use Magento\MediaStorage\Model\Config\Source\Storage\Media\Storage;
/**
* Plugin for Storage.
*
* @see Storage
*/
class Plugin
{
/**
* @param Storage $subject
* @param array $result
* @return array
*/
publi... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/Config/Source/Region.php | Model/Config/Source/Region.php | <?php
namespace Thai\S3\Model\Config\Source;
use Magento\Framework\Option\ArrayInterface;
use Thai\S3\Helper\S3 as S3Helper;
/**
* Regions source.
*/
class Region implements ArrayInterface
{
/**
* @var S3Helper
*/
private $helper;
/**
* @param S3Helper $helper
*/
public function... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/Captcha/DefaultModel/Plugin.php | Model/Captcha/DefaultModel/Plugin.php | <?php
namespace Thai\S3\Model\Captcha\DefaultModel;
use Magento\Captcha\Model\DefaultModel;
use Magento\MediaStorage\Helper\File\Storage\Database;
use Thai\S3\Helper\Data;
/**
* Plugin for DefaultModel.
*
* @see DefaultModel
*/
class Plugin
{
/**
* @var Data
*/
private $helper;
/**
* @... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Model/Store/Store/Plugin.php | Model/Store/Store/Plugin.php | <?php
namespace Thai\S3\Model\Store\Store;
use Magento\Store\Model\Store;
/**
* Plugin fot Store.
*
* @see Store
*/
class Plugin
{
/**
* This plugin fixes a bug where Magento incorrectly appends two forward
* slashes to the media rewrite script. We remove one of those extra forward
* slashes.
... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Block/MediaStorage/System/Config/System/Storage/Media/Synchronise/Plugin.php | Block/MediaStorage/System/Config/System/Storage/Media/Synchronise/Plugin.php | <?php
namespace Thai\S3\Block\MediaStorage\System\Config\System\Storage\Media\Synchronise;
class Plugin
{
public function aroundGetTemplate()
{
return 'Thai_S3::system/config/system/storage/media/synchronise.phtml';
}
}
| php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Block/Adminhtml/Form/Field/Headers.php | Block/Adminhtml/Form/Field/Headers.php | <?php
namespace Thai\S3\Block\Adminhtml\Form\Field;
use Magento\Config\Block\System\Config\Form\Field\FieldArray\AbstractFieldArray;
/**
* @inheritdoc
*/
class Headers extends AbstractFieldArray
{
/**
* @var \Magento\Framework\Data\Form\Element\Factory
*/
protected $_elementFactory;
/**
... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Console/Command/StorageEnableCommand.php | Console/Command/StorageEnableCommand.php | <?php
namespace Thai\S3\Console\Command;
use Magento\Config\Model\Config\Factory;
use Magento\Framework\App\Area;
use Magento\Framework\App\State;
use Magento\MediaStorage\Helper\File\Storage;
use Magento\MediaStorage\Helper\File\StorageFactory;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Cons... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Console/Command/ConfigSetCommand.php | Console/Command/ConfigSetCommand.php | <?php
namespace Thai\S3\Console\Command;
use Magento\Config\Model\Config\Factory;
use Magento\Framework\App\Area;
use Magento\Framework\App\State;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Co... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Console/Command/StorageDisableCommand.php | Console/Command/StorageDisableCommand.php | <?php
namespace Thai\S3\Console\Command;
use Magento\Config\Model\Config\Factory;
use Magento\Framework\App\Area;
use Magento\Framework\App\State;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Thai\S3\Model\MediaStorage\File\Storage;
/**
* @inheritdoc
... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Console/Command/StorageExportCommand.php | Console/Command/StorageExportCommand.php | <?php
namespace Thai\S3\Console\Command;
use Magento\Framework\App\Area;
use Magento\Framework\App\State;
use Magento\MediaStorage\Helper\File\Storage;
use Magento\MediaStorage\Helper\File\Storage\Database;
use Magento\MediaStorage\Helper\File\StorageFactory;
use Symfony\Component\Console\Command\Command;
use Symfony\... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Console/Command/CustomEndpointEnableCommand.php | Console/Command/CustomEndpointEnableCommand.php | <?php
namespace Thai\S3\Console\Command;
use Magento\Config\Model\Config;
use Magento\Config\Model\Config\Factory;
use Magento\Framework\App\Area;
use Magento\Framework\App\State;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\O... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Console/Command/ConfigListCommand.php | Console/Command/ConfigListCommand.php | <?php
namespace Thai\S3\Console\Command;
use Magento\Config\Model\Config\Factory;
use Magento\Framework\App\Area;
use Magento\Framework\App\State;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* @inheritdoc... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Console/Command/CustomEndpointDisableCommand.php | Console/Command/CustomEndpointDisableCommand.php | <?php
namespace Thai\S3\Console\Command;
use Magento\Config\Model\Config\Factory;
use Magento\Framework\App\Area;
use Magento\Framework\App\State;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* @inheritdoc... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Helper/S3.php | Helper/S3.php | <?php
namespace Thai\S3\Helper;
/**
* Provides list of regions.
*/
class S3
{
/**
* Determines whether an S3 region code is valid.
*
* @param string $regionInQuestion
* @return bool
*/
public function isValidRegion($regionInQuestion)
{
foreach ($this->getRegions() as $cur... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Helper/Data.php | Helper/Data.php | <?php
namespace Thai\S3\Helper;
use Magento\Framework\App\Helper\AbstractHelper;
use Thai\S3\Model\MediaStorage\File\Storage;
/**
* Helper for config data.
*/
class Data extends AbstractHelper
{
/**
* @var bool
*/
private $useS3;
/**
* Check whether we are allowed to use S3 as our file s... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Helper/MediaStorage/File/Storage/Database/Plugin.php | Helper/MediaStorage/File/Storage/Database/Plugin.php | <?php
namespace Thai\S3\Helper\MediaStorage\File\Storage\Database;
use Magento\MediaStorage\Helper\File\Storage\Database;
use Magento\MediaStorage\Model\File\Storage\Database as StorageDatabase;
use Magento\MediaStorage\Model\File\Storage\DatabaseFactory;
use Thai\S3\Helper\Data as DataHelper;
use Thai\S3\Model\MediaS... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
thaiphan/magento2-s3 | https://github.com/thaiphan/magento2-s3/blob/d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174/Helper/Swatches/Media/Plugin.php | Helper/Swatches/Media/Plugin.php | <?php
namespace Thai\S3\Helper\Swatches\Media;
use Magento\Catalog\Model\Product\Media\Config;
use Magento\MediaStorage\Helper\File\Storage\Database;
use Magento\Swatches\Helper\Media;
/**
* Plugin for Media.
*
* @see Media
*/
class Plugin
{
/**
* @var Config
*/
protected $mediaConfig;
/**
... | php | MIT | d4dc4d8ec16c6f1c2f2518aab987c7a33fb87174 | 2026-01-05T04:34:37.185877Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Transliterate.php | src/Transliterate.php | <?php
namespace Wamania\Snowball;
/**
* Class to transliterate strings
*
* @note Copy of Joomlas transliterate class which is a port of phputf8's utf8_accents_to_ascii()
*/
class Transliterate
{
/**
* Returns strings transliterated from UTF-8 to Latin
*
* @param string $string String to ... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/NotFoundException.php | src/NotFoundException.php | <?php
namespace Wamania\Snowball;
class NotFoundException extends \Exception
{
}
| php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/StemmerFactory.php | src/StemmerFactory.php | <?php
namespace Wamania\Snowball;
use Joomla\String\StringHelper;
use Wamania\Snowball\Stemmer\Catalan;
use Wamania\Snowball\Stemmer\Danish;
use Wamania\Snowball\Stemmer\Dutch;
use Wamania\Snowball\Stemmer\English;
use Wamania\Snowball\Stemmer\Finnish;
use Wamania\Snowball\Stemmer\French;
use Wamania\Snowball\Stemmer... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/StemmerManager.php | src/StemmerManager.php | <?php
namespace Wamania\Snowball;
class StemmerManager
{
/** @var array */
private $stemmers;
public function __construct()
{
$this->stemmers = [];
}
/**
* @throws NotFoundException
*/
public function stem(string $word, string $isoCode): string
{
if (!isset(... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Russian.php | src/Stemmer/Russian.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
*
* @link http://snowball.tartarus.org/algorithms/russian/stemmer.html
* @author wamania
*
*/
class Russian extends Stem
{
/**
* All russian vowels
*/
protected static $vowels = array('а', 'е', 'и', 'о', 'у', 'ы', 'э... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Stemmer.php | src/Stemmer/Stemmer.php | <?php
namespace Wamania\Snowball\Stemmer;
/**
* @author Luís Cobucci <lcobucci@gmail.com>
*/
interface Stemmer
{
/**
* Main function to get the STEM of a word
*
* @param string $word A valid UTF-8 word
*
* @return string
*
* @throws \Exception
*/
public function stem($... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/French.php | src/Stemmer/French.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
*
* @link http://snowball.tartarus.org/algorithms/french/stemmer.html
* @author wamania
*
*/
class French extends Stem
{
/**
* All french vowels
*/
protected static $vowels = array('a', 'e', 'i', 'o', 'u', 'y', 'â', ... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Dutch.php | src/Stemmer/Dutch.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
*
* @link http://snowball.tartarus.org/algorithms/dutch/stemmer.html
* @author wamania
*
*/
class Dutch extends Stem
{
/**
* All dutch vowels
*/
protected static $vowels = array('a', 'e', 'i', 'o', 'u', 'y', 'è');
... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Romanian.php | src/Stemmer/Romanian.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
*
* @link http://snowball.tartarus.org/algorithms/romanian/stemmer.html
* @author wamania
*
*/
class Romanian extends Stem
{
/**
* All Romanian vowels
*/
protected static $vowels = array('a', 'ă', 'â', 'e', 'i', 'î',... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Italian.php | src/Stemmer/Italian.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
*
* @link http://snowball.tartarus.org/algorithms/italian/stemmer.html
* @author wamania
*
*/
class Italian extends Stem
{
/**
* All Italian vowels
*/
protected static $vowels = array('a', 'e', 'i', 'o', 'u', 'à', 'è... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Portuguese.php | src/Stemmer/Portuguese.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
*
* @link http://snowball.tartarus.org/algorithms/portuguese/stemmer.html
* @author wamania
*
*/
class Portuguese extends Stem
{
/**
* All Portuguese vowels
*/
protected static $vowels = array('a', 'e', 'i', 'o', 'u'... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Swedish.php | src/Stemmer/Swedish.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
*
* @link http://snowball.tartarus.org/algorithms/swedish/stemmer.html
* @author wamania
*
*/
class Swedish extends Stem
{
/**
* All swedish vowels
*/
protected static $vowels = array('a', 'e', 'i', 'o', 'u', 'y', 'ä... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Stem.php | src/Stemmer/Stem.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
abstract class Stem implements Stemmer
{
protected static $vowels = array('a', 'e', 'i', 'o', 'u', 'y');
/**
* helper, contains stringified list of vowels
* @var string
*/
protected $plainVowels;
/**
* The... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Spanish.php | src/Stemmer/Spanish.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
use Wamania\Snowball\Transliterate;
/**
*
* @link http://snowball.tartarus.org/algorithms/spanish/stemmer.html
* @author wamania
*
*/
class Spanish extends Stem
{
/**
* All spanish vowels
*/
protected static $vowels = ar... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Norwegian.php | src/Stemmer/Norwegian.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
*
* @link http://snowball.tartarus.org/algorithms/norwegian/stemmer.html
* @author wamania
*
*/
class Norwegian extends Stem
{
/**
* All norwegian vowels
*/
protected static $vowels = array('a', 'e', 'i', 'o', 'u', '... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/German.php | src/Stemmer/German.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
*
* @link http://snowball.tartarus.org/algorithms/german/stemmer.html
* @author wamania
*
*/
class German extends Stem
{
/**
* All German vowels
*/
protected static $vowels = array('a', 'e', 'i', 'o', 'u', 'y', 'ä', ... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Danish.php | src/Stemmer/Danish.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
*
* @link http://snowball.tartarus.org/algorithms/danish/stemmer.html
* @author wamania
*
*/
class Danish extends Stem
{
/**
* All danish vowels
*/
protected static $vowels = array('a', 'e', 'i', 'o', 'u', 'y', 'æ', ... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/English.php | src/Stemmer/English.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
* English Porter 2
*
* @link http://snowball.tartarus.org/algorithms/english/stemmer.html
* @author wamania
*
*/
class English extends Stem
{
/**
* All english vowels
*/
protected static $vowels = array('a', 'e', 'i... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Catalan.php | src/Stemmer/Catalan.php | <?php
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
*
* @link http://snowball.tartarus.org/algorithms/catalan/stemmer.html
* @author Orestes Sanchez Benavente <orestes@estotienearreglo.es>
*
*
* Some fine tuning was necessary in this implementation of the original catalan stemmer al... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/src/Stemmer/Finnish.php | src/Stemmer/Finnish.php | <?php
/**
* Finnish Snowball Stemmer.
*
* @author msaari <mikko@mikkosaari.fi>
*/
namespace Wamania\Snowball\Stemmer;
use Joomla\String\StringHelper;
/**
* Finnish Snowball Stemmer.
*
* @link http://snowball.tartarus.org/algorithms/finnish/stemmer.html
* @author msaari
*/
class Finnish extends Stem
{
/**... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/test/NorwegianTest.php | test/NorwegianTest.php | <?php
namespace Wamania\Snowball\Tests;
use PHPUnit\Framework\TestCase;
use Wamania\Snowball\Stemmer\Norwegian;
class NorwegianTest extends TestCase
{
/**
* @dataProvider load
*/
public function testStem($word, $stem)
{
$o = new Norwegian();
$snowballStem = $o->stem($word);
... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/test/EnglishTest.php | test/EnglishTest.php | <?php
namespace Wamania\Snowball\Tests;
use PHPUnit\Framework\TestCase;
use Wamania\Snowball\Stemmer\English;
class EnglishTest extends TestCase
{
/**
* @dataProvider load
*/
public function testStem($word, $stem)
{
$o = new English();
$snowballStem = $o->stem($word);
$... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/test/CatalanTest.php | test/CatalanTest.php | <?php
namespace Wamania\Snowball\Tests;
use PHPUnit\Framework\TestCase;
use Wamania\Snowball\Stemmer\Catalan;
class CatalanTest extends TestCase
{
/**
* @dataProvider load
*/
public function testStem($word, $stem)
{
$o = new Catalan();
$snowballStem = $o->stem($word);
$... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/test/DanishTest.php | test/DanishTest.php | <?php
namespace Wamania\Snowball\Tests;
use PHPUnit\Framework\TestCase;
use Wamania\Snowball\Stemmer\Danish;
class DanishTest extends TestCase
{
/**
* @dataProvider load
*/
public function testStem($word, $stem)
{
$o = new Danish();
$snowballStem = $o->stem($word);
$thi... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/test/FrenchTest.php | test/FrenchTest.php | <?php
namespace Wamania\Snowball\Tests;
use PHPUnit\Framework\TestCase;
use Wamania\Snowball\Stemmer\French;
class FrenchTest extends TestCase
{
/**
* @dataProvider load
*/
public function testStem($word, $stem)
{
$o = new French();
$snowballStem = $o->stem($word);
$thi... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/test/FactoryTest.php | test/FactoryTest.php | <?php
namespace Wamania\Snowball\Tests;
use PHPUnit\Framework\TestCase;
use Wamania\Snowball\StemmerFactory;
class FactoryTest extends TestCase
{
public function testFactory()
{
$isoCodes = [
'ca' => 'Wamania\\Snowball\\Stemmer\\Catalan',
'cat' => 'Wamania\\Snowball\\Stemmer\\... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/test/FinnishTest.php | test/FinnishTest.php | <?php
namespace Wamania\Snowball\Tests;
use PHPUnit\Framework\TestCase;
use Wamania\Snowball\Stemmer\Finnish;
class FinnishTest extends TestCase
{
/**
* @dataProvider load
*/
public function testStem($word, $stem)
{
$o = new Finnish();
$snowballStem = $o->stem($word);
$this->... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
wamania/php-stemmer | https://github.com/wamania/php-stemmer/blob/cffeb3abca5cd817acc040c8b569a49b8a1d7353/test/ManagerTest.php | test/ManagerTest.php | <?php
namespace Wamania\Snowball\Tests;
use PHPUnit\Framework\TestCase;
use Wamania\Snowball\StemmerManager;
class ManagerTest extends TestCase
{
public function testManager()
{
$stemmerManager = new StemmerManager();
$this->assertEquals('anticonstitutionnel', $stemmerManager->stem('anticons... | php | MIT | cffeb3abca5cd817acc040c8b569a49b8a1d7353 | 2026-01-05T04:34:49.030441Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.