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 |
|---|---|---|---|---|---|---|---|---|
Leakfarsi/Leakfa.com | https://github.com/Leakfarsi/Leakfa.com/blob/b7b80bd19304de08b3497843af019134fb81525e/api/search.php | api/search.php | <?php
require_once '../src/common.php';
$res = [];
$res['status'] = 0;
if(!is_sha1($_GET['hash'])){
$res['status'] = '1';
$res['error'] = 'Input format error';
}
if($_GET['mode'] == 'turnstile'){
$captcha = turnstile_verify($_GET['token']);
if(!$captcha->success){
$res['status'] = '1';
$res[... | php | MIT | b7b80bd19304de08b3497843af019134fb81525e | 2026-01-05T02:13:51.508089Z | false |
Leakfarsi/Leakfa.com | https://github.com/Leakfarsi/Leakfa.com/blob/b7b80bd19304de08b3497843af019134fb81525e/api/stat.php | api/stat.php | <?php
require "../src/common.php";
header('Content-Type: application/json');
echo json_encode(site_stat());
| php | MIT | b7b80bd19304de08b3497843af019134fb81525e | 2026-01-05T02:13:51.508089Z | false |
Leakfarsi/Leakfa.com | https://github.com/Leakfarsi/Leakfa.com/blob/b7b80bd19304de08b3497843af019134fb81525e/api/unsubscribe.php | api/unsubscribe.php | <?php
require_once '../src/common.php';
$res = [];
$res['status'] = 0;
if (!isset($_GET['hash']) || !isset($_GET['email']) || !isset($_GET['token'])) {
$res['status'] = '1';
$res['error'] = 'پارامترهای ضروری ارسال نشدهاند';
header('Content-Type: application/json');
echo json_encode($res);
exit;
}... | php | MIT | b7b80bd19304de08b3497843af019134fb81525e | 2026-01-05T02:13:51.508089Z | false |
Leakfarsi/Leakfa.com | https://github.com/Leakfarsi/Leakfa.com/blob/b7b80bd19304de08b3497843af019134fb81525e/api/subscription_status.php | api/subscription_status.php | <?php
require_once '../src/common.php';
$res = [];
$res['status'] = 0;
if (!isset($_GET['email']) || !isset($_GET['token'])) {
$res['status'] = '1';
$res['error'] = 'پارامترهای ضروری ارسال نشدهاند';
header('Content-Type: application/json');
echo json_encode($res);
exit;
}
if (!filter_var($_GET['... | php | MIT | b7b80bd19304de08b3497843af019134fb81525e | 2026-01-05T02:13:51.508089Z | false |
zendframework/ZendSkeletonModule | https://github.com/zendframework/ZendSkeletonModule/blob/a4281740411b4712b0f85ca91f3f12ca1d1a46fa/src/Module.php | src/Module.php | <?php
/**
* @link http://github.com/zendframework/ZendSkeletonModule for the canonical source repository
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ZendSkeletonModule;
class Module
{... | php | BSD-3-Clause | a4281740411b4712b0f85ca91f3f12ca1d1a46fa | 2026-01-05T02:14:03.997061Z | false |
zendframework/ZendSkeletonModule | https://github.com/zendframework/ZendSkeletonModule/blob/a4281740411b4712b0f85ca91f3f12ca1d1a46fa/src/Controller/SkeletonController.php | src/Controller/SkeletonController.php | <?php
/**
* @link http://github.com/zendframework/ZendSkeletonModule for the canonical source repository
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ZendSkeletonModule\Controller;
use... | php | BSD-3-Clause | a4281740411b4712b0f85ca91f3f12ca1d1a46fa | 2026-01-05T02:14:03.997061Z | false |
zendframework/ZendSkeletonModule | https://github.com/zendframework/ZendSkeletonModule/blob/a4281740411b4712b0f85ca91f3f12ca1d1a46fa/tests/bootstrap.php | tests/bootstrap.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonModule for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
... | php | BSD-3-Clause | a4281740411b4712b0f85ca91f3f12ca1d1a46fa | 2026-01-05T02:14:03.997061Z | false |
zendframework/ZendSkeletonModule | https://github.com/zendframework/ZendSkeletonModule/blob/a4281740411b4712b0f85ca91f3f12ca1d1a46fa/tests/ZendSkeletonModule/SampleTest.php | tests/ZendSkeletonModule/SampleTest.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonModule for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
... | php | BSD-3-Clause | a4281740411b4712b0f85ca91f3f12ca1d1a46fa | 2026-01-05T02:14:03.997061Z | false |
zendframework/ZendSkeletonModule | https://github.com/zendframework/ZendSkeletonModule/blob/a4281740411b4712b0f85ca91f3f12ca1d1a46fa/tests/ZendSkeletonModule/Framework/TestCase.php | tests/ZendSkeletonModule/Framework/TestCase.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonModule for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
... | php | BSD-3-Clause | a4281740411b4712b0f85ca91f3f12ca1d1a46fa | 2026-01-05T02:14:03.997061Z | false |
zendframework/ZendSkeletonModule | https://github.com/zendframework/ZendSkeletonModule/blob/a4281740411b4712b0f85ca91f3f12ca1d1a46fa/config/module.config.php | config/module.config.php | <?php
namespace ZendSkeletonModule;
use Zend\ServiceManager\Factory\InvokableFactory;
return [
'controllers' => [
'factories' => [
Controller\SkeletonController::class => InvokableFactory::class,
],
],
'router' => [
'routes' => [
'module-name-here' => [
... | php | BSD-3-Clause | a4281740411b4712b0f85ca91f3f12ca1d1a46fa | 2026-01-05T02:14:03.997061Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/create-amazon-pay-phar.php | create-amazon-pay-phar.php | <?php
$p = new Phar('amazon-pay.phar', FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::KEY_AS_FILENAME, 'amazon-pay.phar');
$p->startBuffering();
$p->setStub('<?php Phar::mapPhar(); require \'phar://amazon-pay.phar/AmazonPay/Client.php\'; require \'phar://amazon-pay.phar/AmazonPay/IpnHandler.p... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/AmazonPay/Client.php | AmazonPay/Client.php | <?php
namespace AmazonPay;
/* Class Client
* Takes configuration information
* Makes API calls to MWS for Amazon Pay
* returns Response Object
*/
require_once 'ResponseParser.php';
require_once 'HttpCurl.php';
require_once 'ClientInterface.php';
require_once 'Regions.php';
if (!interface_exists('\Psr\Log\LoggerAw... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | true |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/AmazonPay/HttpCurlInterface.php | AmazonPay/HttpCurlInterface.php | <?php
namespace AmazonPay;
/* Interface for HttpCurl.php */
interface HttpCurlInterface
{
/* Set Http header for Access token for the GetUserInfo call */
public function setHttpHeader();
/* Setter for Access token to get the user info */
public function setAccessToken($accesstoken)... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/AmazonPay/ResponseParser.php | AmazonPay/ResponseParser.php | <?php
namespace AmazonPay;
/* ResponseParser
* Methods provided to convert the Response from the POST to XML, Array or JSON
*/
require_once 'ResponseInterface.php';
class ResponseParser implements ResponseInterface
{
public $response = null;
public function __construct($response=null)
{
$t... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/AmazonPay/IpnHandlerInterface.php | AmazonPay/IpnHandlerInterface.php | <?php
namespace AmazonPay;
/* Interface for IpnHandler.php */
interface IpnHandlerInterface
{
/* returnMessage() - JSON decode the raw [Message] portion of the IPN */
public function returnMessage();
/* toJson() - Converts IPN [Message] field to JSON
*
* Has child elements
* ['Noti... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/AmazonPay/ResponseInterface.php | AmazonPay/ResponseInterface.php | <?php
namespace AmazonPay;
/* Interface for ResponseParser.php */
interface ResponseInterface
{
/* Returns the XML portion of the response */
public function toXml();
/* toJson - converts XML into Json
* @param $response [XML]
*/
public function toJson();
/* toArr... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/AmazonPay/ClientInterface.php | AmazonPay/ClientInterface.php | <?php
namespace AmazonPay;
/* Interface class to showcase the public API methods for Amazon Pay */
interface ClientInterface
{
/* Setter for sandbox
* Sets the boolean value for config['sandbox'] variable
*/
public function setSandbox($value);
/* Setter for config['client_id']
* Sets the ... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/AmazonPay/Regions.php | AmazonPay/Regions.php | <?php
namespace AmazonPay;
/* Class Regions
* Defines all Region specific properties
*/
class Regions
{
public $mwsServiceUrls = array('eu' => 'mws-eu.amazonservices.com',
'na' => 'mws.amazonservices.com',
'jp' => 'mws.amazonservices.jp');
public $profileEndpointUrls = array('uk' => 'amaz... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/AmazonPay/IpnHandler.php | AmazonPay/IpnHandler.php | <?php
namespace AmazonPay;
/* Class IPN_Handler
* Takes headers and body of the IPN message as input in the constructor
* verifies that the IPN is from the right resource and has the valid data
*/
require_once 'HttpCurl.php';
require_once 'IpnHandlerInterface.php';
if (!interface_exists('\Psr\Log\LoggerAwareInterf... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/AmazonPay/HttpCurl.php | AmazonPay/HttpCurl.php | <?php
namespace AmazonPay;
/* Class HttpCurl
* Handles Curl POST function for all requests
*/
require_once 'HttpCurlInterface.php';
class HttpCurl implements HttpCurlInterface
{
private $config = array();
private $header = false;
private $accessToken = null;
private $curlResponseInfo = null;
pr... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/Psr/Log/LoggerAwareInterface.php | Psr/Log/LoggerAwareInterface.php | <?php
namespace Psr\Log;
/**
* Describes a logger-aware instance.
*/
interface LoggerAwareInterface
{
/**
* Sets a logger instance on the object.
*
* @param LoggerInterface $logger
*
* @return null
*/
public function setLogger(LoggerInterface $logger);
}
| php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/Psr/Log/AbstractLogger.php | Psr/Log/AbstractLogger.php | <?php
namespace Psr\Log;
/**
* This is a simple Logger implementation that other Loggers can inherit from.
*
* It simply delegates all log-level-specific methods to the `log` method to
* reduce boilerplate code that a simple Logger that does the same thing with
* messages regardless of the error level has to imp... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/Psr/Log/LogLevel.php | Psr/Log/LogLevel.php | <?php
namespace Psr\Log;
/**
* Describes log levels.
*/
class LogLevel
{
const EMERGENCY = 'emergency';
const ALERT = 'alert';
const CRITICAL = 'critical';
const ERROR = 'error';
const WARNING = 'warning';
const NOTICE = 'notice';
const INFO = 'info';
const DEBUG ... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/Psr/Log/LoggerAwareTrait.php | Psr/Log/LoggerAwareTrait.php | <?php
namespace Psr\Log;
/**
* Basic Implementation of LoggerAwareInterface.
*/
trait LoggerAwareTrait
{
/**
* The logger instance.
*
* @var LoggerInterface
*/
protected $logger;
/**
* Sets a logger.
*
* @param LoggerInterface $logger
*/
public function setLo... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/Psr/Log/LoggerTrait.php | Psr/Log/LoggerTrait.php | <?php
namespace Psr\Log;
/**
* This is a simple Logger trait that classes unable to extend AbstractLogger
* (because they extend another class, etc) can include.
*
* It simply delegates all log-level-specific methods to the `log` method to
* reduce boilerplate code that a simple Logger that does the same thing w... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/Psr/Log/NullLogger.php | Psr/Log/NullLogger.php | <?php
namespace Psr\Log;
/**
* This Logger can be used to avoid conditional log calls.
*
* Logging should always be optional, and if no logger is provided to your
* library creating a NullLogger instance to have something to throw logs at
* is a good way to avoid littering your code with `if ($this->logger) { }`... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/Psr/Log/LoggerInterface.php | Psr/Log/LoggerInterface.php | <?php
namespace Psr\Log;
/**
* Describes a logger instance.
*
* The message MUST be a string or object implementing __toString().
*
* The message MAY contain placeholders in the form: {foo} where foo
* will be replaced by the context data in key "foo".
*
* The context array can contain arbitrary data. The onl... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/Psr/Log/InvalidArgumentException.php | Psr/Log/InvalidArgumentException.php | <?php
namespace Psr\Log;
class InvalidArgumentException extends \InvalidArgumentException
{
}
| php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/Psr/Log/Test/LoggerInterfaceTest.php | Psr/Log/Test/LoggerInterfaceTest.php | <?php
namespace Psr\Log\Test;
use Psr\Log\LoggerInterface;
use Psr\Log\LogLevel;
/**
* Provides a base test class for ensuring compliance with the LoggerInterface.
*
* Implementors can extend the class and implement abstract methods to run this
* as part of their test suite.
*/
abstract class LoggerInterfaceTes... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/tst/unit/Signature.php | tst/unit/Signature.php | <?php
namespace AmazonPay;
class Signature
{
const MWS_VERSION = '2013-01-01';
private $config = array();
private $signature = null;
private $mwsEndpointPath = null;
private $mwsEndpointUrl = null;
private $modePath = null;
private $mwsServiceUrl = null;
private $mwsServi... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/tst/unit/IpnHandlerTest.php | tst/unit/IpnHandlerTest.php | <?php
namespace AmazonPay;
require_once 'AmazonPay/IpnHandler.php';
class IpnHandlertest extends \PHPUnit_Framework_TestCase
{
private $configParams = array(
'cabundle_file' => null,
'proxy_host' => null,
'proxy_port' => -1,
'proxy_username'... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | false |
amzn/amazon-pay-sdk-php | https://github.com/amzn/amazon-pay-sdk-php/blob/ec0df2005cdffae85ccecb2004df48586e4e4b18/tst/unit/ClientTest.php | tst/unit/ClientTest.php | <?php
namespace AmazonPay;
require_once 'AmazonPay/Client.php';
require_once 'AmazonPay/ResponseParser.php';
require_once 'Signature.php';
class ClientTest extends \PHPUnit_Framework_TestCase
{
private $configParams = array(
'merchant_id' => 'MERCHANT1234567',
'access_key'... | php | Apache-2.0 | ec0df2005cdffae85ccecb2004df48586e4e4b18 | 2026-01-05T02:14:13.671315Z | true |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/.php-cs-fixer.php | .php-cs-fixer.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
$fileHeaderComment = <<<'EOF'
This file is part of the GifExceptionBundle ... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/GifExceptionBundle.php | GifExceptionBundle.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Joli\GifExceptionBundle;
use Symfony\Component\HttpKernel\Bundle\Bu... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/tests/FunctionalTest.php | tests/FunctionalTest.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Joli\GifExceptionBundle\Tests;
use Joli\GifExceptionBundle\Tests\ap... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/tests/KernelTestCase.php | tests/KernelTestCase.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Joli\GifExceptionBundle\Tests;
use Joli\GifExceptionBundle\Tests\ap... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/tests/app/bootstrap.php | tests/app/bootstrap.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
$loader = require __DIR__ . '/../../vendor/autoload.php';
require __DIR__ . '/... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/tests/app/src/Kernel.php | tests/app/src/Kernel.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Joli\GifExceptionBundle\Tests\app\src;
use Joli\GifExceptionBundle\... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/tests/app/src/TestController.php | tests/app/src/TestController.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Joli\GifExceptionBundle\Tests\app\src;
use Symfony\Component\HttpFo... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/tests/app/public/index.php | tests/app/public/index.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Joli\GifExceptionBundle\Tests\app\src\Kernel;
use Symfony\Component\ErrorH... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/tests/Command/GifOptimizerCommandTest.php | tests/Command/GifOptimizerCommandTest.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Joli\GifExceptionBundle\Tests\Command;
use ImageOptimizer\Exception... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/DependencyInjection/GifExceptionExtension.php | DependencyInjection/GifExceptionExtension.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Joli\GifExceptionBundle\DependencyInjection;
use Symfony\Component\... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/bin/optimizer.php | bin/optimizer.php | #!/usr/bin/env php
<?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Joli\GifExceptionBundle\Command\GifOptimizerCommand;
us... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/Resources/config/services.php | Resources/config/services.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Joli\GifExceptionBundle\DependencyInjection\Loader\Configurator;
us... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/EventListener/ReplaceImageListener.php | EventListener/ReplaceImageListener.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Joli\GifExceptionBundle\EventListener;
use Symfony\Component\Asset\... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jolicode/GifExceptionBundle | https://github.com/jolicode/GifExceptionBundle/blob/8980a3544d28ff35272f1e50d3795e24a9864baa/Command/GifOptimizerCommand.php | Command/GifOptimizerCommand.php | <?php
/*
* This file is part of the GifExceptionBundle project.
*
* (c) JoliCode <coucou@jolicode.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Joli\GifExceptionBundle\Command;
use ImageOptimizer\Optimizer;
use ... | php | MIT | 8980a3544d28ff35272f1e50d3795e24a9864baa | 2026-01-05T02:12:50.937065Z | false |
jakajancar/DropboxUploader | https://github.com/jakajancar/DropboxUploader/blob/8617e7a90c8620ec30390d801b7759214ef1ee95/example.php | example.php | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Dropbox Uploader Demo</title>
</head>
<body>
<h1>Dropbox Uploader Demo</h1>
<?php
if ($_POST) {
require 'DropboxUploader.php';
try {
$uploader = null;
if ($_FILES['file']['error'] ... | php | MIT | 8617e7a90c8620ec30390d801b7759214ef1ee95 | 2026-01-05T02:14:33.924496Z | false |
jakajancar/DropboxUploader | https://github.com/jakajancar/DropboxUploader/blob/8617e7a90c8620ec30390d801b7759214ef1ee95/DropboxUploader.php | DropboxUploader.php | <?php
/**
* Dropbox Uploader
*
* Copyright (c) 2009 Jaka Jancar
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use... | php | MIT | 8617e7a90c8620ec30390d801b7759214ef1ee95 | 2026-01-05T02:14:33.924496Z | false |
jakajancar/DropboxUploader | https://github.com/jakajancar/DropboxUploader/blob/8617e7a90c8620ec30390d801b7759214ef1ee95/scripts/test-filemtime.php | scripts/test-filemtime.php | <?php
/**
* test that filemtime() returns Unix timestamp (UTC) on current system
*
* @link http://3v4l.org/jGmdV
*/
$nowHour = isset($_SERVER['REQUEST_TIME']) ? $_SERVER['REQUEST_TIME'] : time();
$hostname = php_uname('n');
$formatRfc = 'D, d M Y H:i:s O';
$timestampStartOfUnixEpoch = 0; // start of the Unix e... | php | MIT | 8617e7a90c8620ec30390d801b7759214ef1ee95 | 2026-01-05T02:14:33.924496Z | false |
jakajancar/DropboxUploader | https://github.com/jakajancar/DropboxUploader/blob/8617e7a90c8620ec30390d801b7759214ef1ee95/test/BaseTestCase.php | test/BaseTestCase.php | <?php
/**
* This file is part of Dropbox Uploader Phpunit testsuite
*
* Copyright (c) 2014 hakre <http://hakre.wordpress.com/>
*
* See COPYING
*/
/**
* Class BaseTestCase
*/
class BaseTestCase extends PHPUnit_Framework_TestCase
{
/**
* create DropboxUploader with default test configuration
*
... | php | MIT | 8617e7a90c8620ec30390d801b7759214ef1ee95 | 2026-01-05T02:14:33.924496Z | false |
jakajancar/DropboxUploader | https://github.com/jakajancar/DropboxUploader/blob/8617e7a90c8620ec30390d801b7759214ef1ee95/test/integration/DropboxIntegrationTest.php | test/integration/DropboxIntegrationTest.php | <?php
/**
* This file is part of Dropbox Uploader Phpunit testsuite
*
* Copyright (c) 2014 hakre <http://hakre.wordpress.com/>
*
* See COPYING
*/
/**
* Class LoginTest
*/
class DropboxIntegrationTest extends BaseTestCase
{
/**
* @var DropboxUploader
*/
private $subject;
/**
* Sets u... | php | MIT | 8617e7a90c8620ec30390d801b7759214ef1ee95 | 2026-01-05T02:14:33.924496Z | false |
jakajancar/DropboxUploader | https://github.com/jakajancar/DropboxUploader/blob/8617e7a90c8620ec30390d801b7759214ef1ee95/test/unit/DropboxUploaderTest.php | test/unit/DropboxUploaderTest.php | <?php
/**
* This file is part of Dropbox Uploader Phpunit testsuite
*
* Copyright (c) 2014 hakre <http://hakre.wordpress.com/>
*
* See COPYING
*/
/**
* Class DropboxUploaderTest
*/
class DropboxUploaderTest extends BaseTestCase
{
/**
* @test
*/
public function testConstructor() {
$thi... | php | MIT | 8617e7a90c8620ec30390d801b7759214ef1ee95 | 2026-01-05T02:14:33.924496Z | false |
jakajancar/DropboxUploader | https://github.com/jakajancar/DropboxUploader/blob/8617e7a90c8620ec30390d801b7759214ef1ee95/test/unit/RequirementsTest.php | test/unit/RequirementsTest.php | <?php
/**
* This file is part of Dropbox Uploader Phpunit testsuite
*
* Copyright (c) 2014 hakre <http://hakre.wordpress.com/>
*
* See COPYING
*/
/**
* Class RequirementsTest
*/
class RequirementsTest extends BaseTestCase
{
/**
* preg_match named subpattern and duplicate names support
*
* @t... | php | MIT | 8617e7a90c8620ec30390d801b7759214ef1ee95 | 2026-01-05T02:14:33.924496Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/server.php | server.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. Thi... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Exceptions/Handler.php | app/Exceptions/Handler.php | <?php
namespace App\Exceptions;
use Exception;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Http\Exceptions\PostTooLargeException;
use Throwable;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Kernel.php | app/Http/Kernel.php | <?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Requests/CreateCharacterRequest.php | app/Http/Requests/CreateCharacterRequest.php | <?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CreateCharacterRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Requests/CreateItemRequest.php | app/Http/Requests/CreateItemRequest.php | <?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CreateItemRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Requests/UploadImageRequest.php | app/Http/Requests/UploadImageRequest.php | <?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UploadImageRequest extends FormRequest
{
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function ru... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Requests/UpdateCharacterAttributeRequest.php | app/Http/Requests/UpdateCharacterAttributeRequest.php | <?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateCharacterAttributeRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/CharacterController.php | app/Http/Controllers/CharacterController.php | <?php
namespace App\Http\Controllers;
use App\Models\Character;
use App\Modules\Character\Application\Services\CharacterService;
use App\Modules\Character\UI\Http\CommandMappers\AttackCharacterCommandMapper;
use App\Modules\Character\UI\Http\CommandMappers\CreateCharacterCommandMapper;
use App\Http\Requests\CreateCha... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/CharacterBattleController.php | app/Http/Controllers/CharacterBattleController.php | <?php
namespace App\Http\Controllers;
use App\Models\Character;
class CharacterBattleController extends Controller
{
public function index(string $characterId)
{
$character = Character::query()->findOrFail($characterId);
return view('character.battle.index', compact('character'));
}
}
| php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/CharacterStoreController.php | app/Http/Controllers/CharacterStoreController.php | <?php
namespace App\Http\Controllers;
use App\Models\Character;
use Illuminate\Contracts\View\View;
use Illuminate\Http\Request;
class CharacterStoreController extends Controller
{
public function __construct()
{
$this->middleware('auth');
$this->middleware('has.character');
}
public... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/CharacterMessageController.php | app/Http/Controllers/CharacterMessageController.php | <?php
namespace App\Http\Controllers;
use App\Models\Character;
use App\Modules\Message\Application\Services\MessageService;
use App\Modules\Message\UI\Http\CommandMappers\SendMessageCommandMapper;
use Illuminate\Http\Request;
class CharacterMessageController extends Controller
{
public function __construct()
... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/Controller.php | app/Http/Controllers/Controller.php | <?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use AuthorizesReques... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/BattleController.php | app/Http/Controllers/BattleController.php | <?php
namespace App\Http\Controllers;
use App\Models\Battle;
class BattleController extends Controller
{
public function __construct()
{
$this->middleware('auth', ['only' => ['show']]);
$this->middleware('has.character', ['only' => ['show']]);
}
public function show(string $battleId... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/ProfilePictureController.php | app/Http/Controllers/ProfilePictureController.php | <?php
namespace App\Http\Controllers;
use App\Http\Requests\UploadImageRequest;
use App\Modules\Character\Domain\CharacterId;
use App\Modules\Image\Application\Services\ProfilePictureService;
use App\Modules\Image\UI\Http\CommandMappers\AddImageCommandMapper;
class ProfilePictureController extends Controller
{
p... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/ItemCreateController.php | app/Http/Controllers/ItemCreateController.php | <?php
namespace App\Http\Controllers;
use App\Http\Requests\CreateItemRequest;
use App\Modules\Equipment\Application\Services\ItemService;
use App\Modules\Equipment\UI\Http\CommandMappers\CreateItemCommandMapper;
use Illuminate\Http\Response;
class ItemCreateController extends Controller
{
/**
* @var ItemSe... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/LocationController.php | app/Http/Controllers/LocationController.php | <?php
namespace App\Http\Controllers;
use App\Models\Location;
class LocationController extends Controller
{
public function __construct()
{
$this->middleware('auth', ['only' => ['show']]);
$this->middleware('has.character', ['only' => ['show']]);
$this->middleware('character.locatio... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/MessageController.php | app/Http/Controllers/MessageController.php | <?php
namespace App\Http\Controllers;
use Illuminate\View\View;
class MessageController extends Controller
{
public function __construct()
{
$this->middleware(['auth', 'has.character']);
}
public function index(): View
{
return view('message.index');
}
}
| php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/InventoryController.php | app/Http/Controllers/InventoryController.php | <?php
namespace App\Http\Controllers;
use App\Models\Character;
use App\Modules\Equipment\Application\Services\InventoryService;
use App\Modules\Equipment\UI\Http\CommandMappers\EquipItemCommandMapper;
use App\Modules\Level\Application\Services\LevelService;
use Exception;
use Illuminate\Contracts\View\View;
use Illu... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/OwnStoreController.php | app/Http/Controllers/OwnStoreController.php | <?php
namespace App\Http\Controllers;
use App\Models\Character;
use Illuminate\Contracts\View\View;
use Illuminate\Http\Request;
class OwnStoreController extends Controller
{
public function __construct()
{
$this->middleware('auth');
$this->middleware('has.character');
}
public funct... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/Auth/ConfirmPasswordController.php | app/Http/Controllers/Auth/ConfirmPasswordController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ConfirmsPasswords;
class ConfirmPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Confirm Password Controller
|--------... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/Auth/LoginController.php | app/Http/Controllers/Auth/LoginController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|----------------------------... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/Auth/VerificationController.php | app/Http/Controllers/Auth/VerificationController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\VerifiesEmails;
class VerificationController extends Controller
{
/*
|--------------------------------------------------------------------------
| Email Verification Controller
|------------... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/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 | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/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 | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/Auth/RegisterController.php | app/Http/Controllers/Auth/RegisterController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Modules\User\Application\Services\UserService;
use App\Modules\User\UI\Http\CommandMappers\CreateUserCommandMapper;
use App\Http\Controllers\Controller;
use App\Models\User;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
cla... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/Api/ManageInventoryController.php | app/Http/Controllers/Api/ManageInventoryController.php | <?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Modules\Equipment\Application\Services\InventoryService;
use App\Modules\Equipment\UI\Http\CommandMappers\EquipItemCommandMapper;
use Exception;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Support\... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/Api/ManageStoreController.php | app/Http/Controllers/Api/ManageStoreController.php | <?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Modules\Trade\Application\Services\ManageStoreService;
use App\Modules\Trade\UI\Http\CommandMappers\ChangeItemPriceCommandMapper;
use App\Modules\Trade\UI\Http\CommandMappers\MoveItemToContainerCommandMapper;
use App\Modules\Trade\... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Controllers/Api/TradeController.php | app/Http/Controllers/Api/TradeController.php | <?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Modules\Trade\Application\Services\TradeService;
use App\Modules\Trade\UI\Http\CommandMappers\BuyItemCommandMapper;
use App\Modules\Trade\UI\Http\CommandMappers\SellItemCommandMapper;
use Exception;
use Illuminate\Http\JsonResponse... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/CanAttack.php | app/Http/Middleware/CanAttack.php | <?php
namespace App\Http\Middleware;
use App\Models\Character;
use App\Models\User;
use Closure;
use Illuminate\Http\Request;
class CanAttack
{
/**
* Handle an incoming request.
*
* @param Request $request
* @param Closure $next
* @return mixed
*/
public function handle($req... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/NoCharacterYet.php | app/Http/Middleware/NoCharacterYet.php | <?php
namespace App\Http\Middleware;
use App\Models\User;
use Closure;
class NoCharacterYet
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/CanMoveToLocation.php | app/Http/Middleware/CanMoveToLocation.php | <?php
namespace App\Http\Middleware;
use App\Models\Character;
use App\Models\Location;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class CanMoveToLocation
{
/**
* Handle an incoming request.
*
* @param Request $request
* @param Closure $next
* @ret... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/IsAdmin.php | app/Http/Middleware/IsAdmin.php | <?php
namespace App\Http\Middleware;
use App\Models\User;
use Closure;
class IsAdmin
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
/** ... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/UpdateLastUserActivity.php | app/Http/Middleware/UpdateLastUserActivity.php | <?php
namespace App\Http\Middleware;
use App\Models\User;
use Closure;
class UpdateLastUserActivity
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/IsCharacterLocation.php | app/Http/Middleware/IsCharacterLocation.php | <?php
namespace App\Http\Middleware;
use App\Models\User;
use Closure;
class IsCharacterLocation
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/UserOwnsCharacter.php | app/Http/Middleware/UserOwnsCharacter.php | <?php
namespace App\Http\Middleware;
use App\Models\Character;
use App\Models\User;
use Closure;
class UserOwnsCharacter
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($reques... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/Authenticate.php | app/Http/Middleware/Authenticate.php | <?php
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
class Authenticate extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param \Illuminate\Http\Request $request
* @return string
*/
... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/RedirectIfAuthenticated.php | app/Http/Middleware/RedirectIfAuthenticated.php | <?php
namespace App\Http\Middleware;
use App\Providers\RouteServiceProvider;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $nex... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/TrustProxies.php | app/Http/Middleware/TrustProxies.php | <?php
namespace App\Http\Middleware;
use Fideloper\Proxy\TrustProxies as Middleware;
use Illuminate\Http\Request;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array|string|null
*/
protected $proxies;
/**
* The headers that shou... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/PreventRequestsDuringMaintenance.php | app/Http/Middleware/PreventRequestsDuringMaintenance.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware;
class PreventRequestsDuringMaintenance extends Middleware
{
/**
* The URIs that should be reachable while maintenance mode is enabled.
*
* @var array
*/
protected... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/TrimStrings.php | app/Http/Middleware/TrimStrings.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'current_password',
'passw... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/HasCharacter.php | app/Http/Middleware/HasCharacter.php | <?php
namespace App\Http\Middleware;
use App\Models\User;
use Closure;
class HasCharacter
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/TrustHosts.php | app/Http/Middleware/TrustHosts.php | <?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustHosts as Middleware;
class TrustHosts extends Middleware
{
/**
* Get the host patterns that should be trusted.
*
* @return array
*/
public function hosts()
{
return [
$this->allSubdomainsOfApp... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/EncryptCookies.php | app/Http/Middleware/EncryptCookies.php | <?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
class EncryptCookies extends Middleware
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
//
];
}
| php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/Middleware/VerifyCsrfToken.php | app/Http/Middleware/VerifyCsrfToken.php | <?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
use Illuminate\Session\TokenMismatchException;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/ViewComposers/BattlesComposer.php | app/Http/ViewComposers/BattlesComposer.php | <?php
namespace App\Http\ViewComposers;
use App\Models\Battle;
use App\Models\Character;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Support\Arr;
use Illuminate\View\View;
class BattlesComposer
{
/**
* Bind data to the view.
*
* @param Vie... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/ViewComposers/MessagesComposer.php | app/Http/ViewComposers/MessagesComposer.php | <?php
namespace App\Http\ViewComposers;
use App\Models\Character;
use App\Models\Message;
use Illuminate\Database\Query\Builder;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\View\View;
class MessagesComposer
{
/**
* Bind data to the view.
*
* @param View ... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
mchekin/rpg | https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Http/ViewComposers/CharacterGeneralInfoComposer.php | app/Http/ViewComposers/CharacterGeneralInfoComposer.php | <?php
namespace App\Http\ViewComposers;
use App\Models\Character;
use App\Modules\Level\Application\Services\LevelService;
use Illuminate\Support\Arr;
use Illuminate\View\View;
class CharacterGeneralInfoComposer
{
/**
* @var LevelService
*/
private $levelService;
public function __construct(Le... | php | MIT | 5e4b129f4c9a132e5f4841029dfb18436bb393b3 | 2026-01-05T02:14:36.098984Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.