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
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Exceptions/BadGatewayException.php
src/Telegram/Exceptions/BadGatewayException.php
<?php namespace skrtdev\Telegram; class BadGatewayException extends Exception {} ?>
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Exceptions/TooManyRequestsException.php
src/Telegram/Exceptions/TooManyRequestsException.php
<?php namespace skrtdev\Telegram; class TooManyRequestsException extends Exception {} ?>
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Exceptions/Exception.php
src/Telegram/Exceptions/Exception.php
<?php namespace skrtdev\Telegram; use Throwable; class Exception extends \Exception{ public ?ResponseParameters $response_parameters = null; // read-only public function __construct(string $method, array $response, array $data, Throwable $previous = null) { $this->method = $method; $this->...
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/src/Telegram/Exceptions/BadRequestException.php
src/Telegram/Exceptions/BadRequestException.php
<?php namespace skrtdev\Telegram; class BadRequestException extends Exception {} ?>
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/tests/TelegramHandler.php
tests/TelegramHandler.php
<?php declare(strict_types=1); namespace Monolog\Handler; use Monolog\Formatter\LineFormatter; use Monolog\Formatter\FormatterInterface; use Monolog\Logger; use skrtdev\NovaGram\Bot; /** * Send to a Telegram Chat * * @author Gaetano Sutera <gaetanosutera@yahoo.it> */ class TelegramHandler extends AbstractProcess...
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/tests/filters.php
tests/filters.php
<?php require __DIR__ . '/../vendor/autoload.php'; require 'TelegramHandler.php'; use skrtdev\NovaGram\Bot; use skrtdev\NovaGram\BaseHandler; use skrtdev\Telegram\{Update, Message, CallbackQuery}; use skrtdev\NovaGram\Exception as NovaGramException; use skrtdev\Telegram\Exception as TelegramException; use Monolog\Log...
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/tests/test_flood.php
tests/test_flood.php
<?php require __DIR__ . '/../vendor/autoload.php'; use skrtdev\NovaGram\Bot; use skrtdev\Telegram\TooManyRequestsException; use skrtdev\async\Pool; $Bot = new Bot(readline("Insert Bot token: ")); $pool = new Pool(300); $chat_id = readline("Insert your chat_id: "); for ($i=0; $i < 300; $i++) { $pool->parallel...
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/examples/error_handlers.php
examples/error_handlers.php
<?php if (file_exists('vendor')) { require 'vendor/autoload.php'; } else{ if (!file_exists('novagram.phar')) { copy('https://novagram.ga/phar', 'novagram.phar'); } require_once 'novagram.phar'; } use skrtdev\NovaGram\Bot; use skrtdev\Telegram\Message; use skrtdev\NovaGram\Exception as NovaGram...
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/examples/encoder_bot.php
examples/encoder_bot.php
<?php if (file_exists('vendor')) { require 'vendor/autoload.php'; } else{ if (!file_exists('novagram.phar')) { copy('https://novagram.ga/phar', 'novagram.phar'); } require_once 'novagram.phar'; } use skrtdev\NovaGram\Bot; use skrtdev\Telegram\{Message, CallbackQuery}; $Bot = new Bot('YOUR_TOKE...
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/examples/ping.php
examples/ping.php
<?php if (file_exists('vendor')) { require 'vendor/autoload.php'; } else{ if (!file_exists('novagram.phar')) { copy('https://novagram.ga/phar', 'novagram.phar'); } require_once 'novagram.phar'; } use skrtdev\NovaGram\Bot; use skrtdev\Telegram\Message; $Bot = new Bot('YOUR_TOKEN', [ 'debu...
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/examples/userbot.php
examples/userbot.php
<?php if (file_exists('vendor')) { require 'vendor/autoload.php'; } else{ if (!file_exists('novagram.phar')) { copy('https://novagram.ga/phar', 'novagram.phar'); } require_once 'novagram.phar'; } use skrtdev\NovaGram\UserBot; use skrtdev\Telegram\Message; $Bot = new UserBot('userbot'); $Bot->...
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
skrtdev/NovaGram
https://github.com/skrtdev/NovaGram/blob/99463333a370a0b7f9905be43d65d41a73efe59c/examples/echo_bot.php
examples/echo_bot.php
<?php if (file_exists('vendor')) { require 'vendor/autoload.php'; } else{ if (!file_exists('novagram.phar')) { copy('https://novagram.ga/phar', 'novagram.phar'); } require_once 'novagram.phar'; } use skrtdev\NovaGram\Bot; use skrtdev\Telegram\Message; $Bot = new Bot('YOUR_TOKEN', [ 'debug'...
php
MIT
99463333a370a0b7f9905be43d65d41a73efe59c
2026-01-05T02:54:53.770212Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/lang/en/otp.php
lang/en/otp.php
<?php return [ 'request_new' => 'Your verification attempts have exceeded the limit. Please request a new OTP to continue.', 'throttle' => 'Too many OTP attempts. Please try again in :seconds seconds.', ];
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/lang/fa/otp.php
lang/fa/otp.php
<?php return [ 'request_new' => 'شما بیش از حد مجاز تلاش کرده اید. لطفا برای ادامه یک کد جدید درخواست کنید.', 'throttle' => 'درخواست بیش از حد مجاز! لطفا بعد از :seconds ثانیه دوباره امتحان کنید', ];
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/src/OtpManager.php
src/OtpManager.php
<?php declare(strict_types=1); namespace Salehhashemi\OtpManager; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Str; use Illuminate\Validation\ValidationException; use Salehhashemi\ConfigurableCache\ConfigurableCache; use Salehhashemi\OtpManager\Contracts\MobileValidator...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/src/OtpManagerServiceProvider.php
src/OtpManagerServiceProvider.php
<?php namespace Salehhashemi\OtpManager; use Illuminate\Support\ServiceProvider; class OtpManagerServiceProvider extends ServiceProvider { /** * Perform post-registration booting of services. */ public function boot(): void { $this->loadTranslationsFrom(__DIR__.'/../lang', 'otp-manager'...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/src/Facade/OtpManager.php
src/Facade/OtpManager.php
<?php namespace Salehhashemi\OtpManager\Facade; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Facade; use Salehhashemi\OtpManager\Contracts\OtpTypeInterface; use Salehhashemi\OtpManager\Dto\OtpDto; use Salehhashemi\OtpManager\Dto\SentOtpDto; /** * @method static SentOtpDto send(string $mobile, OtpTy...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/src/Dto/OtpDto.php
src/Dto/OtpDto.php
<?php declare(strict_types=1); namespace Salehhashemi\OtpManager\Dto; class OtpDto { public int $code; public string $trackingCode; public function __construct(int $code, string $trackingCode) { $this->code = $code; $this->trackingCode = $trackingCode; } /** * @return ...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/src/Dto/SentOtpDto.php
src/Dto/SentOtpDto.php
<?php declare(strict_types=1); namespace Salehhashemi\OtpManager\Dto; class SentOtpDto { public int $code; public string $trackingCode; private int $waitingTime; public function __construct(int $code, int $waitingTime, string $trackingCode) { $this->code = $code; $this->waiting...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/src/Contracts/OtpTypeInterface.php
src/Contracts/OtpTypeInterface.php
<?php declare(strict_types=1); namespace Salehhashemi\OtpManager\Contracts; interface OtpTypeInterface { /** * This method should return a unique identifier for the OTP type. */ public function identifier(): string; }
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/src/Contracts/MobileValidatorInterface.php
src/Contracts/MobileValidatorInterface.php
<?php namespace Salehhashemi\OtpManager\Contracts; interface MobileValidatorInterface { /** * Validates the provided mobile number. * * @param string $mobile The mobile number to validate. * * @throws \InvalidArgumentException If the mobile number is empty. */ public function ...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/src/Middleware/OtpRateLimiter.php
src/Middleware/OtpRateLimiter.php
<?php namespace Salehhashemi\OtpManager\Middleware; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\RateLimiter; use Illuminate\Support\Str; use Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException; class OtpRateLimiter { public function handle(Request $request, Closure $n...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/src/Validators/DefaultMobileValidator.php
src/Validators/DefaultMobileValidator.php
<?php namespace Salehhashemi\OtpManager\Validators; use Salehhashemi\OtpManager\Contracts\MobileValidatorInterface; class DefaultMobileValidator implements MobileValidatorInterface { /** * {@inheritdoc} */ public function validate(string $mobile): void { if (empty($mobile)) { ...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/src/Events/OtpPrepared.php
src/Events/OtpPrepared.php
<?php namespace Salehhashemi\OtpManager\Events; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; use Salehhashemi\OtpManager\Contracts\OtpTypeInterface; class OtpPrepared { use Dispatchable, InteractsWithSockets, SerializesMod...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/tests/OtpDtoTest.php
tests/OtpDtoTest.php
<?php namespace Salehhashemi\OtpManager\Tests; use Salehhashemi\OtpManager\Dto\OtpDto; class OtpDtoTest extends TestCase { public function test_constructor_initializes_properties_correctly(): void { $code = 123456; $trackingCode = '550e8400-e29b-41d4-a716-446655440000'; $otpDto = new...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/tests/TestCase.php
tests/TestCase.php
<?php namespace Salehhashemi\OtpManager\Tests; use Orchestra\Testbench\TestCase as BaseTestCase; use Salehhashemi\OtpManager\OtpManagerServiceProvider; class TestCase extends BaseTestCase { /** * {@inheritdoc} */ protected function getPackageProviders($app): array { return [OtpManagerSe...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/tests/SentOtpDtoTest.php
tests/SentOtpDtoTest.php
<?php namespace Salehhashemi\OtpManager\Tests; use Salehhashemi\OtpManager\Dto\SentOtpDto; class SentOtpDtoTest extends TestCase { public function test_constructor_initializes_properties_correctly(): void { $code = 123456; $waitingTime = 60; $trackingCode = '550e8400-e29b-41d4-a716-44...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/tests/FacadeOtpManagerTest.php
tests/FacadeOtpManagerTest.php
<?php namespace Salehhashemi\OtpManager\Tests; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Event; use Illuminate\Validation\ValidationException; use Salehhashemi\ConfigurableCache\ConfigurableCacheServiceProvider; use Salehhashemi\OtpManager\Events\OtpPrepared; use Salehhashemi\OtpManager\Facade\Otp...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/tests/OtpManagerTest.php
tests/OtpManagerTest.php
<?php namespace Salehhashemi\OtpManager\Tests; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Event; use Illuminate\Validation\ValidationException; use Salehhashemi\ConfigurableCache\ConfigurableCacheServiceProvider; use Salehhashemi\OtpManager\Events\OtpPrepared; use Salehhashemi\OtpManager\OtpManager...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/tests/OtpRateLimiterTest.php
tests/OtpRateLimiterTest.php
<?php namespace Salehhashemi\OtpManager\Tests; use Illuminate\Http\Request; use Salehhashemi\ConfigurableCache\ConfigurableCacheServiceProvider; use Salehhashemi\OtpManager\Middleware\OtpRateLimiter; use Salehhashemi\OtpManager\OtpManagerServiceProvider; use Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpE...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/tests/Enums/MyOtpEnum.php
tests/Enums/MyOtpEnum.php
<?php declare(strict_types=1); namespace Salehhashemi\OtpManager\Tests\Enums; use Salehhashemi\OtpManager\Contracts\OtpTypeInterface; enum MyOtpEnum: string implements OtpTypeInterface { case SIGNUP = 'signup'; case RESET_PASSWORD = 'reset_password'; public function identifier(): string { r...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
salehhashemi1992/laravel-otp-manager
https://github.com/salehhashemi1992/laravel-otp-manager/blob/e631617a787a97b08dfb1329b93eb6692808bdf8/config/otp.php
config/otp.php
<?php use Salehhashemi\OtpManager\Validators\DefaultMobileValidator; return [ /* |-------------------------------------------------------------------------- | OTP Waiting Time |-------------------------------------------------------------------------- | | This option defines the number of sec...
php
MIT
e631617a787a97b08dfb1329b93eb6692808bdf8
2026-01-05T02:55:08.629231Z
false
Askedio/laravel-ratchet
https://github.com/Askedio/laravel-ratchet/blob/1734e3d9b0d386438021b6e87bb2e4405962c47b/src/RatchetWsServer.php
src/RatchetWsServer.php
<?php namespace Askedio\LaravelRatchet; use Illuminate\Support\Str; use Ratchet\ConnectionInterface; use Ratchet\MessageComponentInterface; use GrahamCampbell\Throttle\Facades\Throttle; abstract class RatchetWsServer implements MessageComponentInterface { /** * Clients. * * @var [type] */ ...
php
MIT
1734e3d9b0d386438021b6e87bb2e4405962c47b
2026-01-05T02:55:28.848099Z
false
Askedio/laravel-ratchet
https://github.com/Askedio/laravel-ratchet/blob/1734e3d9b0d386438021b6e87bb2e4405962c47b/src/RatchetWampServer.php
src/RatchetWampServer.php
<?php namespace Askedio\LaravelRatchet; use Ratchet\ConnectionInterface; use Ratchet\Wamp\WampServerInterface; abstract class RatchetWampServer implements WampServerInterface { public $subscribedTopics = []; protected $console = false; public function __construct($console) { $this->console ...
php
MIT
1734e3d9b0d386438021b6e87bb2e4405962c47b
2026-01-05T02:55:28.848099Z
false
Askedio/laravel-ratchet
https://github.com/Askedio/laravel-ratchet/blob/1734e3d9b0d386438021b6e87bb2e4405962c47b/src/lang/en/messages.php
src/lang/en/messages.php
<?php return [ /* |-------------------------------------------------------------------------- | Laravel Ratchet Translation |-------------------------------------------------------------------------- | | Here you can define the default translation for Laravel Ratchet. | */ 'tooMan...
php
MIT
1734e3d9b0d386438021b6e87bb2e4405962c47b
2026-01-05T02:55:28.848099Z
false
Askedio/laravel-ratchet
https://github.com/Askedio/laravel-ratchet/blob/1734e3d9b0d386438021b6e87bb2e4405962c47b/src/Console/Commands/RatchetServerCommand.php
src/Console/Commands/RatchetServerCommand.php
<?php namespace Askedio\LaravelRatchet\Console\Commands; use Ratchet\Http\HttpServer; use Ratchet\Wamp\WampServer; use Ratchet\Server\IoServer; use Ratchet\Server\IpBlackList; use Ratchet\WebSocket\WsServer; use Illuminate\Console\Command; use React\EventLoop\LoopInterface; use React\ZMQ\Context as ZMQContext; use Ra...
php
MIT
1734e3d9b0d386438021b6e87bb2e4405962c47b
2026-01-05T02:55:28.848099Z
false
Askedio/laravel-ratchet
https://github.com/Askedio/laravel-ratchet/blob/1734e3d9b0d386438021b6e87bb2e4405962c47b/src/Examples/Pusher.php
src/Examples/Pusher.php
<?php namespace Askedio\LaravelRatchet\Examples; use Askedio\LaravelRatchet\RatchetWsServer; /** * Echo Server Example. */ class Pusher extends RatchetWsServer { public function onEntry($entry) { $this->sendAll($entry[1]); } }
php
MIT
1734e3d9b0d386438021b6e87bb2e4405962c47b
2026-01-05T02:55:28.848099Z
false
Askedio/laravel-ratchet
https://github.com/Askedio/laravel-ratchet/blob/1734e3d9b0d386438021b6e87bb2e4405962c47b/src/config/ratchet.php
src/config/ratchet.php
<?php return [ /* |-------------------------------------------------------------------------- | Laravel Ratchet Configuration |-------------------------------------------------------------------------- | | Here you can define the default settings for Laravel Ratchet. | */ 'class' ...
php
MIT
1734e3d9b0d386438021b6e87bb2e4405962c47b
2026-01-05T02:55:28.848099Z
false
Askedio/laravel-ratchet
https://github.com/Askedio/laravel-ratchet/blob/1734e3d9b0d386438021b6e87bb2e4405962c47b/src/Providers/LaravelRatchetServiceProvider.php
src/Providers/LaravelRatchetServiceProvider.php
<?php namespace Askedio\LaravelRatchet\Providers; use Illuminate\Support\ServiceProvider; use GrahamCampbell\Throttle\ThrottleServiceProvider; use Askedio\LaravelRatchet\Console\Commands\RatchetServerCommand; class LaravelRatchetServiceProvider extends ServiceProvider { /** * Register the service provider. ...
php
MIT
1734e3d9b0d386438021b6e87bb2e4405962c47b
2026-01-05T02:55:28.848099Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/public/index.php
public/index.php
<?php /** * This makes our life easier when dealing with paths. Everything is relative * to the application root now. */ chdir(dirname(__DIR__)); require_once 'vendor/autoload.php'; $appConfig = include 'config/application.config.php'; if (file_exists('config/development.config.php')) { $appConfig = Zend\Stdlib\...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/config/application.config.php
config/application.config.php
<?php return [ 'modules' => [ 'DoctrineModule', 'DoctrineORMModule', 'ZF\DevelopmentMode', 'ZfcBase', 'ZfcUser', 'ScnSocialAuth', 'EdpGithub', 'Application', 'User', 'ZfModule', ], 'module_listener_options' => [ 'config...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/config/autoload/global.php
config/autoload/global.php
<?php use User\Entity; use Zend\Db; use Zend\Session; return [ 'db' => [ 'driver' => 'pdo', 'dsn' => 'mysql:dbname=modules;host=localhost', 'username' => 'modules', 'password' => 'modules', ], 'doctrine' => [ 'connection' => [ 'orm_default' =>...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Module.php
module/Application/src/Application/Module.php
<?php namespace Application; use Zend\Mvc\ModuleRouteListener; use Zend\Mvc\MvcEvent; class Module { public function onBootstrap($e) { $eventManager = $e->getApplication()->getEventManager(); $moduleRouteListener = new ModuleRouteListener(); $moduleRouteListener->attach($eventM...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Doctrine/DBAL/Migration/Version20150926125836.php
module/Application/src/Application/Doctrine/DBAL/Migration/Version20150926125836.php
<?php namespace Application\Doctrine\DBAL\Migration; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; class Version20150926125836 extends AbstractMigration { public function getDescription() { return 'This migration sets up the initial database structure'; } p...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Entity/Repository.php
module/Application/src/Application/Entity/Repository.php
<?php namespace Application\Entity; class Repository { /** * @var string */ private $owner; /** * @var string */ private $name; /** * @param string $owner * @param string $name */ public function __construct($owner, $name) { $this->owner = (stri...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Controller/IndexController.php
module/Application/src/Application/Controller/IndexController.php
<?php namespace Application\Controller; use Zend\Feed\Writer\Feed; use Zend\Mvc\Controller\AbstractActionController; use Zend\View\Model\FeedModel; use Zend\View\Model\ViewModel; use ZfModule\Mapper; class IndexController extends AbstractActionController { const MODULES_PER_PAGE = 15; /** * @var Mapper...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Controller/SearchController.php
module/Application/src/Application/Controller/SearchController.php
<?php namespace Application\Controller; use Zend\Mvc\Controller\AbstractActionController; use Zend\View\Model\ViewModel; use ZfModule\Mapper; class SearchController extends AbstractActionController { /** * @var Mapper\Module */ private $moduleMapper; /** * @param Mapper\Module $moduleMapp...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Controller/SearchControllerFactory.php
module/Application/src/Application/Controller/SearchControllerFactory.php
<?php namespace Application\Controller; use Zend\Mvc\Controller\ControllerManager; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; use ZfModule\Mapper; class SearchControllerFactory implements FactoryInterface { /** * {@inheritDoc} * * @return SearchContr...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Controller/ContributorsController.php
module/Application/src/Application/Controller/ContributorsController.php
<?php namespace Application\Controller; use Application\Entity; use Application\Service; use Zend\Mvc\Controller\AbstractActionController; use Zend\View\Model\ViewModel; class ContributorsController extends AbstractActionController { /** * @var Service\RepositoryRetriever */ private $repositoryRetr...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Controller/ContributorsControllerFactory.php
module/Application/src/Application/Controller/ContributorsControllerFactory.php
<?php namespace Application\Controller; use Application\Entity; use Application\Service; use Zend\Mvc\Controller\ControllerManager; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; class ContributorsControllerFactory implements FactoryInterface { /** * @param Servic...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Controller/IndexControllerFactory.php
module/Application/src/Application/Controller/IndexControllerFactory.php
<?php namespace Application\Controller; use Zend\Mvc\Controller\ControllerManager; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; use ZfModule\Mapper; class IndexControllerFactory implements FactoryInterface { /** * {@inheritDoc} * * @return IndexControl...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Exception/ViewableUserExceptionInterface.php
module/Application/src/Application/Exception/ViewableUserExceptionInterface.php
<?php namespace Application\Exception; interface ViewableUserExceptionInterface { /** * @param string $message Error Message for internal logging * @param string $publicMessage Public Error Message * @param int $code Error Code * @param \Exception $previous Previous Exception...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Exception/ViewableUserException.php
module/Application/src/Application/Exception/ViewableUserException.php
<?php namespace Application\Exception; class ViewableUserException extends \Exception implements ViewableUserExceptionInterface { /* @var string */ private $publicMessage; /** * {@inheritdoc} */ public function __construct($message = '', $publicMessage = '', $code = 0, \Exception $previous ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Service/RepositoryRetrieverFactory.php
module/Application/src/Application/Service/RepositoryRetrieverFactory.php
<?php namespace Application\Service; use EdpGithub\Client; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; class RepositoryRetrieverFactory implements FactoryInterface { /** * {@inheritDoc} * * @return RepositoryRetriever */ public function creat...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Service/RepositoryRetriever.php
module/Application/src/Application/Service/RepositoryRetriever.php
<?php namespace Application\Service; use EdpGithub\Client; use EdpGithub\Collection\RepositoryCollection; use EdpGithub\Listener\Exception\RuntimeException; class RepositoryRetriever { /** * @var Client */ private $githubClient; /** * @param Client $githubClient */ public functio...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Service/LoggerFactory.php
module/Application/src/Application/Service/LoggerFactory.php
<?php namespace Application\Service; use Monolog\Handler; use Monolog\Logger; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; class LoggerFactory implements FactoryInterface { /** * @param ServiceLocatorInterface $serviceLocator * @return Logger */ pu...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Service/ErrorHandlingService.php
module/Application/src/Application/Service/ErrorHandlingService.php
<?php namespace Application\Service; use Exception; use Psr\Log\LoggerInterface; class ErrorHandlingService { /** * @var LoggerInterface */ private $logger; public function __construct(LoggerInterface $logger) { $this->logger = $logger; } public function logException(Excep...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Service/ErrorHandlingServiceFactory.php
module/Application/src/Application/Service/ErrorHandlingServiceFactory.php
<?php namespace Application\Service; use Psr\Log\LoggerInterface; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; class ErrorHandlingServiceFactory implements FactoryInterface { /** * @param ServiceLocatorInterface $serviceLocator * @return ErrorHandlingServic...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Service/HtmlPurifierFactory.php
module/Application/src/Application/Service/HtmlPurifierFactory.php
<?php namespace Application\Service; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; class HtmlPurifierFactory implements FactoryInterface { /** * {@inheritDoc} * * @return \HTMLPurifier */ public function createService(ServiceLocatorInterface $s...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/Service/GitHubRepositoryFactory.php
module/Application/src/Application/Service/GitHubRepositoryFactory.php
<?php namespace Application\Service; use Application\Entity; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; class GitHubRepositoryFactory implements FactoryInterface { /** * @param ServiceLocatorInterface $serviceLocator * @return Entity\Repository */ ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/View/Helper/GitHubRepositoryUrl.php
module/Application/src/Application/View/Helper/GitHubRepositoryUrl.php
<?php namespace Application\View\Helper; use Application\Entity; use Zend\View\Helper\AbstractHelper; class GitHubRepositoryUrl extends AbstractHelper { /** * @var Entity\Repository */ private $repository; /** * @var string */ private $url; /** * @param Entity\Repositor...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/View/Helper/GitHubRepositoryUrlFactory.php
module/Application/src/Application/View/Helper/GitHubRepositoryUrlFactory.php
<?php namespace Application\View\Helper; use Application\Entity; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; use Zend\View\HelperPluginManager; class GitHubRepositoryUrlFactory implements FactoryInterface { /** * {@inheritDoc} * * @return GitHubReposi...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/View/Helper/SanitizeHtmlFactory.php
module/Application/src/Application/View/Helper/SanitizeHtmlFactory.php
<?php namespace Application\View\Helper; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; class SanitizeHtmlFactory implements FactoryInterface { /** * {@inheritDoc} * * @return SanitizeHtml */ public function createService(ServiceLocatorInterface...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/View/Helper/FlashMessenger.php
module/Application/src/Application/View/Helper/FlashMessenger.php
<?php namespace Application\View\Helper; use Zend\Mvc\Controller\Plugin\FlashMessenger as PluginFlashMessenger; use Zend\View\Helper\FlashMessenger as ZendFlashMessenger; class FlashMessenger extends ZendFlashMessenger { /* @var string[][] */ private $classOptions = []; /** * Render Messages in a BS...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/src/Application/View/Helper/SanitizeHtml.php
module/Application/src/Application/View/Helper/SanitizeHtml.php
<?php namespace Application\View\Helper; use Zend\View\Helper\AbstractHelper; class SanitizeHtml extends AbstractHelper { private $htmlPurifier; public function __construct(\HTMLPurifier $htmlPurifier) { $this->htmlPurifier = $htmlPurifier; } public function __invoke($dirtyHtml) { ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/bootstrap.php
module/Application/test/bootstrap.php
<?php error_reporting(E_ALL | E_STRICT); chdir(dirname(__DIR__) . '/../..'); require_once 'vendor/autoload.php'; ApplicationTest\Integration\Util\Bootstrap::setConfig(include 'config/application.config.php');
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/HybridAutoloadingTest.php
module/Application/test/ApplicationTest/HybridAutoloadingTest.php
<?php namespace ApplicationTest; use Hybrid_Providers_GitHub; use PHPUnit_Framework_TestCase; class HybridAutoloadingTest extends PHPUnit_Framework_TestCase { public function testCanLoadClass() { $this->assertTrue(class_exists('Hybrid_Providers_GitHub')); } }
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/Controller/ContributorsControllerTest.php
module/Application/test/ApplicationTest/Integration/Controller/ContributorsControllerTest.php
<?php namespace ApplicationTest\Integration\Controller; use Application\Controller; use Application\Entity; use Application\Service; use ApplicationTest\Integration\Util\Bootstrap; use ApplicationTest\Util\FakerTrait; use stdClass; use Zend\Http; use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase; class...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/Controller/IndexControllerTest.php
module/Application/test/ApplicationTest/Integration/Controller/IndexControllerTest.php
<?php namespace ApplicationTest\Integration\Controller; use Application\Controller; use ApplicationTest\Integration\Util\Bootstrap; use User\Mapper\User; use Zend\Http; use Zend\Paginator; use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase; use ZfModule\Mapper; class IndexControllerTest extends Abstract...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/Controller/SearchControllerTest.php
module/Application/test/ApplicationTest/Integration/Controller/SearchControllerTest.php
<?php namespace ApplicationTest\Integration\Controller; use Application\Controller; use ApplicationTest\Integration\Util\Bootstrap; use Zend\Http; use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase; use ZfModule\Mapper; class SearchControllerTest extends AbstractHttpControllerTestCase { protected fu...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/Util/AuthenticationTrait.php
module/Application/test/ApplicationTest/Integration/Util/AuthenticationTrait.php
<?php namespace ApplicationTest\Integration\Util; use Zend\Authentication\AuthenticationService; use Zend\ServiceManager; /** * @method ServiceManager\ServiceManager getApplicationServiceLocator() * @method \PHPUnit_Framework_MockObject_MockBuilder getMockBuilder() * @method \PHPUnit_Framework_MockObject_Matcher_...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/Util/Bootstrap.php
module/Application/test/ApplicationTest/Integration/Util/Bootstrap.php
<?php namespace ApplicationTest\Integration\Util; use Zend\Mvc\Service\ServiceManagerConfig; use Zend\ServiceManager\ServiceManager; class Bootstrap { /** * @var ServiceManager */ private static $serviceManager; /** * @var mixed */ private static $config; /** * @param m...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/DBAL/Migration/MigrationTest.php
module/Application/test/ApplicationTest/Integration/DBAL/Migration/MigrationTest.php
<?php namespace ApplicationTest\Integration\DBAL\Migration; use ApplicationTest\Integration\Util\Bootstrap; use Doctrine\DBAL; class MigrationTest extends \PHPUnit_Framework_TestCase { /** * @var DBAL\Migrations\Configuration\Configuration */ private $configuration; protected function tearDown...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/Service/ErrorHandlingServiceTest.php
module/Application/test/ApplicationTest/Integration/Service/ErrorHandlingServiceTest.php
<?php namespace ApplicationTest\Integration\Service; use Application\Service; use ApplicationTest\Integration\Util\Bootstrap; use PHPUnit_Framework_TestCase; /** * @group Functional * @coversNothing */ class ErrorHandlingServiceTest extends PHPUnit_Framework_TestCase { public function testServiceCanBeRetrieve...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/Service/RepositoryRetrieverTest.php
module/Application/test/ApplicationTest/Integration/Service/RepositoryRetrieverTest.php
<?php namespace ApplicationTest\Integration\Service; use Application\Service; use ApplicationTest\Integration\Util\Bootstrap; use PHPUnit_Framework_TestCase; class RepositoryRetrieverTest extends PHPUnit_Framework_TestCase { public function testServiceCanBeRetrieved() { $serviceManager = Bootstrap::g...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/Service/LoggerFactoryTest.php
module/Application/test/ApplicationTest/Integration/Service/LoggerFactoryTest.php
<?php namespace ApplicationTest\Integration\Service; use Application\Service; use ApplicationTest\Integration\Util\Bootstrap; use Monolog\Handler; use Monolog\Logger; use PHPUnit_Framework_TestCase; use Psr\Log; /** * @group Functional * @coversNothing */ class LoggerFactoryTest extends PHPUnit_Framework_TestCase...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/Service/GitHubRepositoryTest.php
module/Application/test/ApplicationTest/Integration/Service/GitHubRepositoryTest.php
<?php namespace ApplicationTest\Integration\Service; use Application\Entity; use ApplicationTest\Integration\Util\Bootstrap; use PHPUnit_Framework_TestCase; /** * @group Functional * @coversNothing */ class GitHubRepositoryTest extends PHPUnit_Framework_TestCase { public function testServiceCanBeRetrieved() ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/Service/HtmlPurifierTest.php
module/Application/test/ApplicationTest/Integration/Service/HtmlPurifierTest.php
<?php namespace ApplicationTest\Integration\Service; use ApplicationTest\Integration\Util\Bootstrap; use PHPUnit_Framework_TestCase; class HtmlPurifierTest extends PHPUnit_Framework_TestCase { public function testServiceCanBeRetrieved() { $serviceManager = Bootstrap::getServiceManager(); $th...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/View/Helper/FlashMessengerTest.php
module/Application/test/ApplicationTest/Integration/View/Helper/FlashMessengerTest.php
<?php namespace ApplicationTest\Integration\View\Helper; use ApplicationTest\Integration\Util\Bootstrap; use PHPUnit_Framework_TestCase; /** * @covers Application\View\Helper\FlashMessenger */ class FlashMessengerTest extends PHPUnit_Framework_TestCase { public function testMultipleMessageTypesGetsRendered() ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/View/Helper/GitHubRepositoryUrlTest.php
module/Application/test/ApplicationTest/Integration/View/Helper/GitHubRepositoryUrlTest.php
<?php namespace ApplicationTest\Integration\View\Helper; use Application\View\Helper; use ApplicationTest\Integration\Util\Bootstrap; use PHPUnit_Framework_TestCase; use Zend\View\HelperPluginManager; class GitHubRepositoryUrlTest extends PHPUnit_Framework_TestCase { public function testServiceCanBeRetrieved() ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Integration/View/Helper/SanitizeHtmlTest.php
module/Application/test/ApplicationTest/Integration/View/Helper/SanitizeHtmlTest.php
<?php namespace ApplicationTest\Integration\View\Helper; use Application\View\Helper\SanitizeHtml; use ApplicationTest\Integration\Util\Bootstrap; use PHPUnit_Framework_TestCase; class SanitizeHtmlTest extends PHPUnit_Framework_TestCase { public function testServiceCanBeRetrieved() { $serviceManager ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Entity/RepositoryTest.php
module/Application/test/ApplicationTest/Entity/RepositoryTest.php
<?php namespace ApplicationTest\Entity; use Application\Entity; use ApplicationTest\Mock\StringCastable; use PHPUnit_Framework_TestCase; class RepositoryTest extends PHPUnit_Framework_TestCase { public function testConstructorSetsValues() { $owner = 'foo'; $name = 'bar'; $entity = ne...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Mock/StringCastable.php
module/Application/test/ApplicationTest/Mock/StringCastable.php
<?php namespace ApplicationTest\Mock; class StringCastable { private $value; public function __construct($string) { $this->value = $string; } public function __toString() { return $this->value; } }
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Util/FakerTrait.php
module/Application/test/ApplicationTest/Util/FakerTrait.php
<?php namespace ApplicationTest\Util; use Faker\Factory; use Faker\Generator; trait FakerTrait { /** * @var Generator */ private $faker; /** * @return Generator */ private function faker() { if (null === $this->faker) { $this->faker = Factory::create('en_U...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Exception/ViewableUserExceptionTest.php
module/Application/test/ApplicationTest/Exception/ViewableUserExceptionTest.php
<?php namespace ApplicationTest\Exception; use Application\Exception; use PHPUnit_Framework_TestCase; class ViewableUserExceptionTest extends PHPUnit_Framework_TestCase { public function testExceptionCanBeCreated() { $parentExceptionMock = $this->getMock(\Exception::class); $exception = new ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Service/ErrorHandlingServiceTest.php
module/Application/test/ApplicationTest/Service/ErrorHandlingServiceTest.php
<?php namespace ApplicationTest\Service; use Application\Service; use Exception; use PHPUnit_Framework_TestCase; use Psr\Log\LoggerInterface; /** * @covers Application\Service\ErrorHandlingService */ class ErrorHandlingServiceTest extends PHPUnit_Framework_TestCase { public function testLogExceptionLogsExcepti...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Service/RepositoryRetrieverTest.php
module/Application/test/ApplicationTest/Service/RepositoryRetrieverTest.php
<?php namespace ApplicationTest\Service; use Application\Service\RepositoryRetriever; use ApplicationTest\Util\FakerTrait; use EdpGithub; use EdpGithub\Api; use EdpGithub\Client; use EdpGithub\Collection; use EdpGithub\Listener\Exception; use PHPUnit_Framework_TestCase; use stdClass; class RepositoryRetrieverTest ex...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/Service/HtmlPurifierTest.php
module/Application/test/ApplicationTest/Service/HtmlPurifierTest.php
<?php namespace ApplicationTest\Integration\View\Helper; use Application\Service\HtmlPurifierFactory; use PHPUnit_Framework_TestCase; use Zend\ServiceManager\ServiceManager; class HtmlPurifierTest extends PHPUnit_Framework_TestCase { public function testConfigCanBePassedToService() { $config = [ ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/test/ApplicationTest/View/Helper/GitHubRepositoryUrlTest.php
module/Application/test/ApplicationTest/View/Helper/GitHubRepositoryUrlTest.php
<?php namespace ApplicationTest\View\Helper; use Application\Entity; use Application\View\Helper; use PHPUnit_Framework_MockObject_MockObject; use PHPUnit_Framework_TestCase; use ReflectionObject; class GitHubRepositoryUrlTest extends PHPUnit_Framework_TestCase { public function testInvokeReturnsUrl() { ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/Application/config/module.config.php
module/Application/config/module.config.php
<?php use Application\Controller; use Application\Service; use Application\View; use Psr\Log; return [ 'project_github_repository' => [ 'owner' => 'zendframework', 'name' => 'modules.zendframework.com', ], 'router' => [ 'routes' => [ 'live-search' => [ ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/src/User/Module.php
module/User/src/User/Module.php
<?php namespace User; use Zend\EventManager\SharedEventManager; use Zend\ModuleManager\ModuleManager; use Zend\Mvc\ApplicationInterface; use ZfcBase\Module\AbstractModule; class Module extends AbstractModule { /** * @param ModuleManager $moduleManager * @param ApplicationInterface $app */ publ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/src/User/Entity/User.php
module/User/src/User/Entity/User.php
<?php namespace User\Entity; use ZfcUser\Entity\User as ZfcUser; class User extends ZfcUser { /** * @var string */ private $photoUrl; /** * @var string */ private $createdAt; /** * @return string */ public function getCreatedAt() { return $this->cre...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/src/User/Controller/UserControllerFactory.php
module/User/src/User/Controller/UserControllerFactory.php
<?php namespace User\Controller; use Zend\Mvc\Controller\ControllerManager; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; use ZfModule\Service; class UserControllerFactory implements FactoryInterface { /** * @param ServiceLocatorInterface $controllerManager ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/src/User/Controller/UserController.php
module/User/src/User/Controller/UserController.php
<?php namespace User\Controller; use Zend\View\Model\ViewModel; use ZfcUser\Controller\Plugin\ZfcUserAuthentication; use ZfcUser\Controller\UserController as ZfcUserController; use ZfModule\Service; /** * @method array listModule(array $options) * @method ZfcUserAuthentication zfcUserAuthentication() */ class Use...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/src/User/GitHub/LoginListener.php
module/User/src/User/GitHub/LoginListener.php
<?php namespace User\GitHub; use Hybrid_User_Profile; use User\Entity\User; use Zend\EventManager\EventInterface; use Zend\EventManager\SharedEventManagerInterface; use Zend\EventManager\SharedListenerAggregateInterface; final class LoginListener implements SharedListenerAggregateInterface { /** * @var arra...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/src/User/Mapper/User.php
module/User/src/User/Mapper/User.php
<?php namespace User\Mapper; use ZfcUser\Mapper\User as ZfcUserMapper; class User extends ZfcUserMapper { public function findAll($limit = null, $orderBy = null, $sort = 'ASC') { $sql = $this->getSql(); $select = $sql->select() ->from($this->tableName); if ($or...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/src/User/Mapper/UserFactory.php
module/User/src/User/Mapper/UserFactory.php
<?php namespace User\Mapper; use Zend\Db; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; use ZfcUser\Mapper; use ZfcUser\Options; class UserFactory implements FactoryInterface { /** * @param ServiceLocatorInterface $serviceManager * @return User */ p...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/src/User/View/Helper/NewUsersFactory.php
module/User/src/User/View/Helper/NewUsersFactory.php
<?php namespace User\View\Helper; use User\Mapper; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; use Zend\View\HelperPluginManager; class NewUsersFactory implements FactoryInterface { /** * {@inheritDoc} * * @return NewUsers */ public function ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/src/User/View/Helper/UserOrganizationsFactory.php
module/User/src/User/View/Helper/UserOrganizationsFactory.php
<?php namespace User\View\Helper; use EdpGithub\Client; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; use Zend\View\HelperPluginManager; class UserOrganizationsFactory implements FactoryInterface { /** * {@inheritDoc} * * @return UserOrganizations ...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false
zendframework/modules.zendframework.com
https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/src/User/View/Helper/UserOrganizations.php
module/User/src/User/View/Helper/UserOrganizations.php
<?php namespace User\View\Helper; use EdpGithub\Client; use Zend\View\Helper\AbstractHelper; class UserOrganizations extends AbstractHelper { /** * @var Client */ private $githubClient; /** * $var string template used for view */ protected $viewTemplate; /** * @param Cl...
php
BSD-3-Clause
0bdef8d736daa741925e8d869a8e00973115939c
2026-01-05T02:55:32.704291Z
false