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 |
|---|---|---|---|---|---|---|---|---|
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/views/departments/all_departments.php | application/views/departments/all_departments.php |
<div class="page-title">
<div class="title_left">
<h3><?php echo $title; ?></h3>
</div>
<div class="title_right">
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
<form action="" method="get">
<div class="input-group">
<input type="text" class="form-contro... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/doctypes.php | application/config/doctypes.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
$_doctypes = array(
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xht... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/smileys.php | application/config/smileys.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| SMILEYS
| -------------------------------------------------------------------
| This file contains an array of smileys for use with the emoticon helper.
| Individual images c... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/profiler.php | application/config/profiler.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Profiler Sections
| -------------------------------------------------------------------------
| This file lets you determine whether or not various sections of Profiler... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/mimes.php | application/config/mimes.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| MIME TYPES
| -------------------------------------------------------------------
| This file contains an array of mime types. It is used by the
| Upload class to help identi... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/hooks.php | application/config/hooks.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Hooks
| -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core
| files. Pl... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/migration.php | application/config/migration.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Enable/Disable Migrations
|--------------------------------------------------------------------------
|
| Migrations are disabled by default for security reasons.
| You... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/autoload.php | application/config/autoload.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/foreign_chars.php | application/config/foreign_chars.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| Foreign Characters
| -------------------------------------------------------------------
| This file contains an array of foreign characters for transliteration
| conversion ... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/database.php | application/config/database.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/config.php | application/config/config.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/routes.php | application/config/routes.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| T... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/user_agents.php | application/config/user_agents.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| USER AGENT TYPES
| -------------------------------------------------------------------
| This file contains four arrays of user agent data. It is used by the
| User Agent Cla... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/memcached.php | application/config/memcached.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Memcached settings
| -------------------------------------------------------------------------
| Your Memcached servers can be specified below.
|
| See: https://codeign... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
coder-rukon/Hospital-Management-System-php-project | https://github.com/coder-rukon/Hospital-Management-System-php-project/blob/302b409e6f99d63e33726cdae36bd904e37d540e/application/config/constants.php | application/config/constants.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Display Debug backtrace
|--------------------------------------------------------------------------
|
| If set to TRUE, a backtrace will be displayed along with php err... | php | MIT | 302b409e6f99d63e33726cdae36bd904e37d540e | 2026-01-05T03:57:52.871194Z | false |
xPaw/SteamID.php | https://github.com/xPaw/SteamID.php/blob/e369cd6641e20312b04cd54c21a2b77fc0840441/.test.php | .test.php | <?php
declare(strict_types=1);
use xPaw\Steam\SteamID;
class SteamIDFacts extends PHPUnit\Framework\TestCase
{
public function testEmptyConstructorInvalid( ) : void
{
$s = new SteamID;
$this->assertFalse( $s->IsValid() );
}
public function testManualConstructionValid( ) : void
{
$s = (new SteamID)
->Se... | php | MIT | e369cd6641e20312b04cd54c21a2b77fc0840441 | 2026-01-05T03:59:02.896137Z | false |
xPaw/SteamID.php | https://github.com/xPaw/SteamID.php/blob/e369cd6641e20312b04cd54c21a2b77fc0840441/VanityURLs.php | VanityURLs.php | <?php
use xPaw\Steam\SteamID;
require __DIR__ . '/vendor/autoload.php';
// Simpler solution which doesn't perform any API requests and simply only works on /profiles/ urls
$SteamID = SteamID::SetFromURL( 'https://steamcommunity.com/profiles/[U:1:2]', function()
{
return null;
} );
// These also work
$SteamID = Ste... | php | MIT | e369cd6641e20312b04cd54c21a2b77fc0840441 | 2026-01-05T03:59:02.896137Z | false |
xPaw/SteamID.php | https://github.com/xPaw/SteamID.php/blob/e369cd6641e20312b04cd54c21a2b77fc0840441/Example.php | Example.php | <?php
use xPaw\Steam\SteamID;
require __DIR__ . '/vendor/autoload.php';
// This can be any string, like just the steamid, or a link to the profile
$UserInput = (string)filter_input( INPUT_GET, 'input' );
$WebAPIKey = 'YOUR WEBAPI KEY HERE';
try
{
// SetFromURL does all the heavy lifing of parsing the input
// Th... | php | MIT | e369cd6641e20312b04cd54c21a2b77fc0840441 | 2026-01-05T03:59:02.896137Z | false |
xPaw/SteamID.php | https://github.com/xPaw/SteamID.php/blob/e369cd6641e20312b04cd54c21a2b77fc0840441/src/SteamID.php | src/SteamID.php | <?php
declare(strict_types=1);
namespace xPaw\Steam;
use \InvalidArgumentException;
/**
* The SteamID library provides an easy way to work with SteamIDs and makes
* conversions easy. Ported from SteamKit.
*
* This 64bit structure is used for identifying various objects on the Steam
* network.
*
* This library... | php | MIT | e369cd6641e20312b04cd54c21a2b77fc0840441 | 2026-01-05T03:59:02.896137Z | false |
PrintNow/php-sorry-gif | https://github.com/PrintNow/php-sorry-gif/blob/a158c54f1960d202d50c80bd8ed784f92e1d667d/config.php | config.php | <?php
/**
* 是否将图片到上传到 sogouimg 并生成外链,是填 true,否则填 false
* 如果你服务器的带宽小建议开启!
*/
define('UPLOAD_TO_SOGOU_IMG',false);
/**
* 是否默认生成小图,是填 true,否则填 false
* 因为我发现取消勾选“是否生成 [微信兼容小尺寸] GIF 图片”生成的一些图片非常大
* 如 {王境泽} 的,取消勾选了,生成的图片接近 20+M,对于带宽小的服务器,下载文件就显得十分吃力了,强烈建议开启!
* 并开启 {将图片到上传到 sogouimg 并生成外链}
*/
define('DEFAULT_CREA... | php | MIT | a158c54f1960d202d50c80bd8ed784f92e1d667d | 2026-01-05T03:59:20.501471Z | false |
PrintNow/php-sorry-gif | https://github.com/PrintNow/php-sorry-gif/blob/a158c54f1960d202d50c80bd8ed784f92e1d667d/index.php | index.php | <?php
$INDEX = require_once __DIR__ . '/config.php';
$INDEX = require_once __DIR__ . '/templates/index.php';
?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no"/>
<meta http-equiv="X-UA... | php | MIT | a158c54f1960d202d50c80bd8ed784f92e1d667d | 2026-01-05T03:59:20.501471Z | false |
PrintNow/php-sorry-gif | https://github.com/PrintNow/php-sorry-gif/blob/a158c54f1960d202d50c80bd8ed784f92e1d667d/api.php | api.php | <?php
require_once "./config.php";
$OS_TYPE = DIRECTORY_SEPARATOR == '\\' ? 'windows' : 'linux';
/**
* 解决 ffmpeg 对 windows 系统的绝对路径“不友好问题”。
* 好像解决的方法有点笨...
*/
if ($OS_TYPE == 'windows') {
define('ROOT' ,'.');
} else {
define('ROOT' ,__DIR__);
}
$type = isset($_POST['type']) ? $_POST['type'] : false;
$data = iss... | php | MIT | a158c54f1960d202d50c80bd8ed784f92e1d667d | 2026-01-05T03:59:20.501471Z | false |
PrintNow/php-sorry-gif | https://github.com/PrintNow/php-sorry-gif/blob/a158c54f1960d202d50c80bd8ed784f92e1d667d/templates/index.php | templates/index.php | <?php
/**
* 索引文件
* @author: NowTime <wenzhouchan@gmail.com>
* @link: https://github.com/PrintNow/php-sorry-gif
* 注释可能不规范,欢迎指正
* @param string name:中文名,用于网站展示
* @param boolean small:是否有小视频文件(文件名命名为:template-small.mp4,需要自行转换视频大小),有则 true,无则 false
* @param int input_num:对话数,如 “为所欲为” 有 9 句话,就填 9;如 王境泽... | php | MIT | a158c54f1960d202d50c80bd8ed784f92e1d667d | 2026-01-05T03:59:20.501471Z | false |
PrintNow/php-sorry-gif | https://github.com/PrintNow/php-sorry-gif/blob/a158c54f1960d202d50c80bd8ed784f92e1d667d/usr/lib/Upyun.php | usr/lib/Upyun.php | <?php
use GuzzleHttp\Client;
class Upyun
{
private $key;
private $secret;
public function __construct($key ,$secret)
{
$this->key = $key;
$this->secret = $secret;
}
/**
* 执行
* @param $text
* @return mixed
* @copyright ©devttl https://system.out.println.org. all rights reserved.
*/
public funct... | php | MIT | a158c54f1960d202d50c80bd8ed784f92e1d667d | 2026-01-05T03:59:20.501471Z | false |
PrintNow/php-sorry-gif | https://github.com/PrintNow/php-sorry-gif/blob/a158c54f1960d202d50c80bd8ed784f92e1d667d/usr/lib/functions.php | usr/lib/functions.php | <?php
/**
* @author NowTime <wenzhouchan@gmail.com>
* @link https://github.com/PrintNow/php-sorry-gif
*
* @param string $filepath 需要上传文件的绝对路径
*/
function upload_to_sogou($filepath) {
if (class_exists('\CURLFile')) {
$field = array('fieldname' => new \CURLFile(realpath($filepath)));
} else {
$fiel... | php | MIT | a158c54f1960d202d50c80bd8ed784f92e1d667d | 2026-01-05T03:59:20.501471Z | false |
JoggApp/laravel-google-translate | https://github.com/JoggApp/laravel-google-translate/blob/160d71c10e0adf799d6f0b037a32717d1f6fd0f4/src/GoogleTranslate.php | src/GoogleTranslate.php | <?php
namespace JoggApp\GoogleTranslate;
use Exception;
use InvalidArgumentException;
use JoggApp\GoogleTranslate\Traits\SupportedLanguages;
class GoogleTranslate
{
use SupportedLanguages;
private $translateClient;
private $givenLanguageCode;
public function __construct(GoogleTranslateClient $clie... | php | MIT | 160d71c10e0adf799d6f0b037a32717d1f6fd0f4 | 2026-01-05T03:59:35.180590Z | false |
JoggApp/laravel-google-translate | https://github.com/JoggApp/laravel-google-translate/blob/160d71c10e0adf799d6f0b037a32717d1f6fd0f4/src/GoogleTranslateFacade.php | src/GoogleTranslateFacade.php | <?php
namespace JoggApp\GoogleTranslate;
use Illuminate\Support\Facades\Facade;
/**
* @see \JoggApp\GoogleTranslate\GoogleTranslate
*/
class GoogleTranslateFacade extends Facade
{
protected static function getFacadeAccessor()
{
return 'laravel-google-translate';
}
}
| php | MIT | 160d71c10e0adf799d6f0b037a32717d1f6fd0f4 | 2026-01-05T03:59:35.180590Z | false |
JoggApp/laravel-google-translate | https://github.com/JoggApp/laravel-google-translate/blob/160d71c10e0adf799d6f0b037a32717d1f6fd0f4/src/GoogleTranslateServiceProvider.php | src/GoogleTranslateServiceProvider.php | <?php
namespace JoggApp\GoogleTranslate;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
class GoogleTranslateServiceProvider extends ServiceProvider
{
public function boot()
{
$this->publishes([
__DIR__ . '/../config/googletranslate.php' => config_path('goog... | php | MIT | 160d71c10e0adf799d6f0b037a32717d1f6fd0f4 | 2026-01-05T03:59:35.180590Z | false |
JoggApp/laravel-google-translate | https://github.com/JoggApp/laravel-google-translate/blob/160d71c10e0adf799d6f0b037a32717d1f6fd0f4/src/GoogleTranslateClient.php | src/GoogleTranslateClient.php | <?php
namespace JoggApp\GoogleTranslate;
use Exception;
use Google\Cloud\Translate\V2\TranslateClient;
use JoggApp\GoogleTranslate\Traits\SupportedLanguages;
class GoogleTranslateClient
{
use SupportedLanguages;
private $translate;
public function __construct(array $config)
{
$this->checkFo... | php | MIT | 160d71c10e0adf799d6f0b037a32717d1f6fd0f4 | 2026-01-05T03:59:35.180590Z | false |
JoggApp/laravel-google-translate | https://github.com/JoggApp/laravel-google-translate/blob/160d71c10e0adf799d6f0b037a32717d1f6fd0f4/src/Traits/SupportedLanguages.php | src/Traits/SupportedLanguages.php | <?php
namespace JoggApp\GoogleTranslate\Traits;
trait SupportedLanguages
{
public function languages(): array
{
return [
'af', 'am', 'ar', 'az', 'be', 'bg', 'bn', 'bs', 'ca',
'ceb', 'co', 'cs', 'cy', 'da', 'de', 'el', 'en',
'eo', 'es', 'et', 'eu', 'fa', 'fi', 'fr', ... | php | MIT | 160d71c10e0adf799d6f0b037a32717d1f6fd0f4 | 2026-01-05T03:59:35.180590Z | false |
JoggApp/laravel-google-translate | https://github.com/JoggApp/laravel-google-translate/blob/160d71c10e0adf799d6f0b037a32717d1f6fd0f4/tests/GoogleTranslateTest.php | tests/GoogleTranslateTest.php | <?php
namespace JoggApp\GoogleTranslate\Tests;
use Illuminate\Support\Facades\Config;
use JoggApp\GoogleTranslate\GoogleTranslate;
use JoggApp\GoogleTranslate\GoogleTranslateClient;
use Mockery;
use Orchestra\Testbench\TestCase as BaseTestCase;
class GoogleTranslateTest extends BaseTestCase
{
public $testString ... | php | MIT | 160d71c10e0adf799d6f0b037a32717d1f6fd0f4 | 2026-01-05T03:59:35.180590Z | false |
JoggApp/laravel-google-translate | https://github.com/JoggApp/laravel-google-translate/blob/160d71c10e0adf799d6f0b037a32717d1f6fd0f4/config/googletranslate.php | config/googletranslate.php | <?php
return [
/*
|----------------------------------------------------------------------------------------------------
| The ISO 639-1 code of the default source language.
|----------------------------------------------------------------------------------------------------
*/
'default_... | php | MIT | 160d71c10e0adf799d6f0b037a32717d1f6fd0f4 | 2026-01-05T03:59:35.180590Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/rector.php | rector.php | <?php
declare(strict_types=1);
use Rector\Arguments\Rector\ClassMethod\ArgumentAdderRector;
use Rector\Arguments\Rector\FuncCall\FunctionArgumentDefaultValueReplacerRector;
use Rector\Arguments\ValueObject\{ArgumentAdder,
ReplaceFuncCallArgumentDefaultValue};
use Rector\CodeQuality\Rector\Array_\CallableThisArray... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/scoper.inc.php | scoper.inc.php | <?php
declare(strict_types=1);
use Isolated\Symfony\Component\Finder\Finder;
return [
'prefix' => 'Auth0\\WordPress\\Vendor',
'finders' => [
Finder::create()
->files()
->ignoreVCS(true)
->notName('/.*\\.dist|Makefile|scoper.inc.php|rector.php|opslevel.yml|build.sh... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/.php-cs-fixer.dist.php | .php-cs-fixer.dist.php | <?php
declare(strict_types=1);
return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setRules([
'array_indentation' => true,
'array_push' => true,
'array_syntax' => ['syntax' => 'short'],
'assign_null_coalescing_to_coalesce_equal' => true,
'backtick_to_shell_exec' ... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/wpAuth0.php | wpAuth0.php | <?php
/**
* Plugin Name: Auth0
* Plugin URL: https://github.com/auth0/wordpress
* Description: Supercharge your WordPress website with Auth0. Improve account security, add support for multifactor, enable social, passwordless and enterprise connections, and much more.
* Version: 5.5.0
... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Plugin.php | src/Plugin.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress;
use Auth0\SDK\Auth0;
use Auth0\SDK\Configuration\SdkConfiguration;
use Auth0\WordPress\Actions\{Authentication as AuthenticationActions, Base as Actions, Configuration as ConfigurationActions, Sync as SyncActions, Tools as ToolsActions, Updates as UpdatesActi... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Database.php | src/Database.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress;
use Throwable;
final class Database
{
/**
* @var string
*/
public const CONST_TABLE_ACCOUNTS = 'accounts';
/**
* @var string
*/
public const CONST_TABLE_LOG = 'log';
/**
* @var string
*/
public const CO... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Hooks.php | src/Hooks.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress;
final class Hooks
{
/**
* @var int
*/
public const CONST_ACTION_FILTER = 1;
/**
* @var int
*/
public const CONST_ACTION_HOOK = 0;
public function __construct(public int $hookType = self::CONST_ACTION_HOOK)
{
}... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/Client.php | src/Http/Client.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http;
use Auth0\SDK\Utility\HttpTelemetry;
use Auth0\WordPress\Http\Message\Stream;
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\{RequestInterface, ResponseFactoryInterface, ResponseInterface};
use Throwable;
use function is_array;
final class C... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/Factory.php | src/Http/Factory.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http;
use Auth0\WordPress\Http\MessageFactory\{RequestFactory, ResponseFactory, StreamFactory};
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\{RequestFactoryInterface, ResponseFactoryInterface, StreamFactoryInterface};
final class Factory
{
pu... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/Message/ServerRequest.php | src/Http/Message/ServerRequest.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http\Message;
use InvalidArgumentException;
use Psr\Http\Message\{ServerRequestInterface, StreamInterface, UploadedFileInterface, UriInterface};
use function array_key_exists;
use function is_object;
/**
* PHP stream implementation.
*/
final class ServerRe... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/Message/MessageTrait.php | src/Http/Message/MessageTrait.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http\Message;
use InvalidArgumentException;
use Psr\Http\Message\StreamInterface;
use function is_array;
use function is_int;
use function is_string;
trait MessageTrait
{
/**
* @var array<string, string> Map of lowercase header name => original name... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/Message/Uri.php | src/Http/Message/Uri.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http\Message;
use InvalidArgumentException;
use Psr\Http\Message\UriInterface;
use Stringable;
final class Uri implements Stringable, UriInterface
{
/**
* @var string
*/
private const CHAR_SUB_DELIMS = '!\$&\'\(\)\*\+,;=';
/**
* @v... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/Message/Stream.php | src/Http/Message/Stream.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http\Message;
use InvalidArgumentException;
use Psr\Http\Message\StreamInterface;
use RuntimeException;
use Stringable;
use function is_resource;
use function is_string;
final class Stream implements StreamInterface, Stringable
{
/**
* @var array Ha... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/Message/Request.php | src/Http/Message/Request.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http\Message;
use Psr\Http\Message\{RequestInterface, StreamInterface, UriInterface};
final class Request implements RequestInterface
{
use MessageTrait;
use RequestTrait;
public function __construct(
string $method,
string | Uri... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/Message/Response.php | src/Http/Message/Response.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http\Message;
use InvalidArgumentException;
use Psr\Http\Message\{ResponseInterface, StreamInterface};
final class Response implements ResponseInterface
{
use MessageTrait;
/**
* @var array Map of standard HTTP status code/reason phrases
*/... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/Message/RequestTrait.php | src/Http/Message/RequestTrait.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http\Message;
use InvalidArgumentException;
use function is_string;
trait RequestTrait
{
private string $method;
private ?string $requestTarget = null;
private \Psr\Http\Message\UriInterface $uri;
public function getMethod(): string
{
... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/Message/UploadedFile.php | src/Http/Message/UploadedFile.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http\Message;
use InvalidArgumentException;
use Psr\Http\Message\{StreamInterface, UploadedFileInterface};
use RuntimeException;
use function is_string;
final class UploadedFile implements UploadedFileInterface
{
/**
* @var array
*/
private... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/MessageFactory/StreamFactory.php | src/Http/MessageFactory/StreamFactory.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http\MessageFactory;
use Auth0\WordPress\Http\Message\Stream;
use InvalidArgumentException;
use Psr\Http\Message\{StreamFactoryInterface, StreamInterface};
use RuntimeException;
use function in_array;
final class StreamFactory implements StreamFactoryInterfa... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/MessageFactory/ResponseFactory.php | src/Http/MessageFactory/ResponseFactory.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http\MessageFactory;
use Auth0\WordPress\Http\Message\Response;
use Psr\Http\Message\{ResponseFactoryInterface, ResponseInterface};
use function func_num_args;
final class ResponseFactory implements ResponseFactoryInterface
{
public function createRespon... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Http/MessageFactory/RequestFactory.php | src/Http/MessageFactory/RequestFactory.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Http\MessageFactory;
use Auth0\WordPress\Http\Message\Request;
use Psr\Http\Message\{RequestFactoryInterface, RequestInterface};
final class RequestFactory implements RequestFactoryInterface
{
public function createRequest(string $method, $uri): RequestIn... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Actions/Sync.php | src/Actions/Sync.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Actions;
use Auth0\SDK\Utility\HttpResponse;
use Auth0\WordPress\Database;
use Psr\Http\Message\ResponseInterface;
use WP_User;
use function is_array;
final class Sync extends Base
{
/**
* @var string
*/
public const CONST_JOB_BACKGROUND_MA... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Actions/Base.php | src/Actions/Base.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Actions;
use Auth0\SDK\Auth0;
use Auth0\WordPress\{Hooks, Plugin};
use function constant;
use function count;
use function defined;
use function is_array;
use function is_string;
abstract class Base
{
/**
* @var array<string, array<int, int|string>|... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Actions/Authentication.php | src/Actions/Authentication.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Actions;
use Auth0\SDK\Exception\StateException;
use Auth0\SDK\Store\CookieStore;
use Auth0\WordPress\Database;
use Auth0\WordPress\Utilities\Sanitize;
use Throwable;
use WP_Error;
use WP_User;
use function in_array;
use function is_int;
use function is_objec... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Actions/Configuration.php | src/Actions/Configuration.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Actions;
use Auth0\SDK\Utility\HttpResponse;
use Auth0\WordPress\Utilities\{Render, Sanitize};
use function array_slice;
use function count;
use function is_array;
use function is_string;
use function strlen;
final class Configuration extends Base
{
/**
... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | true |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Actions/Updates.php | src/Actions/Updates.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Actions;
use function is_array;
use function is_object;
final class Updates extends Base
{
protected array $registry = [
'site_transient_update_plugins' => 'doUpdateCheck',
'transient_update_plugins' => 'doUpdateCheck',
];
public ... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Actions/Tools.php | src/Actions/Tools.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Actions;
final class Tools extends Base
{
}
| php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Cache/WpObjectCachePool.php | src/Cache/WpObjectCachePool.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Cache;
use Psr\Cache\{CacheItemInterface, CacheItemPoolInterface};
use WP_Object_Cache;
use function is_string;
/**
* Class WpObjectCachePool
* This class provides a bridge between WP_Object_Cache and PSR-6/PSR-16 caching.
*/
final class WpObjectCachePool... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Cache/WpObjectCacheItem.php | src/Cache/WpObjectCacheItem.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Cache;
use DateInterval;
use DateTimeImmutable;
use DateTimeInterface;
use Psr\Cache\CacheItemInterface;
final class WpObjectCacheItem implements CacheItemInterface
{
private ?int $expires = null;
public function __construct(
private string $... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Filters/Base.php | src/Filters/Base.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Filters;
use Auth0\SDK\Auth0;
use Auth0\WordPress\Plugin;
use function constant;
use function count;
use function defined;
use function is_array;
use function is_string;
abstract class Base
{
/**
* @var array<string, array<int, int|string>|string>
... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Filters/Authentication.php | src/Filters/Authentication.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Filters;
final class Authentication extends Base
{
}
| php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Utilities/Sanitize.php | src/Utilities/Sanitize.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Utilities;
use function count;
use function is_string;
use function strlen;
final class Sanitize
{
public static function alphanumeric(string | null $item, string $allowed = 'A-Za-z0-9 '): string | null
{
if ('' === $item) {
return... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
auth0/wordpress | https://github.com/auth0/wordpress/blob/be493df45250470ce61174b30b82a91bce546efd/src/Utilities/Render.php | src/Utilities/Render.php | <?php
declare(strict_types=1);
namespace Auth0\WordPress\Utilities;
use function count;
use function in_array;
final class Render
{
/**
* @var string[]
*/
private const TREAT_AS_TEXT = [
'color',
'date',
'datetime-local',
'email',
'password',
'month'... | php | MIT | be493df45250470ce61174b30b82a91bce546efd | 2026-01-05T03:59:32.495393Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/rector.php | rector.php | <?php
declare(strict_types=1);
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
use Rector\TypeDeclaration\Rector\Property\AddPropertyTypeDeclarationRector;
return static function (RectorConfig $rectorConfig): void... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Client.php | src/Syntax/SteamApi/Client.php | <?php
namespace Syntax\SteamApi;
use GuzzleHttp\Exception\GuzzleException;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Config;
use stdClass;
use GuzzleHttp\Client as GuzzleClient;
use GuzzleHttp\Psr7\Request;
use Exception;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\Serve... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/SteamApiServiceProvider.php | src/Syntax/SteamApi/SteamApiServiceProvider.php | <?php
namespace Syntax\SteamApi;
use Illuminate\Support\ServiceProvider;
class SteamApiServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application events.
*
* @return void
*/
public function boot(): void
{
$this->publishes([__DIR__ . '/../../config/config.php' =>... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/SteamId.php | src/Syntax/SteamApi/SteamId.php | <?php
namespace Syntax\SteamApi;
use Syntax\SteamApi\Exceptions\UnrecognizedId;
trait SteamId
{
public $formatted;
private $rawValue;
private static string $ID32 = 'id32';
private static string $ID64 = 'id64';
private static string $ID3 = 'id3';
private static string $id64Base = '7656119... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Inventory.php | src/Syntax/SteamApi/Inventory.php | <?php
namespace Syntax\SteamApi;
class Inventory
{
public function __construct(public $numberOfBackpackSlots, public $items)
{
}
}
| php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Exceptions/ClassNotFoundException.php | src/Syntax/SteamApi/Exceptions/ClassNotFoundException.php | <?php
namespace Syntax\SteamApi\Exceptions;
class ClassNotFoundException extends \Exception
{
public function __construct($class)
{
parent::__construct('The called class [' . $class . '] does not exist.');
}
}
| php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Exceptions/InvalidApiKeyException.php | src/Syntax/SteamApi/Exceptions/InvalidApiKeyException.php | <?php
namespace Syntax\SteamApi\Exceptions;
class InvalidApiKeyException extends \Exception
{
public function __construct()
{
parent::__construct('You must use a valid API key to connect to steam.');
}
}
| php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Exceptions/UnrecognizedId.php | src/Syntax/SteamApi/Exceptions/UnrecognizedId.php | <?php
namespace Syntax\SteamApi\Exceptions;
class UnrecognizedId extends \Exception
{
/**
* @param string $message
* @param int $code
* @param null $previous
*/
public function __construct(string $message, int $code = 0, $previous = null)
{
parent::__construct($message, $code, ... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Exceptions/ApiCallFailedException.php | src/Syntax/SteamApi/Exceptions/ApiCallFailedException.php | <?php
namespace Syntax\SteamApi\Exceptions;
class ApiCallFailedException extends \Exception
{
/**
* @param string $message
* @param int $code
* @param null $previous
*/
public function __construct(string $message, int $code, $previous = null)
{
parent::__construct($message, $co... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Exceptions/ApiArgumentRequired.php | src/Syntax/SteamApi/Exceptions/ApiArgumentRequired.php | <?php
namespace Syntax\SteamApi\Exceptions;
class ApiArgumentRequired extends \Exception
{
public function __construct()
{
parent::__construct('Arguments are required for this service.');
}
}
| php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Steam/Player.php | src/Syntax/SteamApi/Steam/Player.php | <?php
namespace Syntax\SteamApi\Steam;
use GuzzleHttp\Exception\GuzzleException;
use Syntax\SteamApi\Client;
use Illuminate\Support\Collection;
use Syntax\SteamApi\Containers\Game;
use Syntax\SteamApi\Containers\Player\Level;
use Syntax\SteamApi\Exceptions\ApiArgumentRequired;
use Syntax\SteamApi\Exceptions\ApiCallFa... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Steam/User.php | src/Syntax/SteamApi/Steam/User.php | <?php
namespace Syntax\SteamApi\Steam;
use GuzzleHttp\Exception\GuzzleException;
use InvalidArgumentException;
use Syntax\SteamApi\Client;
use Syntax\SteamApi\Containers\Player as PlayerContainer;
use Syntax\SteamApi\Exceptions\ApiArgumentRequired;
use Syntax\SteamApi\Exceptions\ApiCallFailedException;
use Syntax\Ste... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Steam/App.php | src/Syntax/SteamApi/Steam/App.php | <?php
namespace Syntax\SteamApi\Steam;
use GuzzleHttp\Exception\GuzzleException;
use Syntax\SteamApi\Client;
use Illuminate\Support\Collection;
use Syntax\SteamApi\Containers\App as AppContainer;
use Syntax\SteamApi\Exceptions\ApiCallFailedException;
use Syntax\SteamApi\Exceptions\InvalidApiKeyException;
class App e... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Steam/Item.php | src/Syntax/SteamApi/Steam/Item.php | <?php
namespace Syntax\SteamApi\Steam;
use GuzzleHttp\Exception\GuzzleException;
use Syntax\SteamApi\Client;
use Illuminate\Support\Collection;
use Syntax\SteamApi\Containers\Item as ItemContainer;
use Syntax\SteamApi\Exceptions\ApiCallFailedException;
use Syntax\SteamApi\Inventory;
class Item extends Client
{
p... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Steam/Group.php | src/Syntax/SteamApi/Steam/Group.php | <?php
namespace Syntax\SteamApi\Steam;
use Syntax\SteamApi\Client;
use Syntax\SteamApi\Containers\Group as GroupContainer;
class Group extends Client
{
public function GetGroupSummary($group): GroupContainer
{
// Set up the api details
$this->method = 'memberslistxml';
if (is_numeric... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Steam/News.php | src/Syntax/SteamApi/Steam/News.php | <?php
namespace Syntax\SteamApi\Steam;
use GuzzleHttp\Exception\GuzzleException;
use Syntax\SteamApi\Client;
use Syntax\SteamApi\Exceptions\ApiCallFailedException;
class News extends Client
{
public function __construct()
{
parent::__construct();
$this->interface = 'ISteamNews';
}
/*... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Steam/Package.php | src/Syntax/SteamApi/Steam/Package.php | <?php
namespace Syntax\SteamApi\Steam;
use GuzzleHttp\Exception\GuzzleException;
use Syntax\SteamApi\Client;
use Illuminate\Support\Collection;
use Syntax\SteamApi\Containers\Package as PackageContainer;
use Syntax\SteamApi\Exceptions\ApiCallFailedException;
class Package extends Client
{
public function __const... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Steam/User/Stats.php | src/Syntax/SteamApi/Steam/User/Stats.php | <?php
namespace Syntax\SteamApi\Steam\User;
use Exception;
use GuzzleHttp\Exception\GuzzleException;
use Syntax\SteamApi\Client;
use Syntax\SteamApi\Containers\Achievement;
use Syntax\SteamApi\Exceptions\ApiCallFailedException;
class Stats extends Client
{
public function __construct($steamId)
{
pare... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Facades/SteamApi.php | src/Syntax/SteamApi/Facades/SteamApi.php | <?php
namespace Syntax\SteamApi\Facades;
use Illuminate\Support\Facades\Facade;
class SteamApi extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{
return 'steam-api';
}
}
| php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/Player.php | src/Syntax/SteamApi/Containers/Player.php | <?php
namespace Syntax\SteamApi\Containers;
class Player extends BaseContainer
{
public $steamId;
public $steamIds;
public $communityVisibilityState;
public $profileState;
public $personaName;
public $lastLogoff;
public $profileUrl;
public $avatar;
public $avatarMedium;
... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/Game.php | src/Syntax/SteamApi/Containers/Game.php | <?php
namespace Syntax\SteamApi\Containers;
class Game extends BaseContainer
{
public $appId;
public $name;
public $playtimeTwoWeeks;
public $playtimeTwoWeeksReadable;
public $playtimeForever;
public $playtimeForeverReadable;
public $icon;
public $logo;
public $header;
... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/Achievement.php | src/Syntax/SteamApi/Containers/Achievement.php | <?php
namespace Syntax\SteamApi\Containers;
class Achievement
{
public $apiName;
public $achieved;
public $name;
public $description;
public $icon;
public $iconGray;
public $unlockTimestamp;
public function __construct($achievement)
{
$this->apiName = (string... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/App.php | src/Syntax/SteamApi/Containers/App.php | <?php
namespace Syntax\SteamApi\Containers;
use Illuminate\Support\Collection;
use stdClass;
class App extends BaseContainer
{
public $id;
public $type;
public $name;
public $controllerSupport;
public $description;
public $about;
public $fullgame;
public $header;
public $w... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/Id.php | src/Syntax/SteamApi/Containers/Id.php | <?php
namespace Syntax\SteamApi\Containers;
use Syntax\SteamApi\Client;
class Id
{
public $id32;
public $id64;
public $id3;
public $communityId;
public $steamId;
/**
* @param integer $id
*/
function __construct(int $id)
{
$client = new Client;
$steamIds... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/BaseContainer.php | src/Syntax/SteamApi/Containers/BaseContainer.php | <?php
namespace Syntax\SteamApi\Containers;
use Illuminate\Support\Collection;
abstract class BaseContainer
{
/**
* @param $app
* @param string $field
* @param mixed|null $value
* @return mixed
*/
protected function checkIsNullField($app, string $field, mixed $value = null): m... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/Item.php | src/Syntax/SteamApi/Containers/Item.php | <?php
namespace Syntax\SteamApi\Containers;
class Item extends BaseContainer
{
public $id;
public $originalId;
public $defIndex;
public $level;
public $quality;
public $quantity;
public $inventory;
public $origin;
public $flags;
public $containedItem;
public $styl... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/Group.php | src/Syntax/SteamApi/Containers/Group.php | <?php
namespace Syntax\SteamApi\Containers;
use SimpleXMLElement;
use Syntax\SteamApi\Client;
use Illuminate\Support\Collection;
use Syntax\SteamApi\Containers\Group\Details;
use Syntax\SteamApi\Containers\Group\MemberDetails;
class Group
{
public string $groupID64;
public Details $groupDetails;
public... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/GameDetails.php | src/Syntax/SteamApi/Containers/GameDetails.php | <?php
namespace Syntax\SteamApi\Containers;
class GameDetails extends BaseContainer
{
public ?int $gameId;
public mixed $serverIp;
public mixed $serverSteamId;
public mixed $lobbyId;
public mixed $extraInfo;
public function __construct($gameDetails)
{
$gameId = $this->chec... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/Package.php | src/Syntax/SteamApi/Containers/Package.php | <?php
namespace Syntax\SteamApi\Containers;
class Package extends BaseContainer
{
public $id;
public $name;
public $page_image;
public $header;
public $small_logo;
public $apps;
public $page_content;
public $price;
public $platforms;
public $release;
private $controller;
... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/Group/Details.php | src/Syntax/SteamApi/Containers/Group/Details.php | <?php
namespace Syntax\SteamApi\Containers\Group;
use Syntax\SteamApi\Containers\BaseContainer;
class Details extends BaseContainer
{
public $name;
public $url;
public $headline;
public $summary;
public $avatarIcon;
public $avatarMedium;
public $avatarFull;
public $avatarIconUr... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/Group/MemberDetails.php | src/Syntax/SteamApi/Containers/Group/MemberDetails.php | <?php
namespace Syntax\SteamApi\Containers\Group;
class MemberDetails
{
public $count;
public $inChat;
public $inGame;
public $online;
function __construct($details)
{
$this->count = (int)(string)$details->memberCount;
$this->inChat = (int)(string)$details->membersInChat;
... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/Syntax/SteamApi/Containers/Player/Level.php | src/Syntax/SteamApi/Containers/Player/Level.php | <?php
namespace Syntax\SteamApi\Containers\Player;
class Level
{
public $playerXp;
public $playerLevel;
public $xpToLevelUp;
public $xpForCurrentLevel;
public $currentLevelFloor;
public $currentLevelCeiling;
public $percentThroughLevel;
public function __construct($levelDetails)... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/src/config/config.php | src/config/config.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Steam API Key
|--------------------------------------------------------------------------
|
| This value is used for authenticating with the Steam API. You can generate
| an API key by visiting ... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/tests/NewsTest.php | tests/NewsTest.php | <?php
require_once('BaseTester.php');
/** @group News */
class NewsTest extends BaseTester {
/** @test */
public function it_gets_news_by_app_id()
{
$newsArticle = $this->steamClient->news()->GetNewsForApp($this->appId, 1, 20);
$this->assertObjectHasProperty('appid', $newsArticle);
... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/tests/PlayerTest.php | tests/PlayerTest.php | <?php
require_once('BaseTester.php');
/** @group Player */
class PlayerTest extends BaseTester {
/** @test */
public function it_gets_the_steam_level_by_user_id()
{
$steamLevel = $this->steamClient->player($this->id64)->GetSteamLevel();
$this->assertIsInt($steamLevel);
}
/** @te... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
syntaxerrors/Steam | https://github.com/syntaxerrors/Steam/blob/c4524c68b9467502b4838cc15e0c2f0900153ff1/tests/AppTest.php | tests/AppTest.php | <?php
require_once('BaseTester.php');
/** @group App */
class AppTest extends BaseTester {
/** @test */
public function it_gets_details_for_an_app_by_id()
{
$details = $this->steamClient->app()->appDetails($this->appId);
$this->assertCount(1, $details);
$detail = $details->first... | php | MIT | c4524c68b9467502b4838cc15e0c2f0900153ff1 | 2026-01-05T03:59:41.440344Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.