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 |
|---|---|---|---|---|---|---|---|---|
roots/sage | https://github.com/roots/sage/blob/7920ac9eae20e7f12e62f496a41561c5c48eca1b/resources/views/partials/comments.blade.php | resources/views/partials/comments.blade.php | @if (! post_password_required())
<section id="comments" class="comments">
@if ($responses())
<h2>
{!! $title !!}
</h2>
<ol class="comment-list">
{!! $responses !!}
</ol>
@if ($paginated())
<nav aria-label="Comment">
<ul class="pager">
@... | php | MIT | 7920ac9eae20e7f12e62f496a41561c5c48eca1b | 2026-01-04T15:02:59.095642Z | false |
roots/sage | https://github.com/roots/sage/blob/7920ac9eae20e7f12e62f496a41561c5c48eca1b/resources/views/partials/entry-meta.blade.php | resources/views/partials/entry-meta.blade.php | <time class="dt-published" datetime="{{ get_post_time('c', true) }}">
{{ get_the_date() }}
</time>
<p>
<span>{{ __('By', 'sage') }}</span>
<a href="{{ get_author_posts_url(get_the_author_meta('ID')) }}" class="p-author h-card">
{{ get_the_author() }}
</a>
</p>
| php | MIT | 7920ac9eae20e7f12e62f496a41561c5c48eca1b | 2026-01-04T15:02:59.095642Z | false |
roots/sage | https://github.com/roots/sage/blob/7920ac9eae20e7f12e62f496a41561c5c48eca1b/resources/views/partials/content-single.blade.php | resources/views/partials/content-single.blade.php | <article @php(post_class('h-entry'))>
<header>
<h1 class="p-name">
{!! $title !!}
</h1>
@include('partials.entry-meta')
</header>
<div class="e-content">
@php(the_content())
</div>
@if ($pagination())
<footer>
<nav class="page-nav" aria-label="Page">
{!! $pagination ... | php | MIT | 7920ac9eae20e7f12e62f496a41561c5c48eca1b | 2026-01-04T15:02:59.095642Z | false |
roots/sage | https://github.com/roots/sage/blob/7920ac9eae20e7f12e62f496a41561c5c48eca1b/resources/views/partials/content-page.blade.php | resources/views/partials/content-page.blade.php | @php(the_content())
@if ($pagination())
<nav class="page-nav" aria-label="Page">
{!! $pagination !!}
</nav>
@endif
| php | MIT | 7920ac9eae20e7f12e62f496a41561c5c48eca1b | 2026-01-04T15:02:59.095642Z | false |
roots/sage | https://github.com/roots/sage/blob/7920ac9eae20e7f12e62f496a41561c5c48eca1b/resources/views/layouts/app.blade.php | resources/views/layouts/app.blade.php | <!doctype html>
<html @php(language_attributes())>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
@php(do_action('get_header'))
@php(wp_head())
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body @php(body_class())>
@p... | php | MIT | 7920ac9eae20e7f12e62f496a41561c5c48eca1b | 2026-01-04T15:02:59.095642Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/ResponseEmitterTest.php | tests/ResponseEmitterTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests;
use ReflectionClass;
use Slim\ResponseEmitter;
use Slim\Tests\Assets\HeaderStack;
use Slim\Tests\Mocks\MockStream;
use Slim\Test... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/TestCase.php | tests/TestCase.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests;
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
use Prophecy\PhpUnit\ProphecyTrait;
use Psr\Container\ContainerInterface;
use... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/AppTest.php | tests/AppTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests;
use Prophecy\Argument;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | true |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/CallableResolverTest.php | tests/CallableResolverTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests;
use Prophecy\Argument;
use Prophecy\Prophecy\ObjectProphecy;
use Psr\Container\ContainerInterface;
use Psr\Http\Server\RequestHa... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/bootstrap.php | tests/bootstrap.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
use AdrianSuter\Autoload\Override\Override;
use Slim\ResponseEmitter;
use Slim\Routing\RouteCollector;
use Slim\Tests\Assets\HeaderStack;
$classLoader... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/MiddlewareDispatcherTest.php | tests/MiddlewareDispatcherTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests;
use Prophecy\Argument;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\Server... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Routing/RouteRunnerTest.php | tests/Routing/RouteRunnerTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Routing;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Slim\MiddlewareDispatcher;
use ... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Routing/FastRouteDispatcherTest.php | tests/Routing/FastRouteDispatcherTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Routing;
use FastRoute\BadRouteException;
use FastRoute\DataGenerator\GroupCountBased;
use FastRoute\RouteCollector;
use Slim\Rou... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Routing/RouteResolverTest.php | tests/Routing/RouteResolverTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Routing;
use Error;
use Prophecy\Argument;
use Slim\Interfaces\DispatcherInterface;
use Slim\Interfaces\RouteCollectorInterface;
... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Routing/RouteCollectorTest.php | tests/Routing/RouteCollectorTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Routing;
use Prophecy\Argument;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use RuntimeE... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Routing/RouteParserTest.php | tests/Routing/RouteParserTest.php | <?php
declare(strict_types=1);
namespace Slim\Tests\Routing;
use InvalidArgumentException;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\UriInterface;
use RuntimeException;
use Slim\Interfaces\CallableResolverInterface;
use Slim\Interfaces\RouteCollectorInterface;
use Slim\Interfaces\RouteInter... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Routing/RouteContextTest.php | tests/Routing/RouteContextTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Routing;
use Psr\Http\Message\ServerRequestInterface;
use RuntimeException;
use Slim\Interfaces\RouteInterface;
use Slim\Interfac... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Routing/RouteTest.php | tests/Routing/RouteTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests;
use Closure;
use Exception;
use Prophecy\Argument;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseFactoryInt... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Routing/DispatcherTest.php | tests/Routing/DispatcherTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Routing;
use Psr\Http\Message\ResponseFactoryInterface;
use ReflectionMethod;
use Slim\Interfaces\CallableResolverInterface;
use ... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Routing/RouteCollectorProxyTest.php | tests/Routing/RouteCollectorProxyTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Routing;
use Prophecy\Argument;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Assets/HeaderStack.php | tests/Assets/HeaderStack.php | <?php
/**
* This is a direct copy of zend-diactoros/test/TestAsset/Functions.php and is used to override
* header() and headers_sent() so we can test that they do the right thing.
*
* We put these into the Slim namespace, so that Slim\App will use these versions of header() and
* headers_sent() when we test its o... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockCustomException.php | tests/Mocks/MockCustomException.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Exception;
class MockCustomException extends Exception
{
}
| php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockAction.php | tests/Mocks/MockAction.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use InvalidArgumentException;
use function compact;
use function count;
use function json_encode;
class MockAction
{
... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/RequestHandlerTest.php | tests/Mocks/RequestHandlerTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInt... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php | tests/Mocks/MockCustomRequestHandlerInvocationStrategy.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Slim\Interfaces\RequestHandlerInv... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/CallableTest.php | tests/Mocks/CallableTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Slim\Tests\Providers\PSR7ObjectProvider;
class CallableTest
{
public static $CalledCount = 0;
public static ... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockMiddlewareSlimCallable.php | tests/Mocks/MockMiddlewareSlimCallable.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInt... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockRequestHandler.php | tests/Mocks/MockRequestHandler.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInt... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockStream.php | tests/Mocks/MockStream.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Exception;
use InvalidArgumentException;
use Psr\Http\Message\StreamInterface;
use RuntimeException;
use function cle... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockPsr17Factory.php | tests/Mocks/MockPsr17Factory.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Slim\Factory\Psr17\Psr17Factory;
class MockPsr17Factory extends Psr17Factory
{
protected static string $responseF... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php | tests/Mocks/MockPsr17FactoryWithoutStreamFactory.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Slim\Factory\Psr17\Psr17Factory;
class MockPsr17FactoryWithoutStreamFactory extends Psr17Factory
{
protected stat... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockSequenceMiddleware.php | tests/Mocks/MockSequenceMiddleware.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterfa... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/InvocationStrategyTest.php | tests/Mocks/InvocationStrategyTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Slim\Interfaces\InvocationStrateg... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/SmallChunksStream.php | tests/Mocks/SmallChunksStream.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Exception;
use Psr\Http\Message\StreamInterface;
use function min;
use function str_repeat;
use const SEEK_SET;
cla... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockMiddlewareWithConstructor.php | tests/Mocks/MockMiddlewareWithConstructor.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Prophecy\Prophet;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\S... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/SlowPokeStream.php | tests/Mocks/SlowPokeStream.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Exception;
use Psr\Http\Message\StreamInterface;
use function min;
use function str_repeat;
use function usleep;
use... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/InvokableTest.php | tests/Mocks/InvokableTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
class InvokableTest
{
public static $CalledCount = 0;
public function __invoke()
{
return static::$Ca... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockMiddlewareWithoutConstructor.php | tests/Mocks/MockMiddlewareWithoutConstructor.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterfa... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MockMiddlewareWithoutInterface.php | tests/Mocks/MockMiddlewareWithoutInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
class MockMiddlewareWithoutInterface
{
}
| php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Mocks/MiddlewareTest.php | tests/Mocks/MiddlewareTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Mocks;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterfa... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Exception/HttpUnauthorizedExceptionTest.php | tests/Exception/HttpUnauthorizedExceptionTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Exception;
use Slim\Exception\HttpUnauthorizedException;
use Slim\Tests\TestCase;
class HttpUnauthorizedExceptionTest extends Te... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Exception/HttpExceptionTest.php | tests/Exception/HttpExceptionTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Exception;
use Psr\Http\Message\ServerRequestInterface;
use Slim\Exception\HttpMethodNotAllowedException;
use Slim\Exception\Http... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Middleware/MethodOverrideMiddlewareTest.php | tests/Middleware/MethodOverrideMiddlewareTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Middleware;
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\StreamInterface;
use Psr\Http\Server\Req... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Middleware/BodyParsingMiddlewareTest.php | tests/Middleware/BodyParsingMiddlewareTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Middleware;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandl... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Middleware/ErrorMiddlewareTest.php | tests/Middleware/ErrorMiddlewareTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Middleware;
use Error;
use InvalidArgumentException;
use LogicException;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Mes... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Middleware/OutputBufferingMiddlewareTest.php | tests/Middleware/OutputBufferingMiddlewareTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Middleware;
use Exception;
use InvalidArgumentException;
use Psr\Http\Server\RequestHandlerInterface;
use ReflectionProperty;
use... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Middleware/ContentLengthMiddlewareTest.php | tests/Middleware/ContentLengthMiddlewareTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Middleware;
use Psr\Http\Server\RequestHandlerInterface;
use Slim\Middleware\ContentLengthMiddleware;
use Slim\Tests\TestCase;
c... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Middleware/RoutingMiddlewareTest.php | tests/Middleware/RoutingMiddlewareTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Middleware;
use FastRoute\Dispatcher;
use Prophecy\Argument;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\Req... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Error/AbstractErrorRendererTest.php | tests/Error/AbstractErrorRendererTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Error;
use Exception;
use ReflectionClass;
use RuntimeException;
use Slim\Error\Renderers\HtmlErrorRenderer;
use Slim\Error\Rende... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Providers/PSR7ObjectProviderInterface.php | tests/Providers/PSR7ObjectProviderInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Providers;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequ... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Providers/PSR7ObjectProvider.php | tests/Providers/PSR7ObjectProvider.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Providers;
use Nyholm\Psr7\Factory\Psr17Factory;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInte... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Handlers/ErrorHandlerTest.php | tests/Handlers/ErrorHandlerTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Handlers;
use Prophecy\Argument;
use Psr\Http\Message\ResponseInterface;
use Psr\Log\LoggerInterface;
use ReflectionClass;
use Re... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Handlers/Strategies/RequestResponseNamedArgsTest.php | tests/Handlers/Strategies/RequestResponseNamedArgsTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Handlers\Strategies;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Slim\Handlers\Strat... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Factory/ServerRequestCreatorFactoryTest.php | tests/Factory/ServerRequestCreatorFactoryTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Factory;
use GuzzleHttp\Psr7\ServerRequest as GuzzleServerRequest;
use Laminas\Diactoros\ServerRequest as LaminasDiactorosServerR... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Factory/AppFactoryTest.php | tests/Factory/AppFactoryTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Factory;
use GuzzleHttp\Psr7\HttpFactory;
use Laminas\Diactoros\ResponseFactory as LaminasDiactorosResponseFactory;
use HttpSoft\... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Factory/Psr17/Psr17FactoryProviderTest.php | tests/Factory/Psr17/Psr17FactoryProviderTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Factory\Psr17;
use Slim\Factory\Psr17\Psr17FactoryProvider;
use Slim\Tests\TestCase;
class Psr17FactoryProviderTest extends Test... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Factory/Psr17/Psr17FactoryTest.php | tests/Factory/Psr17/Psr17FactoryTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Factory\Psr17;
use RuntimeException;
use Slim\Tests\Mocks\MockPsr17Factory;
use Slim\Tests\TestCase;
class Psr17FactoryTest exte... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php | tests/Factory/Psr17/SlimHttpServerRequestCreatorTest.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Tests\Factory\Psr17;
use Psr\Http\Message\ServerRequestInterface;
use ReflectionClass;
use ReflectionProperty;
use RuntimeException;
us... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/App.php | Slim/App.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\H... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/CallableResolver.php | Slim/CallableResolver.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim;
use Closure;
use Psr\Container\ContainerInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterfac... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/ResponseEmitter.php | Slim/ResponseEmitter.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim;
use Psr\Http\Message\ResponseInterface;
use function connection_status;
use function header;
use function headers_sent;
use function ... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/MiddlewareDispatcher.php | Slim/MiddlewareDispatcher.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim;
use Closure;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Logger.php | Slim/Logger.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim;
use Psr\Log\AbstractLogger;
use Psr\Log\InvalidArgumentException;
use Stringable;
use function error_log;
class Logger extends Abstr... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Routing/Route.php | Slim/Routing/Route.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Routing;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
u... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Routing/FastRouteDispatcher.php | Slim/Routing/FastRouteDispatcher.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Routing;
use FastRoute\Dispatcher\GroupCountBased;
class FastRouteDispatcher extends GroupCountBased
{
/**
* @var string[][]
... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Routing/RoutingResults.php | Slim/Routing/RoutingResults.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Routing;
use Slim\Interfaces\DispatcherInterface;
use function rawurldecode;
/** @api */
class RoutingResults
{
public const NOT_... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Routing/RouteResolver.php | Slim/Routing/RouteResolver.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Routing;
use RuntimeException;
use Slim\Interfaces\DispatcherInterface;
use Slim\Interfaces\RouteCollectorInterface;
use Slim\Interface... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Routing/RouteRunner.php | Slim/Routing/RouteRunner.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Routing;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterfa... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Routing/RouteGroup.php | Slim/Routing/RouteGroup.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Routing;
use Psr\Http\Server\MiddlewareInterface;
use Slim\Interfaces\AdvancedCallableResolverInterface;
use Slim\Interfaces\CallableRe... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Routing/Dispatcher.php | Slim/Routing/Dispatcher.php | <?php
declare(strict_types=1);
namespace Slim\Routing;
use FastRoute\DataGenerator\GroupCountBased;
use FastRoute\RouteCollector as FastRouteCollector;
use FastRoute\RouteParser\Std;
use Slim\Interfaces\DispatcherInterface;
use Slim\Interfaces\RouteCollectorInterface;
class Dispatcher implements DispatcherInterface... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Routing/RouteCollector.php | Slim/Routing/RouteCollector.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Routing;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use RuntimeException;
use Slim\Handlers\S... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Routing/RouteParser.php | Slim/Routing/RouteParser.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Routing;
use FastRoute\RouteParser\Std;
use InvalidArgumentException;
use Psr\Http\Message\UriInterface;
use Slim\Interfaces\RouteColle... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Routing/RouteCollectorProxy.php | Slim/Routing/RouteCollectorProxy.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Routing;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Slim\Interfaces\CallableResolverInter... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Routing/RouteContext.php | Slim/Routing/RouteContext.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Routing;
use Psr\Http\Message\ServerRequestInterface;
use RuntimeException;
use Slim\Interfaces\RouteInterface;
use Slim\Interfaces\Rou... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/RouteParserInterface.php | Slim/Interfaces/RouteParserInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use InvalidArgumentException;
use Psr\Http\Message\UriInterface;
use RuntimeException;
/** @api */
interface RouteParserIn... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/ErrorHandlerInterface.php | Slim/Interfaces/ErrorHandlerInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Throwable;
interface ErrorHandler... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/RouteCollectorProxyInterface.php | Slim/Interfaces/RouteCollectorProxyInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\UriInterface;
/*... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/RouteInterface.php | Slim/Interfaces/RouteInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterfac... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/ServerRequestCreatorInterface.php | Slim/Interfaces/ServerRequestCreatorInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use Psr\Http\Message\ServerRequestInterface;
interface ServerRequestCreatorInterface
{
public function createServerReq... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php | Slim/Interfaces/RequestHandlerInvocationStrategyInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
interface RequestHandlerInvocationStrategyInterface extends InvocationStrategyInterface
{
}
| php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/RouteGroupInterface.php | Slim/Interfaces/RouteGroupInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use Psr\Http\Server\MiddlewareInterface;
use Slim\MiddlewareDispatcher;
/** @api */
interface RouteGroupInterface
{
pu... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/RouteCollectorInterface.php | Slim/Interfaces/RouteCollectorInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use InvalidArgumentException;
use RuntimeException;
/** @api */
interface RouteCollectorInterface
{
/**
* Get the... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/MiddlewareDispatcherInterface.php | Slim/Interfaces/MiddlewareDispatcherInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
/** @api */
interface MiddlewareDisp... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/Psr17FactoryProviderInterface.php | Slim/Interfaces/Psr17FactoryProviderInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
/** @api */
interface Psr17FactoryProviderInterface
{
/**
* @return string[]
*/
public static function ge... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/AdvancedCallableResolverInterface.php | Slim/Interfaces/AdvancedCallableResolverInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
interface AdvancedCallableResolverInterface extends CallableResolverInterface
{
/**
* Resolve $toResolve into a ca... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/CallableResolverInterface.php | Slim/Interfaces/CallableResolverInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
interface CallableResolverInterface
{
/**
* Resolve $toResolve into a callable
*
* @param callable|array... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/Psr17FactoryInterface.php | Slim/Interfaces/Psr17FactoryInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\StreamFactoryInterface;
use RuntimeException;
interfac... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/InvocationStrategyInterface.php | Slim/Interfaces/InvocationStrategyInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
/**
* Defines a contract for invokin... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/ErrorRendererInterface.php | Slim/Interfaces/ErrorRendererInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use Throwable;
interface ErrorRendererInterface
{
public function __invoke(Throwable $exception, bool $displayErrorDet... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/RouteResolverInterface.php | Slim/Interfaces/RouteResolverInterface.php | <?php
declare(strict_types=1);
namespace Slim\Interfaces;
use Slim\Routing\RoutingResults;
interface RouteResolverInterface
{
/**
* @param string $uri Should be ServerRequestInterface::getUri()->getPath()
*/
public function computeRoutingResults(string $uri, string $method): RoutingResults;
p... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Interfaces/DispatcherInterface.php | Slim/Interfaces/DispatcherInterface.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Interfaces;
use Slim\Routing\RoutingResults;
interface DispatcherInterface
{
/**
* Get routing results for a given request me... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Exception/HttpTooManyRequestsException.php | Slim/Exception/HttpTooManyRequestsException.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Exception;
/** @api */
class HttpTooManyRequestsException extends HttpSpecializedException
{
/**
* @var int
*/
protec... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Exception/HttpNotFoundException.php | Slim/Exception/HttpNotFoundException.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Exception;
class HttpNotFoundException extends HttpSpecializedException
{
/**
* @var int
*/
protected $code = 404;
... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Exception/HttpBadRequestException.php | Slim/Exception/HttpBadRequestException.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Exception;
/** @api */
class HttpBadRequestException extends HttpSpecializedException
{
/**
* @var int
*/
protected $... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Exception/HttpNotImplementedException.php | Slim/Exception/HttpNotImplementedException.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Exception;
/** @api */
class HttpNotImplementedException extends HttpSpecializedException
{
/**
* @var int
*/
protect... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Exception/HttpInternalServerErrorException.php | Slim/Exception/HttpInternalServerErrorException.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Exception;
/** @api */
class HttpInternalServerErrorException extends HttpSpecializedException
{
/**
* @var int
*/
pr... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Exception/HttpForbiddenException.php | Slim/Exception/HttpForbiddenException.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Exception;
/** @api */
class HttpForbiddenException extends HttpSpecializedException
{
/**
* @var int
*/
protected $c... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Exception/HttpGoneException.php | Slim/Exception/HttpGoneException.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Exception;
/** @api */
class HttpGoneException extends HttpSpecializedException
{
/**
* @var int
*/
protected $code =... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Exception/HttpMethodNotAllowedException.php | Slim/Exception/HttpMethodNotAllowedException.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Exception;
use function implode;
class HttpMethodNotAllowedException extends HttpSpecializedException
{
/**
* @var string[]
... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
slimphp/Slim | https://github.com/slimphp/Slim/blob/025043ec303c652408ae85900c98653798d91778/Slim/Exception/HttpException.php | Slim/Exception/HttpException.php | <?php
/**
* Slim Framework (https://slimframework.com)
*
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
*/
declare(strict_types=1);
namespace Slim\Exception;
use Psr\Http\Message\ServerRequestInterface;
use RuntimeException;
use Throwable;
/**
* @api
* @method int getCode()
*/
... | php | MIT | 025043ec303c652408ae85900c98653798d91778 | 2026-01-04T15:03:29.198296Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.