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 |
|---|---|---|---|---|---|---|---|---|
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Behaviors/Chromium/PerformanceModeTestCaseTrait.php | tests/Builder/Behaviors/Chromium/PerformanceModeTestCaseTrait.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Behaviors\Chromium;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Tests\Builder\Behaviors\BehaviorTrait;
/**
* @template T of BuilderInterface
*/
trait PerformanceModeTestCaseTrait
{
/** @use BehaviorTrait<T> */
... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Behaviors/Chromium/CookieTestCaseTrait.php | tests/Builder/Behaviors/Chromium/CookieTestCaseTrait.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Behaviors\Chromium;
use Psr\Log\LoggerInterface;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Tests\Builder\Behaviors\BehaviorTrait;
use Symfony\Component\HttpFoundation\Cookie;
use Symfony\Component\HttpFoundation\Req... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Behaviors/Chromium/FailOnTestCaseTrait.php | tests/Builder/Behaviors/Chromium/FailOnTestCaseTrait.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Behaviors\Chromium;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Tests\Builder\Behaviors\BehaviorTrait;
/**
* @template T of BuilderInterface
*/
trait FailOnTestCaseTrait
{
/** @use BehaviorTrait<T> */
use B... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Pdf/EncryptPdfBuilderTest.php | tests/Builder/Pdf/EncryptPdfBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Pdf;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\EncryptPdfBuilder;
use Sensiolabs\GotenbergBundle\Exception\MissingRequiredFieldException;
use Sensiolabs\GotenbergBundle\Test\Builder\GotenbergBuilderTestC... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Pdf/SplitPdfBuilderTest.php | tests/Builder/Pdf/SplitPdfBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Pdf;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\SplitPdfBuilder;
use Sensiolabs\GotenbergBundle\Enumeration\SplitMode;
use Sensiolabs\GotenbergBundle\Exception\InvalidBuilderConfiguration;
use Sensiolabs\... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Pdf/EmbedPdfBuilderTest.php | tests/Builder/Pdf/EmbedPdfBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Pdf;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\EmbedPdfBuilder;
use Sensiolabs\GotenbergBundle\Exception\MissingRequiredFieldException;
use Sensiolabs\GotenbergBundle\Test\Builder\GotenbergBuilderTestCas... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Pdf/MergePdfBuilderTest.php | tests/Builder/Pdf/MergePdfBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Pdf;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\MergePdfBuilder;
use Sensiolabs\GotenbergBundle\Exception\InvalidBuilderConfiguration;
use Sensiolabs\GotenbergBundle\Exception\MissingRequiredFieldExceptio... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Pdf/HtmlPdfBuilderTest.php | tests/Builder/Pdf/HtmlPdfBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Pdf;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\HtmlPdfBuilder;
use Sensiolabs\GotenbergBundle\Exception\MissingRequiredFieldException;
use Sensiolabs\GotenbergBundle\Exception\PartRenderingException;
use... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Pdf/LibreOfficePdfBuilderTest.php | tests/Builder/Pdf/LibreOfficePdfBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Pdf;
use PHPUnit\Framework\Attributes\DataProvider;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\LibreOfficePdfBuilder;
use Sensiolabs\GotenbergBundle\Enumeration\SplitMode;
use Sensiolabs\GotenbergBundle\E... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Pdf/MarkdownPdfBuilderTest.php | tests/Builder/Pdf/MarkdownPdfBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Pdf;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\MarkdownPdfBuilder;
use Sensiolabs\GotenbergBundle\Exception\InvalidBuilderConfiguration;
use Sensiolabs\GotenbergBundle\Exception\MissingRequiredFieldExcep... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Pdf/ConvertPdfBuilderTest.php | tests/Builder/Pdf/ConvertPdfBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Pdf;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\ConvertPdfBuilder;
use Sensiolabs\GotenbergBundle\Exception\InvalidBuilderConfiguration;
use Sensiolabs\GotenbergBundle\Exception\MissingRequiredFieldExcept... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Pdf/FlattenPdfBuilderTest.php | tests/Builder/Pdf/FlattenPdfBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Pdf;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\FlattenPdfBuilder;
use Sensiolabs\GotenbergBundle\Exception\InvalidBuilderConfiguration;
use Sensiolabs\GotenbergBundle\Exception\MissingRequiredFieldExcept... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Pdf/UrlPdfBuilderTest.php | tests/Builder/Pdf/UrlPdfBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Pdf;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\UrlPdfBuilder;
use Sensiolabs\GotenbergBundle\Exception\MissingRequiredFieldException;
use Sensiolabs\GotenbergBundle\Test\Builder\GotenbergBuilderTestCase;... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Screenshot/UrlScreenshotBuilderTest.php | tests/Builder/Screenshot/UrlScreenshotBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Pdf;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Screenshot\UrlScreenshotBuilder;
use Sensiolabs\GotenbergBundle\Exception\MissingRequiredFieldException;
use Sensiolabs\GotenbergBundle\Test\Builder\GotenbergBu... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Screenshot/MarkdownScreenshotBuilderTest.php | tests/Builder/Screenshot/MarkdownScreenshotBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Screenshot;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Screenshot\MarkdownScreenshotBuilder;
use Sensiolabs\GotenbergBundle\Exception\InvalidBuilderConfiguration;
use Sensiolabs\GotenbergBundle\Exception\Miss... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Screenshot/HtmlScreenshotBuilderTest.php | tests/Builder/Screenshot/HtmlScreenshotBuilderTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Screenshot;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Screenshot\HtmlScreenshotBuilder;
use Sensiolabs\GotenbergBundle\Exception\MissingRequiredFieldException;
use Sensiolabs\GotenbergBundle\Formatter\AssetB... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Builder/Result/GotenbergFileResultTest.php | tests/Builder/Result/GotenbergFileResultTest.php | <?php
declare(strict_types=1);
namespace Sensiolabs\GotenbergBundle\Tests\Builder\Result;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Builder\Result\GotenbergFileResult;
use Sensiolabs\GotenbergBundle\Exception\ProcessorException;
use Sensiolabs\GotenbergBundle\Processor\InMemoryProcessor;
use Sen... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Enumeration/EmulatedMediaTypeTest.php | tests/Enumeration/EmulatedMediaTypeTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Enumeration;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Enumeration\EmulatedMediaType;
class EmulatedMediaTypeTest extends TestCase
{
public function testCaseListIsCorrect(): void
{
$this->assertEquals(
['print', 'screen... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Enumeration/PaperSizeTest.php | tests/Enumeration/PaperSizeTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Enumeration;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Enumeration\PaperSize;
use Sensiolabs\GotenbergBundle\Enumeration\PaperSizeInterface;
use Sensiolabs\GotenbergBundle\Enumeration\Unit;
final class PaperSizeTest extends TestCase
{
public f... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Enumeration/PartTest.php | tests/Enumeration/PartTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Enumeration;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Enumeration\Part;
class PartTest extends TestCase
{
public function testCaseListIsCorrect(): void
{
$this->assertEquals(
['header.html', 'index.html', 'footer.html'... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Enumeration/ImageResolutionDPITest.php | tests/Enumeration/ImageResolutionDPITest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Enumeration;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Enumeration\ImageResolutionDPI;
class ImageResolutionDPITest extends TestCase
{
public function testCaseListIsCorrect(): void
{
$this->assertEquals(
[75, 150, 300, ... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Enumeration/UnitTest.php | tests/Enumeration/UnitTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Enumeration;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Enumeration\Unit;
final class UnitTest extends TestCase
{
public static function itCanBeParsedCorrectlyProvider(): \Generator
{
y... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Enumeration/PdfFormatTest.php | tests/Enumeration/PdfFormatTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Enumeration;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Enumeration\PdfFormat;
class PdfFormatTest extends TestCase
{
public function testCaseListIsCorrect(): void
{
$this->assertEquals(
['PDF/A-1b', 'PDF/A-2b', 'PDF/A-3... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Twig/GotenbergRuntimeTest.php | tests/Twig/GotenbergRuntimeTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Twig;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Builder\BuilderAssetInterface;
use Sensiolabs\GotenbergBundle\Twig\GotenbergRuntime;
class GotenbergRuntimeTest extends TestCase
{
public function testGetAsset(): void
{
$runtime = ne... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Functional/TestKernel.php | tests/Functional/TestKernel.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Functional;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Functional/DefaultTest.php | tests/Functional/DefaultTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Functional;
class DefaultTest extends AbstractGotenbergWebTestCase
{
public function testBundleDefault(): void
{
$this->expectNotToPerformAssertions();
$kernel = static::createKernel(['test_case' => 'Default']);
$kernel->boot();
}
}... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Functional/WebhookTest.php | tests/Functional/WebhookTest.php | <?php
namespace Functional;
use Sensiolabs\GotenbergBundle\Tests\Functional\AbstractGotenbergWebTestCase;
use Sensiolabs\GotenbergBundle\Webhook\WebhookConfigurationRegistry;
class WebhookTest extends AbstractGotenbergWebTestCase
{
public function testBundleWebhook(): void
{
static::bootKernel(['test... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Functional/AbstractGotenbergWebTestCase.php | tests/Functional/AbstractGotenbergWebTestCase.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Functional;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpKernel\KernelInterface;
/**
* Inspired by Symfony's AbstractWebTestCase.
*
* @see https://github.com/symfony/symfony/blob/7.4/src... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Functional/Webhook/config/bundles.php | tests/Functional/Webhook/config/bundles.php | <?php
use Sensiolabs\GotenbergBundle\SensiolabsGotenbergBundle;
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
return [
FrameworkBundle::class => ['test' => true],
SensiolabsGotenbergBundle::class => ['test' => true],
];
| php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Functional/Webhook/config/services.php | tests/Functional/Webhook/config/services.php | <?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
return static function (ContainerConfigurator $container): void {
$container->services()
->alias('alias.sensiolabs_gotenberg.webhook_configuration_registry', '.sensiolabs_gotenberg.webhook_configuration_registry')
->public(... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Functional/Webhook/config/packages/config.php | tests/Functional/Webhook/config/packages/config.php | <?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
return static function (ContainerConfigurator $container): void {
$container->extension('framework', [
'test' => true,
'http_client' => [
'scoped_clients' => [
'gotenberg' => [
... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Functional/Default/config/bundles.php | tests/Functional/Default/config/bundles.php | <?php
use Sensiolabs\GotenbergBundle\SensiolabsGotenbergBundle;
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
return [
FrameworkBundle::class => ['test' => true],
SensiolabsGotenbergBundle::class => ['test' => true],
];
| php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Functional/Default/config/packages/config.php | tests/Functional/Default/config/packages/config.php | <?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
return function (ContainerConfigurator $container): void {
$container->extension('framework', [
'test' => true,
'http_client' => [
'scoped_clients' => [
'gotenberg' => [
'base... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Client/GotenbergClientTest.php | tests/Client/GotenbergClientTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\Client;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Builder\Payload;
use Sensiolabs\GotenbergBundle\Client\GotenbergClient;
use Symfony\Component\HttpClient\MockHttpClient;
use Symfony\Component\HttpClie... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/DependencyInjection/ConfigurationTest.php | tests/DependencyInjection/ConfigurationTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\DependencyInjection;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\ConvertPdfBuilder;
use Sensiolabs\GotenbergBundle\Builder\Pdf\Encrypt... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/DependencyInjection/SensiolabsGotenbergExtensionTest.php | tests/DependencyInjection/SensiolabsGotenbergExtensionTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\DependencyInjection;
use PHPUnit\Framework\Attributes\DataProvider;
use Sensiolabs\GotenbergBundle\Builder\Pdf\ConvertPdfBuilder;
use Sensiolabs\GotenbergBundle\Builder\Pdf\EmbedPdfBuilder;
use Sensiolabs\GotenbergBundle\Builder\Pdf\EncryptPdfBuilder;
use Sensiolabs\Go... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | true |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/DependencyInjection/CompilerPass/GotenbergPassTest.php | tests/DependencyInjection/CompilerPass/GotenbergPassTest.php | <?php
namespace Sensiolabs\GotenbergBundle\Tests\DependencyInjection\CompilerPass;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Builder\Pdf\HtmlPdfBuilder;
use Sensiolabs\GotenbergBundle\DependencyInjection\CompilerPass\GotenbergPass;
use Sensiolabs\GotenbergBundle\DependencyInjection\SensiolabsGote... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/tests/Version/VersionTest.php | tests/Version/VersionTest.php | <?php
declare(strict_types=1);
namespace Sensiolabs\GotenbergBundle\Tests\Version;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Sensiolabs\GotenbergBundle\Version\Version;
class VersionTest extends TestCase
{
public static function itCanBeParsedCorrectlyProvider(): \Generat... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/docs/ValidateUrlDoc.php | docs/ValidateUrlDoc.php | #!/usr/bin/env php
<?php
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Helper\ProgressIndicator;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use Symfony\Component\DomCrawler\Crawler;
us... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/docs/generate.php | docs/generate.php | #!/usr/bin/env php
<?php
use Sensiolabs\GotenbergBundle\Builder\BuilderInterface;
use Sensiolabs\GotenbergBundle\Builder\Pdf\ConvertPdfBuilder;
use Sensiolabs\GotenbergBundle\Builder\Pdf\EmbedPdfBuilder;
use Sensiolabs\GotenbergBundle\Builder\Pdf\EncryptPdfBuilder;
use Sensiolabs\GotenbergBundle\Builder\Pdf\FlattenPdf... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/config/builder_screenshot.php | config/builder_screenshot.php | <?php
use Sensiolabs\GotenbergBundle\Builder\Screenshot\HtmlScreenshotBuilder;
use Sensiolabs\GotenbergBundle\Builder\Screenshot\MarkdownScreenshotBuilder;
use Sensiolabs\GotenbergBundle\Builder\Screenshot\UrlScreenshotBuilder;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use fu... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/config/services.php | config/services.php | <?php
use Sensiolabs\GotenbergBundle\Client\GotenbergClient;
use Sensiolabs\GotenbergBundle\Client\GotenbergClientInterface;
use Sensiolabs\GotenbergBundle\EventListener\ProcessBuilderOnControllerResponse;
use Sensiolabs\GotenbergBundle\Formatter\AssetBaseDirFormatter;
use Sensiolabs\GotenbergBundle\Gotenberg;
use Sen... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/config/debug.php | config/debug.php | <?php
use Sensiolabs\GotenbergBundle\DataCollector\GotenbergDataCollector;
use Sensiolabs\GotenbergBundle\Debug\Client\TraceableGotenbergClient;
use Sensiolabs\GotenbergBundle\Debug\TraceableGotenbergPdf;
use Sensiolabs\GotenbergBundle\Debug\TraceableGotenbergScreenshot;
use Symfony\Component\DependencyInjection\Loade... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/config/builder_pdf.php | config/builder_pdf.php | <?php
use Sensiolabs\GotenbergBundle\Builder\Pdf\ConvertPdfBuilder;
use Sensiolabs\GotenbergBundle\Builder\Pdf\EmbedPdfBuilder;
use Sensiolabs\GotenbergBundle\Builder\Pdf\EncryptPdfBuilder;
use Sensiolabs\GotenbergBundle\Builder\Pdf\FlattenPdfBuilder;
use Sensiolabs\GotenbergBundle\Builder\Pdf\HtmlPdfBuilder;
use Sens... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
sensiolabs/GotenbergBundle | https://github.com/sensiolabs/GotenbergBundle/blob/8297ed09ced7b708eea173db6e026faf56cbee9c/config/builder.php | config/builder.php | <?php
use Sensiolabs\GotenbergBundle\Builder\AbstractBuilder;
use Sensiolabs\GotenbergBundle\Configurator\BuilderConfigurator;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use function Symfony\Component\DependencyInjection\Loader\Configurator\abstract_arg;
return static functio... | php | MIT | 8297ed09ced7b708eea173db6e026faf56cbee9c | 2026-01-05T02:51:57.514028Z | false |
doublesecretagency/craft-businesslogic | https://github.com/doublesecretagency/craft-businesslogic/blob/baa1e2e23442e53bf8aa124c4e85a80f17f935c3/businesslogic/BusinessLogic.php | businesslogic/BusinessLogic.php | <?php
namespace modules\businesslogic;
use Craft;
use craft\web\twig\variables\CraftVariable;
use modules\businesslogic\services\Example;
use modules\businesslogic\variables\BusinessLogicVariable;
use yii\base\Event;
use yii\base\Module;
/**
* See the docs for more information...
*
* https://doublesecretagency.git... | php | MIT | baa1e2e23442e53bf8aa124c4e85a80f17f935c3 | 2026-01-05T02:52:07.568126Z | false |
doublesecretagency/craft-businesslogic | https://github.com/doublesecretagency/craft-businesslogic/blob/baa1e2e23442e53bf8aa124c4e85a80f17f935c3/businesslogic/services/Example.php | businesslogic/services/Example.php | <?php
namespace modules\businesslogic\services;
use craft\base\Component;
/**
* More info about Services...
*
* https://doublesecretagency.github.io/craft-businesslogic/services
*/
/**
* Business Logic Service
*
* When things get real (or at least really complex), then it's time to start using
* the Service ... | php | MIT | baa1e2e23442e53bf8aa124c4e85a80f17f935c3 | 2026-01-05T02:52:07.568126Z | false |
doublesecretagency/craft-businesslogic | https://github.com/doublesecretagency/craft-businesslogic/blob/baa1e2e23442e53bf8aa124c4e85a80f17f935c3/businesslogic/variables/BusinessLogicVariable.php | businesslogic/variables/BusinessLogicVariable.php | <?php
namespace modules\businesslogic\variables;
/**
* More info about Variables...
*
* https://doublesecretagency.github.io/craft-businesslogic/variables
*/
/**
* Business Logic Variable
*
* Variables are the easy stuff, the "low hanging fruit". This file gives you an easy way to
* spit data out into your Tw... | php | MIT | baa1e2e23442e53bf8aa124c4e85a80f17f935c3 | 2026-01-05T02:52:07.568126Z | false |
doublesecretagency/craft-businesslogic | https://github.com/doublesecretagency/craft-businesslogic/blob/baa1e2e23442e53bf8aa124c4e85a80f17f935c3/businesslogic/controllers/ExampleController.php | businesslogic/controllers/ExampleController.php | <?php
namespace modules\businesslogic\controllers;
use Craft;
use craft\web\Controller;
/**
* More info about Controllers...
*
* https://doublesecretagency.github.io/craft-businesslogic/controllers
*/
/**
* Business Logic Controller
*
* Controller methods get a little more complicated... There are several way... | php | MIT | baa1e2e23442e53bf8aa124c4e85a80f17f935c3 | 2026-01-05T02:52:07.568126Z | false |
doublesecretagency/craft-businesslogic | https://github.com/doublesecretagency/craft-businesslogic/blob/baa1e2e23442e53bf8aa124c4e85a80f17f935c3/businesslogic/console/controllers/ExampleConsoleController.php | businesslogic/console/controllers/ExampleConsoleController.php | <?php
namespace modules\businesslogic\console\controllers;
use Craft;
use craft\console\Controller;
/**
* More info about Controllers...
*
* https://doublesecretagency.github.io/craft-businesslogic/controllers
*/
/**
* Business Logic Console Controller
*
* A console controller function can be run via command ... | php | MIT | baa1e2e23442e53bf8aa124c4e85a80f17f935c3 | 2026-01-05T02:52:07.568126Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/src/Strava/API/Client.php | src/Strava/API/Client.php | <?php
namespace Strava\API;
use Strava\API\Service\ServiceInterface;
use Strava\API\Exception as ClientException;
use Strava\API\Service\Exception as ServiceException;
/**
* Strava API Client
*
* @author Bas van Dorst
* @package StravaPHP
*/
class Client
{
/**
* @var ServiceInterface
*/
protec... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/src/Strava/API/OAuth.php | src/Strava/API/OAuth.php | <?php
namespace Strava\API;
use League\OAuth2\Client\Token\AccessToken as AccessToken;
use League\OAuth2\Client\Tool\BearerAuthorizationTrait as BearerAuthorizationTrait;
use League\OAuth2\Client\Provider\AbstractProvider as AbstractProvider;
use Psr\Http\Message\ResponseInterface;
use RuntimeException;
use stdClass;... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/src/Strava/API/Webhook.php | src/Strava/API/Webhook.php | <?php
namespace Strava\API;
/**
* Strava Webhook Handler
*
* This class provides utilities for handling Strava webhook events,
* including subscription validation and event processing.
*
* @author Jennifer Martinez
* @package StravaPHP
*/
class Webhook
{
/**
* Handle webhook subscription validation c... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/src/Strava/API/Exception.php | src/Strava/API/Exception.php | <?php
namespace Strava\API;
/**
* Catch me please!
*
* @author Bas van Dorst
* @package StravaPHP
*/
class Exception extends \Exception
{
}
| php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/src/Strava/API/Factory.php | src/Strava/API/Factory.php | <?php
namespace Strava\API;
/**
* Factory class
*
* @author Bas van Dorst
* @package StravaPHP
*/
class Factory
{
/**
* Strava V3 endpoint
*/
private static string $endpoint = 'https://www.strava.com/api/v3/';
/**
* Return a new instance of the OAuth Client
*
* @param string... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/src/Strava/API/Service/ServiceInterface.php | src/Strava/API/Service/ServiceInterface.php | <?php
namespace Strava\API\Service;
/**
* Service interface.
* Just to make sure we can trust the method signatures of all the
* service classes.
*
* @author Bas van Dorst
* @package StravaPHP
*/
interface ServiceInterface
{
/**
* @param int|null $id
*/
public function getAthlete(?int $id = n... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/src/Strava/API/Service/Exception.php | src/Strava/API/Service/Exception.php | <?php
namespace Strava\API\Service;
/**
* Catch me please!
*
* @author Bas van Dorst
* @package StravaPHP
*/
class Exception extends \Exception
{
}
| php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/src/Strava/API/Service/REST.php | src/Strava/API/Service/REST.php | <?php
namespace Strava\API\Service;
use GuzzleHttp\Client;
use Psr\Http\Message\ResponseInterface;
use League\OAuth2\Client\Token\AccessTokenInterface;
/**
* Strava REST Service
*
* @author Bas van Dorst
* @package StravaPHP
*/
class REST implements ServiceInterface
{
/**
* REST adapter
*/
pro... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/src/Strava/API/Service/Stub.php | src/Strava/API/Service/Stub.php | <?php
namespace Strava\API\Service;
/**
* Strava stub Service
*
* @author Bas van Dorst
* @package StravaPHP
*/
class Stub implements ServiceInterface
{
public function getAthlete(?int $id = null)
{
$json = '{ "id": 227615, "resource_state": 2, "firstname": "John", "lastname": "Applestrava", "pro... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/tests/Strava/API/ExceptionTest.php | tests/Strava/API/ExceptionTest.php | <?php
use Tests\Support\TestCase;
/**
* Test...
*
* @see Strava\API\Exception
* @author Bas van Dorst
* @package StravaPHP
*/
class ExceptionTest extends TestCase
{
public function testIsException()
{
$this->expectException('Strava\API\Exception');
throw new Strava\API\Exception();
}... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/tests/Strava/API/FactoryTest.php | tests/Strava/API/FactoryTest.php | <?php
use Tests\Support\TestCase;
/**
* Test...
*
* @see Strava\API\Factory
* @author Bas van Dorst
* @package StravaPHP
*/
class FactoryTest extends TestCase
{
public function testGetOAuthInstance()
{
$factory = new Strava\API\Factory();
$client = $factory->getOAuthClient('123', 'TOKEN'... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/tests/Strava/API/ClientTest.php | tests/Strava/API/ClientTest.php | <?php
use Strava\API\Service\Exception as ServiceException;
use Tests\Support\TestCase;
/**
* Test...
*
* @see Strava\API\Client
* @author Bas van Dorst
* @package StravaPHP
*/
class ClientTest extends TestCase
{
private function getServiceMock()
{
$serviceMock = $this->getMockBuilder('Strava\AP... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | true |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/tests/Strava/API/TestCase.php | tests/Strava/API/TestCase.php | <?php
namespace Tests\Support;
use PHPUnit\Framework\TestCase as BaseTestCase;
/**
* @internal
*/
abstract class TestCase extends BaseTestCase
{
}
| php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/tests/Strava/API/WebhookTest.php | tests/Strava/API/WebhookTest.php | <?php
use Strava\API\Webhook;
use Tests\Support\TestCase;
/**
* Test...
*
* @see Strava\API\Webhook
* @author Bas van Dorst
* @package StravaPHP
*/
class WebhookTest extends TestCase
{
public function testHandleSubscriptionChallengeSuccess()
{
// Mock $_SERVER and $_GET
$_SERVER['REQUEST... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/tests/Strava/API/OAuthTest.php | tests/Strava/API/OAuthTest.php | <?php
use Tests\Support\TestCase;
/**
* Test...
*
* @see Strava\API\OAuth
* @author Bas van Dorst
* @package StravaPHP
*/
final class OAuthTest extends TestCase
{
/**
* @var Strava\API\OAuth
*/
private $oauth;
protected function setUp(): void
{
parent::setUp();
$this-... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/tests/Strava/API/Service/ExceptionTest.php | tests/Strava/API/Service/ExceptionTest.php | <?php
use Tests\Support\TestCase;
/**
* Test...
*
* @see Strava\API\Service\Exception
* @author Bas van Dorst
* @package StravaPHP
*/
class ServiceExceptionTest extends TestCase
{
public function testIsException()
{
$this->expectException('Strava\API\Service\Exception');
throw new Strava... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/tests/Strava/API/Service/RESTTest.php | tests/Strava/API/Service/RESTTest.php | <?php
namespace Strava\API\Service {
use GuzzleHttp\Psr7\Response;
use Tests\Support\TestCase;
/**
* Test...
*
* @see Strava\API\Service\REST
* @author Bas van Dorst
* @package StravaPHP
*/
class RESTTest extends TestCase
{
const TOKEN = 'TOKEN';
pri... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | true |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/tests/Strava/API/Service/StubTest.php | tests/Strava/API/Service/StubTest.php | <?php
use Tests\Support\TestCase;
/**
* Test...
*
* @see Strava\API\Service\Stub
* @author Bas van Dorst
* @package StravaPHP
*/
class StubTest extends TestCase
{
public function testGetAthlete()
{
$service = new Strava\API\Service\Stub();
$output = $service->getAthlete(1234);
$t... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/tests/_support/TestCase.php | tests/_support/TestCase.php | <?php
namespace Tests\Support;
use PHPUnit\Framework\TestCase as BaseTestCase;
/**
* @internal
*/
abstract class TestCase extends BaseTestCase
{
}
| php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/examples/webhook-example.php | examples/webhook-example.php | <?php
require_once __DIR__ . '/../vendor/autoload.php';
use Strava\API\Client;
use Strava\API\Service\REST;
use Strava\API\Webhook;
use GuzzleHttp\Client as GuzzleClient;
/**
* Example: Strava Webhook Integration
*
* This example demonstrates how to use the StravaPHP library
* to manage webhook subscriptions an... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
basvandorst/StravaPHP | https://github.com/basvandorst/StravaPHP/blob/6370d993928a4f362f66c20dbd2d79b9b13b87a0/examples/webhook-endpoint.php | examples/webhook-endpoint.php | <?php
require_once __DIR__ . '/../vendor/autoload.php';
use Strava\API\Webhook;
/**
* Complete Strava Webhook Endpoint
*
* This is a complete webhook endpoint that handles both subscription
* verification (GET requests) and event processing (POST requests).
*
* Usage:
* 1. Upload this file to your web serve... | php | MIT | 6370d993928a4f362f66c20dbd2d79b9b13b87a0 | 2026-01-05T02:52:20.945429Z | false |
yaza-putu/laravel-google-drive-storage | https://github.com/yaza-putu/laravel-google-drive-storage/blob/60264aec4c327c79c98748921f76a06575b5213d/src/Gdrive.php | src/Gdrive.php | <?php
namespace Yaza\LaravelGoogleDriveStorage;
use File;
use Illuminate\Support\Facades\Storage;
use Yaza\LaravelGoogleDriveStorage\interfaces\GdriveInterface;
class Gdrive implements GdriveInterface
{
/**
* get file from gdrive
*
* @return mixed
*/
public static function get($file_path)... | php | MIT | 60264aec4c327c79c98748921f76a06575b5213d | 2026-01-05T02:52:30.603573Z | false |
yaza-putu/laravel-google-drive-storage | https://github.com/yaza-putu/laravel-google-drive-storage/blob/60264aec4c327c79c98748921f76a06575b5213d/src/LaravelGoogleDriveStorageServiceProvider.php | src/LaravelGoogleDriveStorageServiceProvider.php | <?php
namespace Yaza\LaravelGoogleDriveStorage;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Storage;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use Yaza\LaravelGoogleDriveStorage\Commands\LaravelGoogleDriveStorageCommand;
class LaravelGoogleD... | php | MIT | 60264aec4c327c79c98748921f76a06575b5213d | 2026-01-05T02:52:30.603573Z | false |
yaza-putu/laravel-google-drive-storage | https://github.com/yaza-putu/laravel-google-drive-storage/blob/60264aec4c327c79c98748921f76a06575b5213d/src/LaravelGoogleDriveStorage.php | src/LaravelGoogleDriveStorage.php | <?php
namespace Yaza\LaravelGoogleDriveStorage;
class LaravelGoogleDriveStorage {}
| php | MIT | 60264aec4c327c79c98748921f76a06575b5213d | 2026-01-05T02:52:30.603573Z | false |
yaza-putu/laravel-google-drive-storage | https://github.com/yaza-putu/laravel-google-drive-storage/blob/60264aec4c327c79c98748921f76a06575b5213d/src/interfaces/GdriveInterface.php | src/interfaces/GdriveInterface.php | <?php
namespace Yaza\LaravelGoogleDriveStorage\interfaces;
interface GdriveInterface
{
/**
* get file
*
* @return mixed
*/
public static function get($file_path);
/**
* read file with stream
*
* @return mixed
*/
public static function readStream($filepath);
... | php | MIT | 60264aec4c327c79c98748921f76a06575b5213d | 2026-01-05T02:52:30.603573Z | false |
yaza-putu/laravel-google-drive-storage | https://github.com/yaza-putu/laravel-google-drive-storage/blob/60264aec4c327c79c98748921f76a06575b5213d/src/Facades/LaravelGoogleDriveStorage.php | src/Facades/LaravelGoogleDriveStorage.php | <?php
namespace Yaza\LaravelGoogleDriveStorage\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @see \Yaza\LaravelGoogleDriveStorage\LaravelGoogleDriveStorage
*/
class LaravelGoogleDriveStorage extends Facade
{
protected static function getFacadeAccessor()
{
return \Yaza\LaravelGoogleDriveStor... | php | MIT | 60264aec4c327c79c98748921f76a06575b5213d | 2026-01-05T02:52:30.603573Z | false |
yaza-putu/laravel-google-drive-storage | https://github.com/yaza-putu/laravel-google-drive-storage/blob/60264aec4c327c79c98748921f76a06575b5213d/src/Commands/LaravelGoogleDriveStorageCommand.php | src/Commands/LaravelGoogleDriveStorageCommand.php | <?php
namespace Yaza\LaravelGoogleDriveStorage\Commands;
use Illuminate\Console\Command;
class LaravelGoogleDriveStorageCommand extends Command
{
public $signature = '
gdrive:config {name : The name of command}
';
public $description = 'Publish Config Gdrive';
public function handle(): int
... | php | MIT | 60264aec4c327c79c98748921f76a06575b5213d | 2026-01-05T02:52:30.603573Z | false |
yaza-putu/laravel-google-drive-storage | https://github.com/yaza-putu/laravel-google-drive-storage/blob/60264aec4c327c79c98748921f76a06575b5213d/tests/Pest.php | tests/Pest.php | <?php
use Yaza\LaravelGoogleDriveStorage\Tests\TestCase;
uses(TestCase::class)->in(__DIR__);
| php | MIT | 60264aec4c327c79c98748921f76a06575b5213d | 2026-01-05T02:52:30.603573Z | false |
yaza-putu/laravel-google-drive-storage | https://github.com/yaza-putu/laravel-google-drive-storage/blob/60264aec4c327c79c98748921f76a06575b5213d/tests/TestCase.php | tests/TestCase.php | <?php
namespace Yaza\LaravelGoogleDriveStorage\Tests;
use Illuminate\Database\Eloquent\Factories\Factory;
use Orchestra\Testbench\TestCase as Orchestra;
use Yaza\LaravelGoogleDriveStorage\LaravelGoogleDriveStorageServiceProvider;
class TestCase extends Orchestra
{
protected function setUp(): void
{
p... | php | MIT | 60264aec4c327c79c98748921f76a06575b5213d | 2026-01-05T02:52:30.603573Z | false |
yaza-putu/laravel-google-drive-storage | https://github.com/yaza-putu/laravel-google-drive-storage/blob/60264aec4c327c79c98748921f76a06575b5213d/tests/ExampleTest.php | tests/ExampleTest.php | <?php
it('can test', function () {
expect(true)->toBeTrue();
});
| php | MIT | 60264aec4c327c79c98748921f76a06575b5213d | 2026-01-05T02:52:30.603573Z | false |
yaza-putu/laravel-google-drive-storage | https://github.com/yaza-putu/laravel-google-drive-storage/blob/60264aec4c327c79c98748921f76a06575b5213d/config/google-drive-storage.php | config/google-drive-storage.php | <?php
return [];
| php | MIT | 60264aec4c327c79c98748921f76a06575b5213d | 2026-01-05T02:52:30.603573Z | false |
yaza-putu/laravel-google-drive-storage | https://github.com/yaza-putu/laravel-google-drive-storage/blob/60264aec4c327c79c98748921f76a06575b5213d/database/factories/ModelFactory.php | database/factories/ModelFactory.php | <?php
namespace Yaza\LaravelGoogleDriveStorage\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/*
class ModelFactory extends Factory
{
protected $model = YourModel::class;
public function definition()
{
return [
];
}
}
*/
| php | MIT | 60264aec4c327c79c98748921f76a06575b5213d | 2026-01-05T02:52:30.603573Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/helpers.php | helpers.php | <?php
declare(strict_types=1);
use Arcanedev\Localization\Contracts\Localization;
if ( ! function_exists('localization')) {
/**
* Get the Localization instance.
*
* @return Arcanedev\Localization\Contracts\Localization
*/
function localization(): Localization
{
return app(Loca... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Localization.php | src/Localization.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization;
use Arcanedev\Localization\Contracts\LocalesManager as LocalesManagerContract;
use Arcanedev\Localization\Contracts\Localization as LocalizationContract;
use Arcanedev\Localization\Contracts\RouteTranslator as RouteTranslatorContract;
use Arcanedev\Loc... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/LocalizationServiceProvider.php | src/LocalizationServiceProvider.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization;
use Arcanedev\Support\Providers\PackageServiceProvider;
/**
* Class LocalizationServiceProvider
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
class LocalizationServiceProvider extends PackageServiceProvider
{
/* ------------------... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Routing/Router.php | src/Routing/Router.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Routing;
use Closure;
/**
* Class Router
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*
* @mixin \Illuminate\Routing\Router
*/
class Router
{
/* -----------------------------------------------------------------
| Route Method... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Exceptions/UndefinedSupportedLocalesException.php | src/Exceptions/UndefinedSupportedLocalesException.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Exceptions;
/**
* Class UndefinedSupportedLocalesException
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
class UndefinedSupportedLocalesException extends LocalizationException
{
/* ---------------------------------------------------... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Exceptions/UnsupportedLocaleException.php | src/Exceptions/UnsupportedLocaleException.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Exceptions;
/**
* Class UnsupportedLocaleException
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
class UnsupportedLocaleException extends LocalizationException {}
| php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Exceptions/LocalizationException.php | src/Exceptions/LocalizationException.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Exceptions;
use Exception;
/**
* Class LocalizationException
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
abstract class LocalizationException extends Exception {}
| php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Exceptions/InvalidTranslationException.php | src/Exceptions/InvalidTranslationException.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Exceptions;
/**
* Class InvalidTranslationException
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
class InvalidTranslationException extends LocalizationException {}
| php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Exceptions/UntranslatableAttributeException.php | src/Exceptions/UntranslatableAttributeException.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Exceptions;
/**
* Class UntranslatableAttributeException
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
class UntranslatableAttributeException extends LocalizationException
{
/* -------------------------------------------------------... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Traits/HasTranslations.php | src/Traits/HasTranslations.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Traits;
use Arcanedev\Localization\Events\TranslationHasBeenSet;
use Arcanedev\Localization\Exceptions\UntranslatableAttributeException;
use Illuminate\Support\Str;
/**
* Trait HasTranslations
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Contracts/Localization.php | src/Contracts/Localization.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Contracts;
use Illuminate\Http\Request;
/**
* Interface Localization
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
interface Localization
{
/* -----------------------------------------------------------------
| Getters & Setter... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Contracts/RouteTranslator.php | src/Contracts/RouteTranslator.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Contracts;
use Arcanedev\Localization\Entities\LocaleCollection;
/**
* Interface RouteTranslator
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
interface RouteTranslator
{
/* -----------------------------------------------------------... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Contracts/LocalesManager.php | src/Contracts/LocalesManager.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Contracts;
/**
* Interface LocalesManager
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
interface LocalesManager
{
/* -----------------------------------------------------------------
| Getters & Setters
| -----------------... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Contracts/Negotiator.php | src/Contracts/Negotiator.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Contracts;
use Arcanedev\Localization\Entities\LocaleCollection;
use Illuminate\Http\Request;
/**
* Interface Negotiator
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
interface Negotiator
{
/* ----------------------------------------... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Contracts/Url.php | src/Contracts/Url.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Contracts;
/**
* Interface Url
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
interface Url
{
/* -----------------------------------------------------------------
| Main Methods
| --------------------------------------------... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Contracts/RouteBindable.php | src/Contracts/RouteBindable.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Contracts;
/**
* Interface RouteBindable
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
interface RouteBindable
{
/* -----------------------------------------------------------------
| Main Methods
| ------------------------... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Entities/SupportedLocaleCollection.php | src/Entities/SupportedLocaleCollection.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Entities;
use Illuminate\Support\Collection;
/**
* Class SupportedLocaleCollection
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
class SupportedLocaleCollection extends Collection
{
/* ----------------------------------------------... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
ARCANEDEV/Localization | https://github.com/ARCANEDEV/Localization/blob/9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de/src/Entities/Locale.php | src/Entities/Locale.php | <?php
declare(strict_types=1);
namespace Arcanedev\Localization\Entities;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Jsonable;
use JsonSerializable;
/**
* Class Locale
*
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
class Locale implements Arrayable, Jsonable, JsonSe... | php | MIT | 9b22fc59f9830a4f13c5e51503cf95cfdb5fe4de | 2026-01-05T02:52:40.544798Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.