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 |
|---|---|---|---|---|---|---|---|---|
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/GoogleOAuth2Service.php | src/services/GoogleOAuth2Service.php | <?php
/**
* GoogleOAuth2Service class file.
*
* Register application: https://code.google.com/apis/console/
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services;
use nodge\eauth\o... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/extended/VKontakteOAuth2Service.php | src/services/extended/VKontakteOAuth2Service.php | <?php
/**
* An example of extending the provider class.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services\extended;
class VKontakteOAuth2Service extends \nodge\eauth\services\VKo... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/extended/OdnoklassnikiOAuth2Service.php | src/services/extended/OdnoklassnikiOAuth2Service.php | <?php
/**
* An example of extending the provider class.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services\extended;
class OdnoklassnikiOAuth2Service extends \nodge\eauth\services... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/extended/MailruOAuth2Service.php | src/services/extended/MailruOAuth2Service.php | <?php
/**
* An example of extending the provider class.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services\extended;
class MailruOAuth2Service extends \nodge\eauth\services\Mailru... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/extended/TwitterOAuth1Service.php | src/services/extended/TwitterOAuth1Service.php | <?php
/**
* An example of extending the provider class.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services\extended;
class TwitterOAuth1Service extends \nodge\eauth\services\Twitt... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/extended/FacebookOAuth2Service.php | src/services/extended/FacebookOAuth2Service.php | <?php
/**
* An example of extending the provider class.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services\extended;
class FacebookOAuth2Service extends \nodge\eauth\services\Face... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/services/extended/GitHubOAuth2Service.php | src/services/extended/GitHubOAuth2Service.php | <?php
/**
* An example of extending the provider class.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\services\extended;
class GitHubOAuth2Service extends \nodge\eauth\services\GitHub... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/messages/de/eauth.php | src/messages/de/eauth.php | <?php
return [
'Undefined service name: {service}.' => 'Undefinierter Servicename: {service}',
'Invalid response http code: {code}.' => 'Ungültiger HTTP Code: {code}',
'Invalid response format.' => 'Ungültiges Antwortformat.',
'Unable to complete the authentication because the required data was not received.' => '... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/messages/uk/eauth.php | src/messages/uk/eauth.php | <?php
return [
'Undefined service name: {service}.' => 'Авторизація за допомогою {service} не підтримується.',
'Invalid response http code: {code}.' => 'Невірна відповідь від сервера авторизації: {code}.',
'Invalid response format.' => 'Сервер авторизації повернув данні в невірному форматі.',
'Unable to complete t... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/messages/en/eauth.php | src/messages/en/eauth.php | <?php
return [
'Undefined service name: {service}.' => 'Undefined service name: {service}.',
'Invalid response http code: {code}.' => 'Invalid response http code: {code}.',
'Invalid response format.' => 'Invalid response format.',
'Unable to complete the authentication because the required data was not received.' ... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/messages/pl/eauth.php | src/messages/pl/eauth.php | <?php
return [
'Undefined service name: {service}.' => 'Nieznana nazwa usługi: {service}.',
'Invalid response http code: {code}.' => 'Nieprawidłowy kod HTTP odpowiedzi: {code}.',
'Invalid response format.' => 'Nieprawidłowy format odpowiedzi.',
'Unable to complete the authentication because the require... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/messages/ro/eauth.php | src/messages/ro/eauth.php | <?php
return [
'Undefined service name: {service}.' => 'Serviciu nedefinit: {service}.',
'Invalid response http code: {code}.' => 'Codul http al răspunsului este invalid: {code}.',
'Invalid response format.' => 'Formatul răspunsului este invalid.',
'Unable to complete the authentication because the required data w... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/messages/ru/eauth.php | src/messages/ru/eauth.php | <?php
return [
'Undefined service name: {service}.' => 'Авторизация с помощью {service} не поддерживается.',
'Invalid response http code: {code}.' => 'Неверный ответ от сервера авторизации: {code}.',
'Invalid response format.' => 'Сервер авторизации вернул данные в неправильном формате.',
'Unable to complete the a... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/messages/blank/eauth.php | src/messages/blank/eauth.php | <?php
return [
'Undefined service name: {service}.' => '{service}',
'Invalid response http code: {code}.' => '{code}',
'Invalid response format.' => '',
'Unable to complete the authentication because the required data was not received.' => '{provider}',
'Unable to complete the request because the user was not aut... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/views/widget.php | src/views/widget.php | <?php
use yii\helpers\Html;
use yii\web\View;
/** @var $this View */
/** @var $id string */
/** @var $services stdClass[] See EAuth::getServices() */
/** @var $action string */
/** @var $popup bool */
/** @var $assetBundle string Alias to AssetBundle */
Yii::createObject(['class' => $assetBundle])->register($this);
... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/views/redirect.php | src/views/redirect.php | <?php
use yii\web\View;
/** @var $this View */
/** @var $url string */
/** @var $redirect bool */
/** @var $url string */
?><!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
<?php
$code = 'if (window.opener) {';
$code .= 'window.close();';
if ($redirect) {
$code .= 'window.opener.locatio... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/assets/WidgetAssetBundle.php | src/assets/WidgetAssetBundle.php | <?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace nodge\eauth\assets;
use yii\web\AssetBundle;
/**
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class WidgetAssetBundle extends AssetBundle
{
... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/oauth/HttpClient.php | src/oauth/HttpClient.php | <?php
/**
* HttpClient class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\oauth;
use Yii;
use OAuth\Common\Http\Client\AbstractClient;
use OAuth\Common\Http\Exception\TokenResp... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/oauth/SessionTokenStorage.php | src/oauth/SessionTokenStorage.php | <?php
/**
* SessionTokenStorage class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\oauth;
use Yii;
use OAuth\Common\Storage\TokenStorageInterface;
use OAuth\Common\Token\TokenI... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/oauth/ServiceBase.php | src/oauth/ServiceBase.php | <?php
/**
* OAuthService class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\oauth;
use Yii;
use OAuth\Common\Storage\TokenStorageInterface;
use nodge\eauth\EAuth;
use nodge\eau... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/openid/Service.php | src/openid/Service.php | <?php
/**
* OpenID Service class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\openid;
use \Yii;
use \LightOpenID;
use yii\web\HttpException;
use nodge\eauth\ServiceBase;
use no... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/openid/ControllerBehavior.php | src/openid/ControllerBehavior.php | <?php
/**
* ControllerBehavior class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\openid;
use Yii;
use yii\base\Action;
use yii\base\ActionFilter;
/**
* @package application.... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/oauth1/Service.php | src/oauth1/Service.php | <?php
/**
* OAuth1 Service class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\oauth1;
use Yii;
use OAuth\Common\Exception\Exception as OAuthException;
use OAuth\Common\Http\Uri... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
Nodge/yii2-eauth | https://github.com/Nodge/yii2-eauth/blob/04798651fdb3a0db9ed5272330f18b26733507a0/src/oauth1/ServiceProxy.php | src/oauth1/ServiceProxy.php | <?php
/**
* OAuth1 ServiceProxy class file.
*
* @author Maxim Zemskov <nodge@yandex.ru>
* @link http://github.com/Nodge/yii2-eauth/
* @license http://www.opensource.org/licenses/bsd-license.php
*/
namespace nodge\eauth\oauth1;
use OAuth\Common\Consumer\CredentialsInterface;
use OAuth\Common\Http\Client\ClientIn... | php | BSD-2-Clause | 04798651fdb3a0db9ed5272330f18b26733507a0 | 2026-01-05T02:36:51.018464Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/Storage.php | src/Storage.php | <?php
namespace Clue\Redis\Server;
use SplDoublyLinkedList;
class Storage
{
private $storage = array();
private $timeout = array();
private $id;
public function __construct($id = '0')
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/InvalidDatatypeException.php | src/InvalidDatatypeException.php | <?php
namespace Clue\Redis\Server;
use UnexpectedValueException;
class InvalidDatatypeException extends UnexpectedValueException
{
}
| php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/Invoker.php | src/Invoker.php | <?php
namespace Clue\Redis\Server;
use Clue\Redis\Protocol\Model\ErrorReply;
use Clue\Redis\Protocol\Model\StatusReply;
use ReflectionClass;
use ReflectionMethod;
use Exception;
use Clue\Redis\Protocol\Serializer\SerializerInterface;
use Clue\Redis\Protocol\Model\ModelInterface;
use Clue\Redis\Protocol\Model\Request;... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/Client.php | src/Client.php | <?php
namespace Clue\Redis\Server;
use React\Socket\ConnectionInterface;
use Clue\Redis\Protocol\Model\ModelInterface;
use Clue\Redis\Protocol\Model\Request;
use InvalidArgumentException;
class Client
{
private $connection;
private $business;
private $database;
private $name = null;
private $time... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/Server.php | src/Server.php | <?php
namespace Clue\Redis\Server;
use Evenement\EventEmitter;
use React\Socket\ServerInterface;
use React\EventLoop\LoopInterface;
use Clue\Redis\Protocol\Factory as ProtocolFactory;
use React\Socket\ConnectionInterface;
use Clue\Redis\Protocol\Model\ErrorReply;
use Clue\Redis\Protocol\Model\ModelInterface;
use Clue... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/Config.php | src/Config.php | <?php
namespace Clue\Redis\Server;
use IteratorAggregate;
use ArrayIterator;
use IteratorIterator;
use InvalidArgumentException;
class Config implements IteratorAggregate
{
private $config = array(
'requirepass' => '',
);
public function get($key)
{
return $this->config[$key];
}
... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/Factory.php | src/Factory.php | <?php
namespace Clue\Redis\Server;
use React\Socket\Server as ServerSocket;
use React\Promise\Deferred;
use React\EventLoop\LoopInterface;
use Clue\Redis\Server\Server;
use Clue\Redis\Protocol\Factory as ProtocolFactory;
use InvalidArgumentException;
use BadMethodCallException;
use Exception;
class Factory
{
pri... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/AuthInvoker.php | src/AuthInvoker.php | <?php
namespace Clue\Redis\Server;
use Clue\Redis\Server\Invoker;
use Clue\Redis\Protocol\Model\Request;
use Clue\Redis\Server\Client;
class AuthInvoker extends Invoker
{
private $invoker;
public function __construct(Invoker $successfulInvoker)
{
$this->invoker = $successfulInvoker;
}
p... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/Business/Keys.php | src/Business/Keys.php | <?php
namespace Clue\Redis\Server\Business;
use Clue\Redis\Server\Storage;
use Exception;
use InvalidArgumentException;
use Clue\Redis\Server\Client;
class Keys
{
private $storage;
public function __construct(Storage $storage = null)
{
if ($storage === null) {
$storage = new Storage(... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/Business/Connection.php | src/Business/Connection.php | <?php
namespace Clue\Redis\Server\Business;
use Clue\Redis\Server\Server;
use OutOfBoundsException;
use UnexpectedValueException;
use Clue\Redis\Server\Client;
use Clue\Redis\Server\AuthInvoker;
class Connection
{
private $server;
private $client = null;
public function __construct(Server $server)
{... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/Business/Lists.php | src/Business/Lists.php | <?php
namespace Clue\Redis\Server\Business;
use Clue\Redis\Server\Storage;
use Exception;
use InvalidArgumentException;
use Clue\Redis\Server\Client;
class Lists
{
private $storage;
public function __construct(Storage $storage = null)
{
if ($storage === null) {
$storage = new Storage... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/Business/Strings.php | src/Business/Strings.php | <?php
namespace Clue\Redis\Server\Business;
use Clue\Redis\Server\Storage;
use Exception;
use InvalidArgumentException;
use Clue\Redis\Server\Client;
class Strings
{
private $storage;
public function __construct(Storage $storage = null)
{
if ($storage === null) {
$storage = new Stora... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/src/Business/Server.php | src/Business/Server.php | <?php
namespace Clue\Redis\Server\Business;
use InvalidArgumentException;
use OutOfBoundsException;
use Clue\Redis\Server\Server as ServerInstance;
use Clue\Redis\Server\Client;
class Server
{
private $server;
private $client = null;
public function __construct(ServerInstance $server)
{
$thi... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/tests/FactoryTest.php | tests/FactoryTest.php | <?php
use Clue\Redis\Server\Server;
use Clue\Redis\Server\Factory;
class FactoryTest extends TestCase
{
public function setUp()
{
$this->loop = new React\EventLoop\StreamSelectLoop();
$this->factory = new Factory($this->loop);
}
public function testPairAuthRejectDisconnects()
{
... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/tests/bootstrap.php | tests/bootstrap.php | <?php
(include_once __DIR__ . '/../vendor/autoload.php') OR die(PHP_EOL . 'ERROR: composer autoloader not found, run "composer install" or see README for instructions' . PHP_EOL);
class TestCase extends PHPUnit_Framework_TestCase
{
protected function expectCallableOnce()
{
$mock = $this->createCallabl... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/tests/Server/ClientTest.php | tests/Server/ClientTest.php | <?php
use Clue\Redis\Server\Client;
use Clue\Redis\Server\Invoker;
use Clue\Redis\Protocol\Serializer\RecursiveSerializer;
use Clue\Redis\Server\Storage;
class ClientTest extends TestCase
{
private $business;
private $database;
private $client;
public function setUp()
{
$connection = $thi... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/tests/Server/ConfigTest.php | tests/Server/ConfigTest.php | <?php
use Clue\Redis\Server\Config;
class ConfigTest extends TestCase
{
private $config;
public function setUp()
{
$this->config = new Config();
}
public function testA()
{
$this->assertEquals('', $this->config->get('requirepass'));
$this->config->set('requirepass', '... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/tests/Server/StorageTest.php | tests/Server/StorageTest.php | <?php
use Clue\Redis\Server\Storage;
use Clue\Redis\Server\InvalidDatatypeException;
class StorageTest extends TestCase
{
private $storage;
public function setUp()
{
$this->storage = new Storage();
}
public function testHasSetUnset()
{
$this->assertFalse($this->storage->hasKe... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/tests/Server/Business/StringsTest.php | tests/Server/Business/StringsTest.php | <?php
use Clue\Redis\Server\Storage;
use Clue\Redis\Server\Business\Strings;
class StringsTest extends TestCase
{
private $business;
private $storage;
public function setUp()
{
$this->storage = new Storage();
$this->business = new Strings($this->storage);
}
public function te... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/tests/Server/Business/ConnectionTest.php | tests/Server/Business/ConnectionTest.php | <?php
use Clue\Redis\Server\Business\Connection;
class ConnectionTest extends TestCase
{
private $business;
public function setUp()
{
$server = $this->getMockBuilder('Clue\Redis\Server\Server')->disableOriginalConstructor()->getMock();
$this->business = new Connection($server);
}
... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/tests/Server/Business/ListsTest.php | tests/Server/Business/ListsTest.php | <?php
use Clue\Redis\Server\Storage;
use Clue\Redis\Server\Business\Lists;
class ListsTest extends TestCase
{
private $business;
private $storage;
public function setUp()
{
$this->storage = new Storage();
$this->business = new Lists($this->storage);
}
public function testList... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/tests/Server/Business/KeysTest.php | tests/Server/Business/KeysTest.php | <?php
use Clue\Redis\Server\Storage;
use Clue\Redis\Server\Business\Keys;
class KeysTest extends TestCase
{
private $business;
private $storage;
public function setUp()
{
$this->storage = new Storage();
$this->business = new Keys($this->storage);
}
public function testKeys()
... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
clue/php-redis-server | https://github.com/clue/php-redis-server/blob/bfe79beadfe76b9d532d766a732b43104e6587c9/bin/redis-server.php | bin/redis-server.php | <?php
use Clue\Redis\Server\Client;
use Clue\Redis\Server\Factory;
use Clue\Redis\Server\Server;
use Clue\Redis\Protocol\Model\ModelInterface;
require __DIR__ . '/../vendor/autoload.php';
$loop = React\EventLoop\Factory::create();
$factory = new Factory($loop);
// read port definition from command args
$port = 6379... | php | MIT | bfe79beadfe76b9d532d766a732b43104e6587c9 | 2026-01-05T02:37:37.520240Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/lang/en/validation.php | lang/en/validation.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator ... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/lang/en/conference.php | lang/en/conference.php | <?php
return [
'issues' => [
'duplicate' => 'This is a duplicate conference',
'incorrect' => 'This conference has missing or incorrect information',
'spam' => 'This is a spam listing',
'other' => 'Other',
],
];
| php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/macros.php | app/macros.php | <?php
use Illuminate\Routing\UrlGenerator;
UrlGenerator::macro('menuRoute', function ($name, $parameters, $absolute = true) {
$linkParams = $parameters['link'];
$queryParams = $parameters['query'];
$defaults = $parameters['defaults'];
$outputParameters = collect($defaults)->map(fn ($default, $key) =>... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/helpers.php | app/helpers.php | <?php
if (! function_exists('markdown')) {
function markdown($text)
{
return '<div class="prose">'.(new Parsedown)->text($text).'</div>';
}
}
if (! function_exists('menuRoute')) {
function menuRoute($name, $parameters = [], $absolute = true)
{
return app('url')->menuRoute($name, $p... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Livewire/ConferenceList.php | app/Livewire/ConferenceList.php | <?php
namespace App\Livewire;
use App\Models\Conference;
use Carbon\CarbonImmutable;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Collection;
use Livewire\Attributes\Computed;
use Livewire\Component;
use Livewire\WithPagination;
class ConferenceList extends Component
{
use WithPagination;
... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Exceptions/Handler.php | app/Exceptions/Handler.php | <?php
namespace App\Exceptions;
use Exception;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that ar... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Exceptions/InvalidAddressGeocodingException.php | app/Exceptions/InvalidAddressGeocodingException.php | <?php
namespace App\Exceptions;
use Exception;
class InvalidAddressGeocodingException extends Exception {}
| php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Exceptions/ValidationException.php | app/Exceptions/ValidationException.php | <?php
namespace App\Exceptions;
use RuntimeException;
class ValidationException extends RuntimeException
{
protected $errors;
public function __construct($message, $errors)
{
parent::__construct($message);
$this->errors = $errors;
}
public function errors()
{
return... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Requests/SaveTalkRequest.php | app/Http/Requests/SaveTalkRequest.php | <?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class SaveTalkRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'title' => 'required',
'type' => 'requir... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Requests/Request.php | app/Http/Requests/Request.php | <?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
abstract class Request extends FormRequest {}
| php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Requests/SaveConferenceRequest.php | app/Http/Requests/SaveConferenceRequest.php | <?php
namespace App\Http\Requests;
use App\Casts\SpeakerPackage;
use App\Rules\ValidAmountForCurrentLocale;
use Cknow\Money\Money;
use Illuminate\Foundation\Http\FormRequest;
class SaveConferenceRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function ... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Requests/SpeakerSearchRequest.php | app/Http/Requests/SpeakerSearchRequest.php | <?php
namespace App\Http\Requests;
use App\Models\State;
use Illuminate\Foundation\Http\FormRequest;
class SpeakerSearchRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
//
];
}
... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Requests/Auth/LoginFormRequest.php | app/Http/Requests/Auth/LoginFormRequest.php | <?php
namespace App\Http\Requests\Auth;
use Illuminate\Foundation\Http\FormRequest;
class LoginFormRequest extends FormRequest
{
protected $errorBag = 'loginForm';
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Requests/Auth/RegisterFormRequest.php | app/Http/Requests/Auth/RegisterFormRequest.php | <?php
namespace App\Http\Requests\Auth;
use Illuminate\Foundation\Http\FormRequest;
/**
* @codeCoverageIgnore
*/
class RegisterFormRequest extends FormRequest
{
protected $errorBag = 'registerForm';
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/SubmissionReactionsController.php | app/Http/Controllers/SubmissionReactionsController.php | <?php
namespace App\Http\Controllers;
use App\Models\Submission;
use Illuminate\Http\RedirectResponse;
class SubmissionReactionsController extends Controller
{
public function store(Submission $submission): RedirectResponse
{
request()->validate([
'url' => 'required|url',
]);
... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/ConferencesController.php | app/Http/Controllers/ConferencesController.php | <?php
namespace App\Http\Controllers;
use App\Http\Requests\SaveConferenceRequest;
use App\Models\Conference;
use App\Services\Currency;
use App\Transformers\TalkForConferenceTransformer as TalkTransformer;
use Illuminate\Http\RedirectResponse;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Sessio... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/BiosController.php | app/Http/Controllers/BiosController.php | <?php
namespace App\Http\Controllers;
use App\Exceptions\ValidationException;
use App\Models\Bio;
use App\Services\CreateBioForm;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
use Illuminate\View\View;
class BiosController extends Controller
{
public f... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/AccountController.php | app/Http/Controllers/AccountController.php | <?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Storage;
use Illuminate\View\View;
use Intervention\Image\Facades\Image;
use Symfony... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Controller.php | app/Http/Controllers/Controller.php | <?php
namespace App\Http\Controllers;
abstract class Controller {}
| php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/RejectionController.php | app/Http/Controllers/RejectionController.php | <?php
namespace App\Http\Controllers;
use App\Models\Rejection;
class RejectionController extends Controller
{
public function destroy(Rejection $rejection)
{
if (auth()->user()->id != $rejection->submission->talkRevision->talk->author_id) {
return response('', 401);
}
$r... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/AcceptancesController.php | app/Http/Controllers/AcceptancesController.php | <?php
namespace App\Http\Controllers;
use App\Models\Acceptance;
class AcceptancesController extends Controller
{
public function destroy(Acceptance $acceptance)
{
if (auth()->user()->id != $acceptance->submission->talkRevision->talk->author_id) {
return response('', 401);
}
... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/TalksController.php | app/Http/Controllers/TalksController.php | <?php
namespace App\Http\Controllers;
use App\Http\Requests\SaveTalkRequest;
use App\Models\Submission;
use App\Models\Talk;
use App\Models\TalkRevision;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
use Illuminate\View\View;
class TalksController extends ... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/SubmissionsController.php | app/Http/Controllers/SubmissionsController.php | <?php
namespace App\Http\Controllers;
use App\Models\Conference;
use App\Models\Submission;
use App\Models\Talk;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
use Illuminate\Validation\Rule;
use Illuminate\View\View;
class SubmissionsController extends Controller
{
public function store(Re... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/HomeController.php | app/Http/Controllers/HomeController.php | <?php
namespace App\Http\Controllers;
use App\Models\Conference;
use App\Models\User;
use Illuminate\View\View;
class HomeController extends Controller
{
public function show(): View
{
return view('home', [
'speakers' => User::whereFeatured()->limit(6)->get(),
'conferences' =>... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/PublicProfileController.php | app/Http/Controllers/PublicProfileController.php | <?php
namespace App\Http\Controllers;
use App\Http\Requests\SpeakerSearchRequest;
use App\Mail\ContactRequest;
use App\Models\User;
use Captcha\Captcha;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Fa... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/DashboardController.php | app/Http/Controllers/DashboardController.php | <?php
namespace App\Http\Controllers;
use Illuminate\View\View;
class DashboardController extends Controller
{
public function index(): View
{
auth()->user()->load([
'favoritedConferences' => fn ($query) => $query->future(),
'submissions' => function ($query) {
... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Auth/SocialLoginController.php | app/Http/Controllers/Auth/SocialLoginController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Socialite;
class SocialLoginController extends Controller
{
public function redirect($service, Request $request)
{
return Socialit... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Auth/LoginController.php | app/Http/Controllers/Auth/LoginController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Http\Requests\Auth\LoginFormRequest;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Auth/ForgotPasswordController.php | app/Http/Controllers/Auth/ForgotPasswordController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
class ForgotPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|----... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Auth/ResetPasswordController.php | app/Http/Controllers/Auth/ResetPasswordController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
class ResetPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--------------... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Auth/RegisterController.php | app/Http/Controllers/Auth/RegisterController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Http\Requests\Auth\RegisterFormRequest;
use App\Models\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Hash;
use Illuminate\Sup... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Api/ConferencesController.php | app/Http/Controllers/Api/ConferencesController.php | <?php
namespace App\Http\Controllers\Api;
use App\ApiResources\Conference;
use App\Http\Controllers\Controller;
use App\Models\Conference as EloquentConference;
use Carbon\Carbon;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
class ConferencesController extends Controller
{
public function index... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Api/BiosController.php | app/Http/Controllers/Api/BiosController.php | <?php
namespace App\Http\Controllers\Api;
use App\ApiResources\Bio;
use App\Http\Controllers\Controller;
use Exception;
use Illuminate\Http\JsonResponse;
use Illuminate\Support\Facades\App;
class BiosController extends Controller
{
public function show($id): JsonResponse
{
try {
$bio = au... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Api/UserBiosController.php | app/Http/Controllers/Api/UserBiosController.php | <?php
namespace App\Http\Controllers\Api;
use App\ApiResources\Bio;
use App\Http\Controllers\Controller;
use Illuminate\Http\JsonResponse;
use Illuminate\Support\Facades\App;
class UserBiosController extends Controller
{
/**
* Display all of the given user's bios
*/
public function index($userId): ... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Api/UserTalksController.php | app/Http/Controllers/Api/UserTalksController.php | <?php
namespace App\Http\Controllers\Api;
use App\ApiResources\Talk;
use App\Http\Controllers\Controller;
use Illuminate\Http\JsonResponse;
use Illuminate\Support\Facades\App;
class UserTalksController extends Controller
{
/**
* Display all of the given user's talks
*/
public function index($userId... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Api/TalksController.php | app/Http/Controllers/Api/TalksController.php | <?php
namespace App\Http\Controllers\Api;
use App\ApiResources\Talk;
use App\Http\Controllers\Controller;
use Exception;
use Illuminate\Http\JsonResponse;
use Illuminate\Support\Facades\App;
class TalksController extends Controller
{
public function show($id): JsonResponse
{
try {
$talk =... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Controllers/Api/MeController.php | app/Http/Controllers/Api/MeController.php | <?php
namespace App\Http\Controllers\Api;
use App\ApiResources\Me;
use App\Http\Controllers\Controller;
use Illuminate\Http\JsonResponse;
class MeController extends Controller
{
public function index(): JsonResponse
{
$me = new Me(auth()->guard('api')->user());
return response()->jsonApi([
... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Http/Middleware/Social.php | app/Http/Middleware/Social.php | <?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response;
class Social
{
/**
* Handle an incoming request.
*/
public function handle(Request $request, Closure $next): Response
{
if (! in_array(strtolower($request->servi... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Mail/ContactRequest.php | app/Mail/ContactRequest.php | <?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class ContactRequest extends Mailable
{
use Queueable;
use SerializesModels;
public $email;
public $name;
public $userMessage;
public function __construct($email, $... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Casts/SpeakerPackage.php | app/Casts/SpeakerPackage.php | <?php
namespace App\Casts;
use Cknow\Money\Money;
use Illuminate\Contracts\Database\Eloquent\Castable;
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\App;
use Ill... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Casts/Url.php | app/Casts/Url.php | <?php
namespace App\Casts;
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
use Illuminate\Database\Eloquent\Model;
class Url implements CastsAttributes
{
public function get(Model $model, string $key, mixed $value, array $attributes)
{
return ($value && ! str_contains($value, 'http')) ? "... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Casts/Coordinates.php | app/Casts/Coordinates.php | <?php
namespace App\Casts;
class Coordinates
{
protected $latitude;
protected $longitude;
public function __construct($latitude, $longitude)
{
$this->latitude = $latitude;
$this->longitude = $longitude;
}
public function getLatitude()
{
return $this->latitude;
... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Filament/Resources/ConferenceIssueResource.php | app/Filament/Resources/ConferenceIssueResource.php | <?php
namespace App\Filament\Resources;
use App\Filament\Resources\ConferenceIssueResource\Pages\ListConferenceIssues;
use App\Filament\Resources\ConferenceIssueResource\Pages\ViewConferenceIssue;
use App\Models\ConferenceIssue;
use Filament\Forms\Components\Actions;
use Filament\Forms\Components\Actions\Action;
use ... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Filament/Resources/ConferenceResource.php | app/Filament/Resources/ConferenceResource.php | <?php
namespace App\Filament\Resources;
use App\Filament\Resources\ConferenceResource\Pages\EditConference;
use App\Filament\Resources\ConferenceResource\Pages\ListConferences;
use App\Models\Conference;
use Filament\Forms\Components\DatePicker;
use Filament\Forms\Components\Grid;
use Filament\Forms\Components\Textar... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Filament/Resources/ConferenceResource/Pages/ListConferences.php | app/Filament/Resources/ConferenceResource/Pages/ListConferences.php | <?php
namespace App\Filament\Resources\ConferenceResource\Pages;
use App\Filament\Resources\ConferenceResource;
use Filament\Resources\Pages\ListRecords;
class ListConferences extends ListRecords
{
protected static string $resource = ConferenceResource::class;
protected function getHeaderActions(): array
... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Filament/Resources/ConferenceResource/Pages/EditConference.php | app/Filament/Resources/ConferenceResource/Pages/EditConference.php | <?php
namespace App\Filament\Resources\ConferenceResource\Pages;
use App\Filament\Resources\ConferenceResource;
use Filament\Pages\Actions\Action;
use Filament\Resources\Pages\EditRecord;
class EditConference extends EditRecord
{
protected static string $resource = ConferenceResource::class;
public function... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Filament/Resources/ConferenceIssueResource/Pages/ViewConferenceIssue.php | app/Filament/Resources/ConferenceIssueResource/Pages/ViewConferenceIssue.php | <?php
namespace App\Filament\Resources\ConferenceIssueResource\Pages;
use App\Filament\Resources\ConferenceIssueResource;
use App\Filament\Resources\ConferenceResource;
use Filament\Forms\Components\Textarea;
use Filament\Pages\Actions\Action;
use Filament\Resources\Pages\ViewRecord;
class ViewConferenceIssue extend... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Filament/Resources/ConferenceIssueResource/Pages/ListConferenceIssues.php | app/Filament/Resources/ConferenceIssueResource/Pages/ListConferenceIssues.php | <?php
namespace App\Filament\Resources\ConferenceIssueResource\Pages;
use App\Filament\Resources\ConferenceIssueResource;
use Filament\Resources\Pages\ManageRecords;
class ListConferenceIssues extends ManageRecords
{
protected static string $resource = ConferenceIssueResource::class;
protected function getH... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Rules/ValidAmountForCurrentLocale.php | app/Rules/ValidAmountForCurrentLocale.php | <?php
namespace App\Rules;
use Cknow\Money\Money;
use Closure;
use Illuminate\Contracts\Validation\DataAwareRule;
use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Str;
use Money\Exception\ParserException;
class ValidAmountForCurrentLocale implements DataA... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Collections/TalksCollection.php | app/Collections/TalksCollection.php | <?php
namespace App\Collections;
use App\Models\Talk;
use Illuminate\Database\Eloquent\Collection;
class TalksCollection extends Collection
{
public function sortByTitle()
{
return $this->sortBy(function (Talk $talk) {
return strtolower($talk->currentRevision->title);
})->values()... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Services/Currency.php | app/Services/Currency.php | <?php
namespace App\Services;
use Cknow\Money\Money;
use Symfony\Component\Intl\Currencies;
class Currency
{
public static function all()
{
return collect(Currencies::getCurrencyCodes())
->filter(function ($item) {
return Money::isValidCurrency($item);
})
... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Services/CreateBioForm.php | app/Services/CreateBioForm.php | <?php
namespace App\Services;
use App\Exceptions\ValidationException;
use App\Models\Bio;
use Illuminate\Support\Facades\Validator;
class CreateBioForm
{
private $rules = [
'nickname' => ['required'],
'body' => ['required'],
'public' => [],
];
private $input;
private $user;
... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
eventyio/symposium | https://github.com/eventyio/symposium/blob/ed8b00e3bd4f116a3befea91ad26496c77704c14/app/Services/FakeCaptcha.php | app/Services/FakeCaptcha.php | <?php
namespace App\Services;
use Captcha\Captcha;
class FakeCaptcha extends Captcha
{
public function __construct(protected $valid = true) {}
public static function invalid()
{
return new static(false);
}
public function check($captchaResponse = false)
{
return $this;
}... | php | MIT | ed8b00e3bd4f116a3befea91ad26496c77704c14 | 2026-01-05T02:37:45.326461Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.