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 |
|---|---|---|---|---|---|---|---|---|
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Security/CheckLdapCredentialsListener.php | Security/CheckLdapCredentialsListener.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Security;
use Psr\Container\ContainerInterface;
... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Security/LdapAuthenticator.php | Security/LdapAuthenticator.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Security;
use Symfony\Component\HttpFoundation\R... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
symfony/ldap | https://github.com/symfony/ldap/blob/180c544c90b46fbca1ea7501d0ae2129aaf60530/Security/LdapUserProvider.php | Security/LdapUserProvider.php | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Ldap\Security;
use Symfony\Component\Ldap\Entry;
use ... | php | MIT | 180c544c90b46fbca1ea7501d0ae2129aaf60530 | 2026-01-05T05:06:37.562733Z | false |
Intervention/image-laravel | https://github.com/Intervention/image-laravel/blob/2d55a29c191025f2e6433ad2558fd8e80695e3e2/src/ImageResponseFactory.php | src/ImageResponseFactory.php | <?php
declare(strict_types=1);
namespace Intervention\Image\Laravel;
use Illuminate\Http\Response;
use Intervention\Image\Exceptions\DriverException;
use Intervention\Image\Exceptions\NotSupportedException;
use Intervention\Image\Exceptions\RuntimeException;
use Intervention\Image\FileExtension;
use Intervention\Ima... | php | MIT | 2d55a29c191025f2e6433ad2558fd8e80695e3e2 | 2026-01-05T05:06:52.912739Z | false |
Intervention/image-laravel | https://github.com/Intervention/image-laravel/blob/2d55a29c191025f2e6433ad2558fd8e80695e3e2/src/ServiceProvider.php | src/ServiceProvider.php | <?php
declare(strict_types=1);
namespace Intervention\Image\Laravel;
use Illuminate\Contracts\Routing\ResponseFactory;
use Illuminate\Support\Facades\Response as ResponseFacade;
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
use Intervention\Image\ImageManager;
use Intervention\Image\Image;
use Illum... | php | MIT | 2d55a29c191025f2e6433ad2558fd8e80695e3e2 | 2026-01-05T05:06:52.912739Z | false |
Intervention/image-laravel | https://github.com/Intervention/image-laravel/blob/2d55a29c191025f2e6433ad2558fd8e80695e3e2/src/Facades/Image.php | src/Facades/Image.php | <?php
declare(strict_types=1);
namespace Intervention\Image\Laravel\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @method static \Intervention\Image\Interfaces\ImageInterface read(mixed $input, string|array|\Intervention\Image\Interfaces\DecoderInterface $decoders = [])
* @method static \Intervention\Imag... | php | MIT | 2d55a29c191025f2e6433ad2558fd8e80695e3e2 | 2026-01-05T05:06:52.912739Z | false |
Intervention/image-laravel | https://github.com/Intervention/image-laravel/blob/2d55a29c191025f2e6433ad2558fd8e80695e3e2/tests/FacadeTest.php | tests/FacadeTest.php | <?php
declare(strict_types=1);
namespace Intervention\Image\Laravel\Tests;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Facades\Storage;
use Intervention\Image\Exceptions\DecoderException;
use Intervention\Image\Interfaces\ImageInterface;
use Intervention\Image\Laravel\Facades\Image;
use Orchestra\Testbe... | php | MIT | 2d55a29c191025f2e6433ad2558fd8e80695e3e2 | 2026-01-05T05:06:52.912739Z | false |
Intervention/image-laravel | https://github.com/Intervention/image-laravel/blob/2d55a29c191025f2e6433ad2558fd8e80695e3e2/tests/ImageResponseFactoryTest.php | tests/ImageResponseFactoryTest.php | <?php
declare(strict_types=1);
namespace Intervention\Image\Laravel\Tests;
use finfo;
use Intervention\Image\Exceptions\NotSupportedException;
use Intervention\Image\FileExtension;
use Intervention\Image\Format;
use Intervention\Image\Image;
use Intervention\Image\ImageManager;
use Intervention\Image\Laravel\ImageRe... | php | MIT | 2d55a29c191025f2e6433ad2558fd8e80695e3e2 | 2026-01-05T05:06:52.912739Z | false |
Intervention/image-laravel | https://github.com/Intervention/image-laravel/blob/2d55a29c191025f2e6433ad2558fd8e80695e3e2/config/image.php | config/image.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Image Driver
|--------------------------------------------------------------------------
|
| Intervention Image supports “GD Library” and “Imagick” to process images
| internally. Depending on y... | php | MIT | 2d55a29c191025f2e6433ad2558fd8e80695e3e2 | 2026-01-05T05:06:52.912739Z | false |
coryetzkorn/php-store-hours | https://github.com/coryetzkorn/php-store-hours/blob/4d1ffaeb6485d04470d2871de4e223ff1b9f9479/StoreHours.class.php | StoreHours.class.php | <?php
/**
* ----------------------------------
* PHP STORE HOURS
* ----------------------------------
* Version 3.1
* Written by Cory Etzkorn
* https://github.com/coryetzkorn/php-store-hours
*
* DO NOT MODIFY THIS CLASS FILE
*/
class StoreHours
{
/**
*
* @var array
*/
private $hours;
/**
... | php | MIT | 4d1ffaeb6485d04470d2871de4e223ff1b9f9479 | 2026-01-05T05:06:53.571614Z | false |
coryetzkorn/php-store-hours | https://github.com/coryetzkorn/php-store-hours/blob/4d1ffaeb6485d04470d2871de4e223ff1b9f9479/StoreHours2.class.php | StoreHours2.class.php | <?php
/**
* ----------------------------------
* PHP STORE HOURS
* ----------------------------------
* Version 3.1
* Written by Cory Etzkorn
* https://github.com/coryetzkorn/php-store-hours
*
* DO NOT MODIFY THIS CLASS FILE
*/
class StoreHours
{
/**
*
* @var array
*/
private $hours;
... | php | MIT | 4d1ffaeb6485d04470d2871de4e223ff1b9f9479 | 2026-01-05T05:06:53.571614Z | false |
coryetzkorn/php-store-hours | https://github.com/coryetzkorn/php-store-hours/blob/4d1ffaeb6485d04470d2871de4e223ff1b9f9479/index.php | index.php | <!DOCTYPE html>
<html lang="en" xml:lang="en"><head>
<meta charset="utf-8">
<head>
<title>PHP Store Hours</title>
<style type="text/css">
body {
font-family: 'Helvetica Neue', arial;
text-align: center;
}
table {
font-size: small;
... | php | MIT | 4d1ffaeb6485d04470d2871de4e223ff1b9f9479 | 2026-01-05T05:06:53.571614Z | false |
coryetzkorn/php-store-hours | https://github.com/coryetzkorn/php-store-hours/blob/4d1ffaeb6485d04470d2871de4e223ff1b9f9479/StoreHoursTest.php | StoreHoursTest.php | <?php
/**
*
*/
class StoreHoursTest extends PHPUnit_Framework_TestCase
{
/**
*
*/
protected function setUp()
{
require_once __DIR__ . '/StoreHours.class.php';
date_default_timezone_set('UTC');
}
/**
*
* @return \StoreHours
*/
private function instant... | php | MIT | 4d1ffaeb6485d04470d2871de4e223ff1b9f9479 | 2026-01-05T05:06:53.571614Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/FormatResponse.php | src/FormatResponse.php | <?php
namespace Edbizarro\LaravelFacebookAds;
use FacebookAds\Cursor;
use Illuminate\Support\Collection;
use FacebookAds\Object\AbstractObject;
trait FormatResponse
{
protected function format(Cursor $response)
{
$data = new Collection;
switch (true) {
case $response instanceof C... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Insights.php | src/Insights.php | <?php
namespace Edbizarro\LaravelFacebookAds;
use FacebookAds\Object\Ad;
use FacebookAds\Object\AdSet;
use FacebookAds\Object\Campaign;
use FacebookAds\Object\AdAccount;
use FacebookAds\Object\Values\AdsInsightsLevelValues;
class Insights
{
use FormatResponse;
public function get(
Period $period,
... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/FacebookAds.php | src/FacebookAds.php | <?php
namespace Edbizarro\LaravelFacebookAds;
use Illuminate\Support\Traits\Macroable;
use Edbizarro\LaravelFacebookAds\Entities\Campaigns;
use Edbizarro\LaravelFacebookAds\Entities\AdAccounts;
use Edbizarro\LaravelFacebookAds\Entities\InstagramAccounts;
class FacebookAds extends AbstractFacebookAds
{
use Macroa... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/AbstractFacebookAds.php | src/AbstractFacebookAds.php | <?php
namespace Edbizarro\LaravelFacebookAds;
use FacebookAds\Api;
use Illuminate\Support\Traits\Macroable;
use Edbizarro\LaravelFacebookAds\Contracts\LaravelFacebookAdsContract;
/**
* Class AbstractFacebookAds.
*/
abstract class AbstractFacebookAds implements LaravelFacebookAdsContract
{
use Macroable;
/... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Period.php | src/Period.php | <?php
namespace Edbizarro\LaravelFacebookAds;
use DateTime;
use Carbon\Carbon;
use Edbizarro\LaravelFacebookAds\Exceptions\InvalidPeriod;
class Period
{
/** @var \DateTime */
public $startDate;
/** @var \DateTime */
public $endDate;
public static function create(DateTime $startDate, DateTime $e... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Exceptions/InvalidPeriod.php | src/Exceptions/InvalidPeriod.php | <?php
namespace Edbizarro\LaravelFacebookAds\Exceptions;
use DateTime;
use Exception;
class InvalidPeriod extends Exception
{
public static function startDateCannotBeAfterEndDate(DateTime $startDate, DateTime $endDate)
{
return new static("Start date `{$startDate->format('Y-m-d')}` cannot be after en... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Exceptions/MissingEntityFormatter.php | src/Exceptions/MissingEntityFormatter.php | <?php
namespace Edbizarro\LaravelFacebookAds\Exceptions;
use Exception;
class MissingEntityFormatter extends Exception
{
}
| php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Traits/AdAccountFormatter.php | src/Traits/AdAccountFormatter.php | <?php
namespace Edbizarro\LaravelFacebookAds\Traits;
use Edbizarro\LaravelFacebookAds\Entities\AdAccount;
/**
* Class AdAccountFormatter.
*/
trait AdAccountFormatter
{
use Formatter;
protected $entity = AdAccount::class;
}
| php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Traits/AdFormatter.php | src/Traits/AdFormatter.php | <?php
namespace Edbizarro\LaravelFacebookAds\Traits;
use Edbizarro\LaravelFacebookAds\Entities\Ad;
/**
* Class AdFormatter.
*/
trait AdFormatter
{
use Formatter;
protected $entity = Ad::class;
}
| php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Traits/Formatter.php | src/Traits/Formatter.php | <?php
namespace Edbizarro\LaravelFacebookAds\Traits;
use FacebookAds\Cursor;
use Illuminate\Support\Collection;
use FacebookAds\Object\AbstractObject;
use Edbizarro\LaravelFacebookAds\Exceptions\MissingEntityFormatter;
/**
* Class Formatter.
*/
trait Formatter
{
/**
* ProcessTransform a FacebookAds\Cursor... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Traits/HasAccountUser.php | src/Traits/HasAccountUser.php | <?php
namespace Edbizarro\LaravelFacebookAds\Traits;
use FacebookAds\Object\User;
trait HasAccountUser
{
/**
* @param string|int $accountUserId
*
* @return User
*/
protected function accountUser($accountUserId = 'me'): User
{
return (new User)->setId($accountUserId);
}
}
| php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Contracts/LaravelFacebookAdsContract.php | src/Contracts/LaravelFacebookAdsContract.php | <?php
namespace Edbizarro\LaravelFacebookAds\Contracts;
use Edbizarro\LaravelFacebookAds\FacebookAds;
/**
* Interface LaravelFacebookAdsContract.
*/
interface LaravelFacebookAdsContract
{
/**
* Initialize the Facebook Ads SDK.
*
* @param $accessToken
*
* @return FacebookAds
*/
... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Entities/Campaigns.php | src/Entities/Campaigns.php | <?php
namespace Edbizarro\LaravelFacebookAds\Entities;
use FacebookAds\Object\AdAccount;
use Illuminate\Support\Collection;
use Edbizarro\LaravelFacebookAds\Traits\Formatter;
/**
* Class Campaigns.
*/
class Campaigns
{
use Formatter;
protected $entity = Campaign::class;
/**
* List all campaigns.... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Entities/Campaign.php | src/Entities/Campaign.php | <?php
namespace Edbizarro\LaravelFacebookAds\Entities;
use Edbizarro\LaravelFacebookAds\Traits\Formatter;
class Campaign extends AbstractEntity
{
use Formatter;
}
| php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Entities/InstagramAccount.php | src/Entities/InstagramAccount.php | <?php
namespace Edbizarro\LaravelFacebookAds\Entities;
use Illuminate\Support\Collection;
use Edbizarro\LaravelFacebookAds\Traits\AdFormatter;
/**
* Class AdAccount.
*/
class InstagramAccount extends AbstractEntity
{
use AdFormatter;
/**
* Get the account ads.
*
* @param array $fields
... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Entities/Ad.php | src/Entities/Ad.php | <?php
namespace Edbizarro\LaravelFacebookAds\Entities;
use Edbizarro\LaravelFacebookAds\Traits\AdFormatter;
/**
* Class Ad.
*/
class Ad extends AbstractEntity
{
use AdFormatter;
}
| php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Entities/Insights.php | src/Entities/Insights.php | <?php
namespace Edbizarro\LaravelFacebookAds\Entities;
use FacebookAds\Object\AdAccount;
use Illuminate\Support\Collection;
use Edbizarro\LaravelFacebookAds\Traits\Formatter;
/**
* Class Campaigns.
*/
class Insights
{
use Formatter;
protected $entity = Campaign::class;
/**
* List all campaigns.
... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Entities/AdAccounts.php | src/Entities/AdAccounts.php | <?php
namespace Edbizarro\LaravelFacebookAds\Entities;
use FacebookAds\Object\AdAccount;
use Illuminate\Support\Collection;
use Edbizarro\LaravelFacebookAds\Traits\HasAccountUser;
use Edbizarro\LaravelFacebookAds\Traits\AdAccountFormatter;
/**
* Class AdAccounts.
*/
class AdAccounts
{
use AdAccountFormatter,
... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Entities/AbstractEntity.php | src/Entities/AbstractEntity.php | <?php
namespace Edbizarro\LaravelFacebookAds\Entities;
use FacebookAds\Object\AbstractObject;
use Illuminate\Contracts\Support\Arrayable;
/**
* Class Entity.
*/
abstract class AbstractEntity implements Arrayable
{
/**
* @var AbstractObject|array
*/
protected $response;
public function __cons... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Entities/InstagramAccounts.php | src/Entities/InstagramAccounts.php | <?php
namespace Edbizarro\LaravelFacebookAds\Entities;
use Illuminate\Support\Collection;
use FacebookAds\Object\AdAccount as FbAdAccount;
use Edbizarro\LaravelFacebookAds\Traits\AdAccountFormatter;
/**
* Class AdAccounts.
*/
class InstagramAccounts
{
use AdAccountFormatter;
/**
* List all instagram ... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Entities/AdAccount.php | src/Entities/AdAccount.php | <?php
namespace Edbizarro\LaravelFacebookAds\Entities;
use Illuminate\Support\Collection;
use Edbizarro\LaravelFacebookAds\Traits\AdFormatter;
/**
* Class AdAccount.
*/
class AdAccount extends AbstractEntity
{
use AdFormatter;
/**
* Get the account ads.
*
* @param array $fields
*
... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Facades/FacebookAds.php | src/Facades/FacebookAds.php | <?php
namespace Edbizarro\LaravelFacebookAds\Facades;
use Illuminate\Support\Facades\Facade;
class FacebookAds extends Facade
{
protected static function getFacadeAccessor()
{
return 'facebook-ads';
}
}
| php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/src/Providers/LaravelFacebookServiceProvider.php | src/Providers/LaravelFacebookServiceProvider.php | <?php
namespace Edbizarro\LaravelFacebookAds\Providers;
use Illuminate\Support\Str;
use Illuminate\Support\ServiceProvider;
use Edbizarro\LaravelFacebookAds\FacebookAds;
use Edbizarro\LaravelFacebookAds\Contracts\LaravelFacebookAdsContract;
/**
* Class LaravelFacebookServiceProvider.
*/
class LaravelFacebookServic... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/tests/LaravelFacebookAds/BaseTest.php | tests/LaravelFacebookAds/BaseTest.php | <?php
namespace LaravelFacebookAds\Tests;
use Mockery as m;
use Orchestra\Testbench\TestCase;
use Edbizarro\LaravelFacebookAds\Providers\LaravelFacebookServiceProvider;
/**
* Class BaseTest.
*/
class BaseTest extends TestCase
{
public function tearDown(): void
{
parent::tearDown();
m::close... | php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
edbizarro/laravel-facebook-ads | https://github.com/edbizarro/laravel-facebook-ads/blob/dc29ed4994598c6aa532ac14ce0d6444783b557f/config/facebook-ads.php | config/facebook-ads.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Laravel Facebook Ads config
|--------------------------------------------------------------------------
*/
'app_id' => env('FB_ADS_APP_ID'),
'app_secret' => env('FB_ADS_APP_SECRET'),
];
| php | MIT | dc29ed4994598c6aa532ac14ce0d6444783b557f | 2026-01-05T05:07:06.990899Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/.php-cs-fixer.php | .php-cs-fixer.php | <?php
declare(strict_types=1);
$finder = PhpCsFixer\Finder::create()
->files()
->name('*.php')
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
;
/** @var array $config */
$config = require __DIR__ . '/vendor/chubbyphp/chubbyphp-dev-helper/phpcs.php';
return (new PhpCsFixer\Config)
->setUnsupport... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Application.php | src/Application.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework;
use Chubbyphp\Framework\Emitter\Emitter;
use Chubbyphp\Framework\Emitter\EmitterInterface;
use Chubbyphp\Framework\Middleware\PipeMiddleware;
use Chubbyphp\Framework\RequestHandler\RouteRequestHandler;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/RequestHandler/LazyRequestHandler.php | src/RequestHandler/LazyRequestHandler.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\RequestHandler;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class LazyRequestHandler implements RequestHandlerInterface
{
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/RequestHandler/CallbackRequestHandler.php | src/RequestHandler/CallbackRequestHandler.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\RequestHandler;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class CallbackRequestHandler implements RequestHandlerInterface
{
/**
* @var callable
*/
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/RequestHandler/SlimCallbackRequestHandler.php | src/RequestHandler/SlimCallbackRequestHandler.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\RequestHandler;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class SlimCallbackRequestHandler implements RequestHandl... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/RequestHandler/RouteRequestHandler.php | src/RequestHandler/RouteRequestHandler.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\RequestHandler;
use Chubbyphp\Framework\Middleware\PipeMiddleware;
use Chubbyphp\Framework\Router\Exceptions\MissingRouteAttributeOnRequestException;
use Chubbyphp\Framework\Router\RouteInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Messag... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/RequestHandler/SlimLazyRequestHandler.php | src/RequestHandler/SlimLazyRequestHandler.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\RequestHandler;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class SlimLazyRequ... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/GroupInterface.php | src/Router/GroupInterface.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router;
interface GroupInterface
{
/**
* @return array<RouteInterface>
*/
public function getRoutes(): array;
}
| php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/RoutesByNameInterface.php | src/Router/RoutesByNameInterface.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router;
interface RoutesByNameInterface
{
/**
* @return array<string, RouteInterface>
*/
public function getRoutesByName(): array;
}
| php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/Route.php | src/Router/Route.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class Route implements RouteInterface
{
/**
* @var array<string, string>
*/
private array $attributes = [];
/**
* @param array<... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/RouteInterface.php | src/Router/RouteInterface.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
interface RouteInterface
{
public function getName(): string;
public function getMethod(): string;
public function getPath(): string;
/**
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/RoutesByName.php | src/Router/RoutesByName.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router;
final class RoutesByName implements RoutesByNameInterface
{
/**
* @var array<string, RouteInterface>
*/
private readonly array $routesByName;
/**
* @param array<RouteInterface> $routes
*/
public function __const... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/UrlGeneratorInterface.php | src/Router/UrlGeneratorInterface.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router;
use Chubbyphp\Framework\Router\Exceptions\RouterException;
use Psr\Http\Message\ServerRequestInterface;
interface UrlGeneratorInterface
{
/**
* @param array<string, string> $attributes
* @param array<string, mixed> $queryParams
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/RouteMatcherInterface.php | src/Router/RouteMatcherInterface.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router;
use Chubbyphp\Framework\Router\Exceptions\RouterException;
use Chubbyphp\HttpException\HttpException;
use Psr\Http\Message\ServerRequestInterface;
interface RouteMatcherInterface
{
/**
* @throws HttpException|RouterException
*/
p... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/Group.php | src/Router/Group.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router;
use Psr\Http\Server\MiddlewareInterface;
final class Group implements GroupInterface
{
/**
* @param array<GroupInterface|RouteInterface> $children
* @param array<MiddlewareInterface> $middlewares
* @param array<string,... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/Exceptions/MissingRouteAttributeOnRequestException.php | src/Router/Exceptions/MissingRouteAttributeOnRequestException.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router\Exceptions;
use Chubbyphp\Framework\Middleware\RouteMatcherMiddleware;
final class MissingRouteAttributeOnRequestException extends RouterException
{
private function __construct(string $message, int $code, ?\Throwable $previous = null)
{
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/Exceptions/MissingRouteByNameException.php | src/Router/Exceptions/MissingRouteByNameException.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router\Exceptions;
final class MissingRouteByNameException extends RouterException
{
private function __construct(string $message, int $code, ?\Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
public... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/Exceptions/RouterException.php | src/Router/Exceptions/RouterException.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router\Exceptions;
abstract class RouterException extends \LogicException {}
| php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Router/Exceptions/RouteGenerationException.php | src/Router/Exceptions/RouteGenerationException.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Router\Exceptions;
final class RouteGenerationException extends RouterException
{
private function __construct(string $message, int $code, ?\Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
/**
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Middleware/MiddlewareRequestHandler.php | src/Middleware/MiddlewareRequestHandler.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Middleware;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class MiddlewareRequestHandler implements RequestHandlerInterface
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Middleware/PipeMiddleware.php | src/Middleware/PipeMiddleware.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Middleware;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class PipeMiddleware implements MiddlewareInterface
{
/**
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Middleware/LazyMiddleware.php | src/Middleware/LazyMiddleware.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Middleware;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class LazyMiddleware impleme... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Middleware/SlimLazyMiddleware.php | src/Middleware/SlimLazyMiddleware.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Middleware;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandle... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Middleware/RouteMatcherMiddleware.php | src/Middleware/RouteMatcherMiddleware.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Middleware;
use Chubbyphp\Framework\Router\RouteMatcherInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class RouteM... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Middleware/SlimCallbackMiddleware.php | src/Middleware/SlimCallbackMiddleware.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Middleware;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class SlimCallbackM... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Middleware/CallbackMiddleware.php | src/Middleware/CallbackMiddleware.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Middleware;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class CallbackMiddleware implements MiddlewareInterface
{
/**
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Middleware/ExceptionMiddleware.php | src/Middleware/ExceptionMiddleware.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Middleware;
use Chubbyphp\HttpException\HttpException;
use Chubbyphp\HttpException\HttpExceptionInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Serv... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Emitter/EmitterInterface.php | src/Emitter/EmitterInterface.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Emitter;
use Psr\Http\Message\ResponseInterface;
interface EmitterInterface
{
public function emit(ResponseInterface $response): void;
}
| php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/src/Emitter/Emitter.php | src/Emitter/Emitter.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Emitter;
use Psr\Http\Message\ResponseInterface;
final class Emitter implements EmitterInterface
{
public function emit(ResponseInterface $response): void
{
$statusCode = $response->getStatusCode();
header(
\sprintf(
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Integration/RouteMatcherLessTest.php | tests/Integration/RouteMatcherLessTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Integration;
use Chubbyphp\Framework\Application;
use Chubbyphp\Framework\Middleware\ExceptionMiddleware;
use Chubbyphp\Framework\Router\Exceptions\RouterException;
use Http\Factory\Guzzle\ResponseFactory as GuzzleResponseFactory;
use Http\Factory\Gu... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Integration/DocumentationTest.php | tests/Integration/DocumentationTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Integration;
use PHPUnit\Framework\TestCase;
/**
* @internal
*
* @coversNothing
*/
final class DocumentationTest extends TestCase
{
public function testDocumentation(): void
{
$documentationFiles = $this->getDocumentationFiles(re... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Integration/PipeMiddlewareTest.php | tests/Integration/PipeMiddlewareTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Integration;
use Chubbyphp\Framework\Middleware\CallbackMiddleware;
use Chubbyphp\Framework\Middleware\PipeMiddleware;
use Chubbyphp\Framework\Middleware\SlimCallbackMiddleware;
use Chubbyphp\Framework\RequestHandler\CallbackRequestHandler;
use Chubb... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/ApplicationTest.php | tests/Unit/ApplicationTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit;
use Chubbyphp\Framework\Application;
use Chubbyphp\Framework\Emitter\EmitterInterface;
use Chubbyphp\Framework\Router\RouteInterface;
use Chubbyphp\Mock\MockMethod\WithCallback;
use Chubbyphp\Mock\MockMethod\WithReturn;
use Chubbyphp\Mock\MockO... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/RequestHandler/LazyRequestHandlerTest.php | tests/Unit/RequestHandler/LazyRequestHandlerTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\RequestHandler;
use Chubbyphp\Framework\RequestHandler\LazyRequestHandler;
use Chubbyphp\Mock\MockMethod\WithReturn;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface;
use Psr\Http\Message... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/RequestHandler/CallbackRequestHandlerTest.php | tests/Unit/RequestHandler/CallbackRequestHandlerTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\RequestHandler;
use Chubbyphp\Framework\RequestHandler\CallbackRequestHandler;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\TestCase;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
/**
* @co... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/RequestHandler/SlimCallbackRequestHandlerTest.php | tests/Unit/RequestHandler/SlimCallbackRequestHandlerTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\RequestHandler;
use Chubbyphp\Framework\RequestHandler\SlimCallbackRequestHandler;
use Chubbyphp\Mock\MockMethod\WithReturn;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\TestCase;
use Psr\Http\Message\ResponseFactoryInterface;
use... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/RequestHandler/SlimLazyRequestHandlerTest.php | tests/Unit/RequestHandler/SlimLazyRequestHandlerTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\RequestHandler;
use Chubbyphp\Framework\RequestHandler\SlimLazyRequestHandler;
use Chubbyphp\Mock\MockMethod\WithReturn;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface;
use Psr\Http\Mes... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/RequestHandler/RouteRequestHandlerTest.php | tests/Unit/RequestHandler/RouteRequestHandlerTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\RequestHandler;
use Chubbyphp\Framework\RequestHandler\RouteRequestHandler;
use Chubbyphp\Framework\Router\Exceptions\MissingRouteAttributeOnRequestException;
use Chubbyphp\Framework\Router\RouteInterface;
use Chubbyphp\Mock\MockMethod\WithCallb... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Router/RouteTest.php | tests/Unit/Router/RouteTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Router;
use Chubbyphp\Framework\Router\Route;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\TestCase;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
/**
* @covers \Chubbyphp\Framework\Router... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Router/RoutesByNameTest.php | tests/Unit/Router/RoutesByNameTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Router;
use Chubbyphp\Framework\Router\RouteInterface;
use Chubbyphp\Framework\Router\RoutesByName;
use Chubbyphp\Mock\MockMethod\WithReturn;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\TestCase;
/**
* @covers \Chubbyphp\Framew... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Router/GroupTest.php | tests/Unit/Router/GroupTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Router;
use Chubbyphp\Framework\Router\Group;
use Chubbyphp\Framework\Router\Route;
use Chubbyphp\Framework\Router\RouteInterface;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Router/Exceptions/MissingRouteAttributeOnRequestExceptionTest.php | tests/Unit/Router/Exceptions/MissingRouteAttributeOnRequestExceptionTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Router\Exceptions;
use Chubbyphp\Framework\Router\Exceptions\MissingRouteAttributeOnRequestException;
use PHPUnit\Framework\TestCase;
/**
* @covers \Chubbyphp\Framework\Router\Exceptions\MissingRouteAttributeOnRequestException
*
* @internal
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Router/Exceptions/MissingRouteByNameExceptionTest.php | tests/Unit/Router/Exceptions/MissingRouteByNameExceptionTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Router\Exceptions;
use Chubbyphp\Framework\Router\Exceptions\MissingRouteByNameException;
use PHPUnit\Framework\TestCase;
/**
* @covers \Chubbyphp\Framework\Router\Exceptions\MissingRouteByNameException
*
* @internal
*/
final class MissingR... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Router/Exceptions/RouteGenerationExceptionTest.php | tests/Unit/Router/Exceptions/RouteGenerationExceptionTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Router\Exceptions;
use Chubbyphp\Framework\Router\Exceptions\RouteGenerationException;
use PHPUnit\Framework\TestCase;
/**
* @covers \Chubbyphp\Framework\Router\Exceptions\RouteGenerationException
*
* @internal
*/
final class RouteGeneratio... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Middleware/ExceptionMiddlewareTest.php | tests/Unit/Middleware/ExceptionMiddlewareTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Middleware;
use Chubbyphp\Framework\Middleware\ExceptionMiddleware;
use Chubbyphp\HttpException\HttpException;
use Chubbyphp\Mock\MockMethod\WithCallback;
use Chubbyphp\Mock\MockMethod\WithException;
use Chubbyphp\Mock\MockMethod\WithReturn;
use... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Middleware/MiddlewareRequestHandlerTest.php | tests/Unit/Middleware/MiddlewareRequestHandlerTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Middleware;
use Chubbyphp\Framework\Middleware\MiddlewareRequestHandler;
use Chubbyphp\Mock\MockMethod\WithCallback;
use Chubbyphp\Mock\MockMethod\WithReturn;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\TestCase;
use Psr\Http\Mes... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Middleware/RouteMatcherMiddlewareTest.php | tests/Unit/Middleware/RouteMatcherMiddlewareTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Middleware;
use Chubbyphp\Framework\Middleware\RouteMatcherMiddleware;
use Chubbyphp\Framework\Router\RouteInterface;
use Chubbyphp\Framework\Router\RouteMatcherInterface;
use Chubbyphp\HttpException\HttpException;
use Chubbyphp\Mock\MockMethod\... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Middleware/LazyMiddlewareTest.php | tests/Unit/Middleware/LazyMiddlewareTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Middleware;
use Chubbyphp\Framework\Middleware\LazyMiddleware;
use Chubbyphp\Mock\MockMethod\WithReturn;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseInt... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Middleware/SlimLazyMiddlewareTest.php | tests/Unit/Middleware/SlimLazyMiddlewareTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Middleware;
use Chubbyphp\Framework\Middleware\SlimLazyMiddleware;
use Chubbyphp\Mock\MockMethod\WithReturn;
use Chubbyphp\Mock\MockMethod\WithReturnSelf;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\TestCase;
use Psr\Container\Co... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Middleware/SlimCallbackMiddlewareTest.php | tests/Unit/Middleware/SlimCallbackMiddlewareTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Middleware;
use Chubbyphp\Framework\Middleware\SlimCallbackMiddleware;
use Chubbyphp\Mock\MockMethod\WithReturn;
use Chubbyphp\Mock\MockMethod\WithReturnSelf;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\TestCase;
use Psr\Http\Mes... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Middleware/PipeMiddlewareTest.php | tests/Unit/Middleware/PipeMiddlewareTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Middleware;
use Chubbyphp\Framework\Middleware\PipeMiddleware;
use Chubbyphp\Mock\MockMethod\WithCallback;
use Chubbyphp\Mock\MockMethod\WithReturn;
use Chubbyphp\Mock\MockMethod\WithReturnSelf;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Middleware/CallbackMiddlewareTest.php | tests/Unit/Middleware/CallbackMiddlewareTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Tests\Framework\Unit\Middleware;
use Chubbyphp\Framework\Middleware\CallbackMiddleware;
use Chubbyphp\Mock\MockMethod\WithReturn;
use Chubbyphp\Mock\MockObjectBuilder;
use PHPUnit\Framework\TestCase;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\Serve... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
chubbyphp/chubbyphp-framework | https://github.com/chubbyphp/chubbyphp-framework/blob/46a3537f5c7cdecb3adedb50cabe2ed277b54954/tests/Unit/Emitter/EmitterTest.php | tests/Unit/Emitter/EmitterTest.php | <?php
declare(strict_types=1);
namespace Chubbyphp\Framework\Emitter
{
final class TestHeader
{
private static array $headers = [];
public static function add(string $header, bool $replace = true, ?int $http_response_code = null): void
{
self::$headers[] = [
... | php | MIT | 46a3537f5c7cdecb3adedb50cabe2ed277b54954 | 2026-01-05T05:07:21.808454Z | false |
nubs/random-name-generator | https://github.com/nubs/random-name-generator/blob/50abf24519badc5795a43c831f1d2a1faa45cb77/build.php | build.php | #!/usr/bin/env php
<?php
require 'vendor/autoload.php';
$phpcsCLI = new PHP_CodeSniffer_CLI();
$phpcsViolations = $phpcsCLI->process(['standard' => ['PSR1'], 'files' => ['src', 'tests', 'build.php']]);
if ($phpcsViolations > 0) {
exit(1);
}
$phpunitConfiguration = PHPUnit_Util_Configuration::getInstance(__DIR__ .... | php | MIT | 50abf24519badc5795a43c831f1d2a1faa45cb77 | 2026-01-05T05:07:30.227583Z | false |
nubs/random-name-generator | https://github.com/nubs/random-name-generator/blob/50abf24519badc5795a43c831f1d2a1faa45cb77/src/AbstractGenerator.php | src/AbstractGenerator.php | <?php
namespace Nubs\RandomNameGenerator;
abstract class AbstractGenerator implements Generator
{
/**
* Alias for getName so that the generator can be directly stringified.
*
* Note that this will return a different name everytime it is cast to a
* string.
*
* @api
* @return stri... | php | MIT | 50abf24519badc5795a43c831f1d2a1faa45cb77 | 2026-01-05T05:07:30.227583Z | false |
nubs/random-name-generator | https://github.com/nubs/random-name-generator/blob/50abf24519badc5795a43c831f1d2a1faa45cb77/src/Alliteration.php | src/Alliteration.php | <?php
namespace Nubs\RandomNameGenerator;
use Cinam\Randomizer\Randomizer;
/**
* Defines an alliterative name generator.
*/
class Alliteration extends AbstractGenerator implements Generator
{
/** @type array The definition of the potential adjectives. */
protected $_adjectives;
/** @type array The defi... | php | MIT | 50abf24519badc5795a43c831f1d2a1faa45cb77 | 2026-01-05T05:07:30.227583Z | false |
nubs/random-name-generator | https://github.com/nubs/random-name-generator/blob/50abf24519badc5795a43c831f1d2a1faa45cb77/src/Vgng.php | src/Vgng.php | <?php
namespace Nubs\RandomNameGenerator;
use Cinam\Randomizer\Randomizer;
/**
* Defines a video game name generator based off of
* https://github.com/nullpuppy/vgng which in turn is based off of
* http://videogamena.me/vgng.js.
*/
class Vgng extends AbstractGenerator implements Generator
{
/** @type array Th... | php | MIT | 50abf24519badc5795a43c831f1d2a1faa45cb77 | 2026-01-05T05:07:30.227583Z | false |
nubs/random-name-generator | https://github.com/nubs/random-name-generator/blob/50abf24519badc5795a43c831f1d2a1faa45cb77/src/All.php | src/All.php | <?php
namespace Nubs\RandomNameGenerator;
use Cinam\Randomizer\Randomizer;
/**
* A generator that uses all of the other generators randomly.
*/
class All extends AbstractGenerator implements Generator
{
/** @type array The other generators to use. */
protected $_generators;
/** @type Cinam\Randomizer\R... | php | MIT | 50abf24519badc5795a43c831f1d2a1faa45cb77 | 2026-01-05T05:07:30.227583Z | false |
nubs/random-name-generator | https://github.com/nubs/random-name-generator/blob/50abf24519badc5795a43c831f1d2a1faa45cb77/src/Generator.php | src/Generator.php | <?php
namespace Nubs\RandomNameGenerator;
/**
* Defines the standard interface for all the random name generators.
*/
interface Generator
{
/**
* Gets a randomly generated name.
*
* @api
* @return string A random name.
*/
public function getName();
}
| php | MIT | 50abf24519badc5795a43c831f1d2a1faa45cb77 | 2026-01-05T05:07:30.227583Z | false |
nubs/random-name-generator | https://github.com/nubs/random-name-generator/blob/50abf24519badc5795a43c831f1d2a1faa45cb77/tests/VgngTest.php | tests/VgngTest.php | <?php
namespace Nubs\RandomNameGenerator;
use PHPUnit\Framework\TestCase;
use Cinam\Randomizer\Randomizer;
/**
* @coversDefaultClass \Nubs\RandomNameGenerator\Vgng
* @covers ::<protected>
*/
class VgngTest extends TestCase
{
/**
* Verify that getName returns the expected name.
*
* @test
* @... | php | MIT | 50abf24519badc5795a43c831f1d2a1faa45cb77 | 2026-01-05T05:07:30.227583Z | false |
nubs/random-name-generator | https://github.com/nubs/random-name-generator/blob/50abf24519badc5795a43c831f1d2a1faa45cb77/tests/AllTest.php | tests/AllTest.php | <?php
namespace Nubs\RandomNameGenerator;
use PHPUnit\Framework\TestCase;
use Cinam\Randomizer\Randomizer;
/**
* @coversDefaultClass \Nubs\RandomNameGenerator\All
* @covers ::<protected>
*/
class AllTest extends TestCase
{
/**
* Verify basic behavior of getName().
*
* @test
* @covers ::__co... | php | MIT | 50abf24519badc5795a43c831f1d2a1faa45cb77 | 2026-01-05T05:07:30.227583Z | false |
nubs/random-name-generator | https://github.com/nubs/random-name-generator/blob/50abf24519badc5795a43c831f1d2a1faa45cb77/tests/AlliterationTest.php | tests/AlliterationTest.php | <?php
namespace Nubs\RandomNameGenerator;
use PHPUnit\Framework\TestCase;
use Cinam\Randomizer\Randomizer;
use Cinam\Randomizer\NumberGenerator;
/**
* @coversDefaultClass \Nubs\RandomNameGenerator\Alliteration
* @covers ::<protected>
*/
class AlliterationTest extends TestCase
{
/**
* Verify basic behavior... | php | MIT | 50abf24519badc5795a43c831f1d2a1faa45cb77 | 2026-01-05T05:07:30.227583Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.