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 |
|---|---|---|---|---|---|---|---|---|
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/check-items.php | src/php/check-items.php | <?php
# Copyright (c) 2015 Jordan Turley, CSGO Win Big. All Rights Reserved.
include 'default.php';
$db = getDB();
$maxPotCount = 60;
# Get password, owner steam ID, and all deposit items
$password = isset($_POST['password']) ? $_POST['password'] : null;
$tradeOwnerSteamId32 = isset($_POST['owner']) ? $_POST['owner'... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/deposit.php | src/php/deposit.php | <?php
# Copyright (c) 2015 Jordan Turley, CSGO Win Big. All Rights Reserved.
include 'default.php';
$db = getDB();
$maxPotCount = 60;
# Get password, owner steam ID, and all deposit items
$password = isset($_POST['password']) ? $_POST['password'] : null;
$tradeOwnerSteamId32 = isset($_POST['owner']) ? $_POST['owner'... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/search-items.php | src/php/search-items.php | <?php
include 'default.php';
$db = getDB();
$query = getVar('query');
if (is_null($query)) {
echo jsonErr('The search query was not sent correctly. Please refresh the page and try again.');
return;
}
$stmt = $db->prepare('SELECT * FROM items WHERE marketName LIKE :query');
$stmt->bindValue(':query', "%$query%");
$... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/index.php | src/php/index.php | <?php header('Location: /'); ?> | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/timer-end.php | src/php/timer-end.php | <?php
# Copyright (c) 2015 Jordan Turley, CSGO Win Big. All Rights Reserved.
include 'default.php';
$db = getDB();
$password = isset($_POST['password']) ? $_POST['password'] : null;
if (is_null($password) || strlen($password) === 0) {
echo jsonErr('One of the required fields was not sent correctly or was left blank... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/get-donations.php | src/php/get-donations.php | <?php
include 'default.php';
$db = getDB();
$stmt = $db->query('SELECT * FROM donations ORDER BY price DESC');
$donations = $stmt->fetchAll();
$data = array('donations' => $donations);
echo jsonSuccess($data);
?> | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/support-ticket.php | src/php/support-ticket.php | <?php
include 'default.php';
$db = getDB();
$name = postVar('name');
$email = postVar('email');
$steamProfileLink = postVar('steamProfileLink');
$desc = postVar('desc');
if (is_null($name) || is_null($email) || is_null($steamProfileLink) || is_null($desc)) {
echo jsonErr('One of the required fields was left blank or... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/send-chat-message.php | src/php/send-chat-message.php | <?php
# Copyright (c) 2015 Jordan Turley, CSGO Win Big. All Rights Reserved.
session_start();
include 'default.php';
include 'SteamAuthentication/steamauth/userInfo.php';
$db = getDB();
if (!isset($_SESSION['steamid'])) {
echo jsonErr('You are not logged in.');
return;
}
$text = isset($_POST['text']) ? $_POST['tex... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/check-past-game-bot.php | src/php/check-past-game-bot.php | <?php
# Copyright (c) 2015 Jordan Turley, CSGO Win Big. All Rights Reserved.
include 'default.php';
$db = getDB();
$stmt = $db->query('SELECT * FROM history ORDER BY id DESC');
if ($stmt->rowCount() === 0) {
# It is the first ever pot, don't do anything
echo jsonErr('Don\'t do anything, the current pot is the firs... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/update.php | src/php/update.php | <?php
# Copyright (c) 2015 Jordan Turley, CSGO Win Big. All Rights Reserved.
session_start();
include 'default.php';
$db = getDB();
# Get all users in chat messages
$stmt = $db->query('SELECT * FROM `chat` ORDER BY `id` DESC LIMIT 50');
$chatMessages = $stmt->fetchAll();
$allUserIDsChat = array();
foreach ($chatMes... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/steam-login-handle.php | src/php/steam-login-handle.php | <?php
# Copyright (c) 2015 Jordan Turley, CSGO Win Big. All Rights Reserved.
session_start();
require('SteamAuthentication/steamauth/openid.php');
try {
require('SteamAuthentication/steamauth/settings.php');
$openid = new LightOpenID($steamauth['domainname']);
if($openid->validate()) {
$id = $openid->identit... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/item-price-change-ticket.php | src/php/item-price-change-ticket.php | <?php
include 'default.php';
$name = postVar('name');
$price = postVar('price');
if (is_null($name) || is_null($price)) {
echo jsonErr('One of the required fields was not sent successfully.');
return;
}
$to = 'items@csgowinbig.com';
$subject = 'Item Price Change Ticket';
$message = "An item price change ticket has... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/get-history.php | src/php/get-history.php | <?php
include 'default.php';
$db = getDB();
$alreadyLoadedCount = isset($_GET['count']) ? $_GET['count'] : null;
$alreadyLoadedCount = (int) $alreadyLoadedCount;
if ($alreadyLoadedCount === 0) {
$sql = 'SELECT * FROM history ORDER BY id DESC LIMIT 0, 11';
} else {
$sql = "SELECT * FROM history ORDER BY id DESC LIM... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/SteamAuthentication/example.php | src/php/SteamAuthentication/example.php | <?php
require ('steamauth/steamauth.php');
# You would uncomment the line beneath to make it refresh the data every time the page is loaded
// $_SESSION['steam_uptodate'] = false;
?>
<html>
<head>
<title>page</title>
</head>
<body>
<?php
if(!isset($_SESSION['steamid'])) {
echo "welcome guest! plea... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/SteamAuthentication/index.php | src/php/SteamAuthentication/index.php | <?php header('Location: /'); ?> | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/SteamAuthentication/demo.php | src/php/SteamAuthentication/demo.php | <?php
require ('steamauth/steamauth.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SteamAuth Demo</title>
<link rel="stylesheet" href="h... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/SteamAuthentication/steamauth/logout.php | src/php/SteamAuthentication/steamauth/logout.php | <?php
# include("settings.php");
# header("Location: ../".$steamauth['logoutpage']);
session_start();
unset($_SESSION['steamid']);
unset($_SESSION['steam_uptodate']);
header('Location: /');
?> | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/SteamAuthentication/steamauth/index.php | src/php/SteamAuthentication/steamauth/index.php | <?php header('Location: /'); ?> | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/SteamAuthentication/steamauth/steamauth.php | src/php/SteamAuthentication/steamauth/steamauth.php | <?php
ob_start();
session_start();
require ('openid.php');
function logoutbutton() {
echo "<form action=\"steamauth/logout.php\" method=\"post\"><input value=\"Logout\" type=\"submit\" /></form>"; //logout button
}
function steamlogin($additionalVars = '')
{
try {
require("settings.php");
$openid = new Li... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/SteamAuthentication/steamauth/userInfo.php | src/php/SteamAuthentication/steamauth/userInfo.php | <?php
//We make sure that the user has logged in before attempting to use the Steam API to avoid warnings and wasted resources.
if(isset($_SESSION['steamid'])){
include("settings.php");
if (empty($_SESSION['steam_uptodate']) or $_SESSION['steam_uptodate'] == false or empty($_SESSION['steam_person... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/SteamAuthentication/steamauth/settings.php | src/php/SteamAuthentication/steamauth/settings.php | <?php
$fileLoc = $_SERVER['DOCUMENT_ROOT'] . '/../passwords.txt';
if (file_exists($fileLoc)) {
$fh = fopen($fileLoc, 'r');
$jsonStr = fgets($fh);
$arr = json_decode($jsonStr, true);
$apiKey = $arr['steamAPIKey'];
fclose($fh);
} else {
die('no file found');
}
$steamauth['apikey'] = $apiKey; // Your Steam WebAPI-K... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/SteamAuthentication/steamauth/openid.php | src/php/SteamAuthentication/steamauth/openid.php | <?php
/**
* This class provides a simple interface for OpenID (1.1 and 2.0) authentication.
* Supports Yadis discovery.
* The authentication process is stateless/dumb.
*
* Usage:
* Sign-on with OpenID is a two step process:
* Step one is authentication with the provider:
* <code>
* $openid = new LightOpenID('m... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | true |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/src/Base.php | src/Base.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
namespace Eden\Mail;
/**
* Base Class
*
* @vendor Eden
* @package Mail
* @author Christian Blanquera <cblanq... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/src/Smtp.php | src/Smtp.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
namespace Eden\Mail;
/**
* General available methods for common SMTP functionality
*
* @vendor Eden
* @package ... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/src/ImapUtf7.php | src/ImapUtf7.php | <?php
namespace Eden\Mail;
/** http://php.net/manual/pt_BR/function.imap-utf7-decode.php#116677 */
class ImapUtf7
{
private static $imap_base64 =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,';
private static function encodeB64Imap($s)
{
$a = 0;
$al = 0;
... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/src/Exception.php | src/Exception.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
namespace Eden\Mail;
/**
* Exception Class
*
* @vendor Eden
* @package Mail
* @author Christian Blanquera <c... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/src/Argument.php | src/Argument.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
namespace Eden\Mail;
/**
* Argument Class
*
* @vendor Eden
* @package Mail
* @author Christian Blanquera <cb... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/src/Imap.php | src/Imap.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
namespace Eden\Mail;
/**
* General available methods for common IMAP functionality
*
* @vendor Eden
* @package ... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | true |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/src/Pop3.php | src/Pop3.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
namespace Eden\Mail;
/**
* General available methods for common POP3 functionality
*
* @vendor Eden
* @package ... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/src/Index.php | src/Index.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
namespace Eden\Mail;
/**
* Mail Factory Class
*
* @vendor Eden
* @package Mail
* @author Christian Blanquera... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/test/Smtp.php | test/Smtp.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
class EdenMailSmtpTest extends PHPUnit_Framework_TestCase
{
public $smtp;
public function setUp()
{
... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/test/bootstrap.php | test/bootstrap.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
ob_start();
if(file_exists(__DIR__.'/../../../autoload.php')) {
require_once __DIR__.'/../../../autoload.php';
} els... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/test/Imap.php | test/Imap.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
class EdenMailImapTest extends PHPUnit_Framework_TestCase
{
public $imap;
public function setUp()
{
... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/test/Pop3.php | test/Pop3.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
class EdenMailPop3Test extends PHPUnit_Framework_TestCase
{
public $pop;
public function setUp()
{
d... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
Eden-PHP/Mail | https://github.com/Eden-PHP/Mail/blob/ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67/test/Index.php | test/Index.php | <?php //-->
/**
* This file is part of the Eden PHP Library.
* (c) 2014-2016 Openovate Labs
*
* Copyright and license information can be found at LICENSE.txt
* distributed with this package.
*/
class EdenMailIndexTest extends PHPUnit_Framework_TestCase
{
public function testPop3()
{
$class = eden(... | php | MIT | ae34e7ba2c3e4bb116ab2824ffc0b7843d63fb67 | 2026-01-05T03:26:54.003730Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/src/Options.php | src/Options.php | <?php
namespace splitbrain\phpcli;
/**
* Class Options
*
* Parses command line options passed to the CLI script. Allows CLI scripts to easily register all accepted options and
* commands and even generates a help text from this setup.
*
* @author Andreas Gohr <andi@splitbrain.org>
* @license MIT
*/
class Opti... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/src/TableFormatter.php | src/TableFormatter.php | <?php
namespace splitbrain\phpcli;
/**
* Class TableFormatter
*
* Output text in multiple columns
*
* @author Andreas Gohr <andi@splitbrain.org>
* @license MIT
*/
class TableFormatter
{
/** @var string border between columns */
protected $border = ' ';
/** @var int the terminal width */
protec... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/src/Base.php | src/Base.php | <?php
namespace splitbrain\phpcli;
/**
* Class CLIBase
*
* All base functionality is implemented here.
*
* Your commandline should not inherit from this class, but from one of the *CLI* classes
*
* @author Andreas Gohr <andi@splitbrain.org>
* @license MIT
*/
abstract class Base
{
/** @var string the exec... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/src/Exception.php | src/Exception.php | <?php
namespace splitbrain\phpcli;
/**
* Class Exception
*
* The code is used as exit code for the CLI tool. This should probably be extended. Many cases just fall back to the
* E_ANY code.
*
* @author Andreas Gohr <andi@splitbrain.org>
* @license MIT
*/
class Exception extends \RuntimeException
{
const E... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/src/PSR3CLIv3.php | src/PSR3CLIv3.php | <?php
namespace splitbrain\phpcli;
use Psr\Log\LoggerInterface;
use Psr\Log\LoggerTrait;
/**
* Class PSR3CLI
*
* This class can be used instead of the CLI class when a class implementing
* PSR3 version 3 is needed.
*
* @see PSR3CLI for a version 2 compatible class
*/
abstract class PSR3CLIv3 extends Base impl... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/src/CLI.php | src/CLI.php | <?php
namespace splitbrain\phpcli;
/**
* Class CLI
*
* Your commandline script should inherit from this class and implement the abstract methods.
*
* @author Andreas Gohr <andi@splitbrain.org>
* @license MIT
*/
abstract class CLI extends Base
{
/**
* System is unusable.
*
* @param string $me... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/src/PSR3CLI.php | src/PSR3CLI.php | <?php
namespace splitbrain\phpcli;
use Psr\Log\LoggerInterface;
/**
* Class PSR3CLI
*
* This class can be used instead of the CLI class when a class implementing
* PSR3 version 2 is needed.
*
* @see PSR3CLIv3 for a version 3 compatible class
*/
abstract class PSR3CLI extends CLI implements LoggerInterface {
}... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/src/Colors.php | src/Colors.php | <?php
namespace splitbrain\phpcli;
/**
* Class Colors
*
* Handles color output on (Linux) terminals
*
* @author Andreas Gohr <andi@splitbrain.org>
* @license MIT
*/
class Colors
{
// these constants make IDE autocompletion easier, but color names can also be passed as strings
const C_RESET = 'reset';
... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/tests/LogLevelTest.php | tests/LogLevelTest.php | <?php
namespace splitbrain\phpcli\tests;
use splitbrain\phpcli\CLI;
use splitbrain\phpcli\Options;
class LogLevel extends CLI
{
protected function setup(Options $options)
{
}
protected function main(Options $options)
{
}
}
class LogLevelTest extends \PHPUnit\Framework\TestCase
{
publ... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/tests/OptionsTest.php | tests/OptionsTest.php | <?php
namespace splitbrain\phpcli\tests;
class Options extends \splitbrain\phpcli\Options
{
public $args;
}
class OptionsTest extends \PHPUnit\Framework\TestCase
{
/**
* @dataProvider optionDataProvider
*
* @param string $option
* @param string $value
* @param string $argument
... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/tests/TableFormatterTest.php | tests/TableFormatterTest.php | <?php
namespace splitbrain\phpcli\tests;
use splitbrain\phpcli\Colors;
class TableFormatter extends \splitbrain\phpcli\TableFormatter
{
public function calculateColLengths($columns)
{
return parent::calculateColLengths($columns);
}
public function strlen($string)
{
return parent:... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/examples/complex.php | examples/complex.php | #!/usr/bin/php
<?php
namespace splitbrain\phpcli\examples;
require __DIR__ . '/../vendor/autoload.php';
use splitbrain\phpcli\CLI;
use splitbrain\phpcli\Options;
class Complex extends CLI
{
/**
* Register options and arguments on the given $options object
*
* @param Options $options
* @retu... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/examples/logging.php | examples/logging.php | #!/usr/bin/php
<?php
require __DIR__ . '/../vendor/autoload.php';
use splitbrain\phpcli\CLI;
use splitbrain\phpcli\Options;
class logging extends CLI // you may want to extend from PSR3CLI instead
{
// override the default log level
protected $logdefault = 'debug';
// register options and arguments
p... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/examples/minimal.php | examples/minimal.php | #!/usr/bin/php
<?php
require __DIR__ . '/../vendor/autoload.php';
use splitbrain\phpcli\CLI;
use splitbrain\phpcli\Options;
class Minimal extends CLI
{
// register options and arguments
protected function setup(Options $options)
{
$options->setHelp('A very minimal example that does nothing but prin... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/examples/table.php | examples/table.php | #!/usr/bin/php
<?php
namespace splitbrain\phpcli\examples;
require __DIR__ . '/../vendor/autoload.php';
use splitbrain\phpcli\CLI;
use splitbrain\phpcli\Colors;
use splitbrain\phpcli\Options;
use splitbrain\phpcli\TableFormatter;
class Table extends CLI
{
/**
* Register options and arguments on the given ... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
splitbrain/php-cli | https://github.com/splitbrain/php-cli/blob/813410b23f9790a62620a79a4e87aed4c5c43e37/examples/simple.php | examples/simple.php | #!/usr/bin/php
<?php
namespace splitbrain\phpcli\examples;
require __DIR__ . '/../vendor/autoload.php';
use splitbrain\phpcli\CLI;
use splitbrain\phpcli\Options;
class Simple extends CLI
{
/**
* Register options and arguments on the given $options object
*
* @param Options $options
* @retur... | php | MIT | 813410b23f9790a62620a79a4e87aed4c5c43e37 | 2026-01-05T03:27:07.328926Z | false |
themsaid/laravel-multilingual | https://github.com/themsaid/laravel-multilingual/blob/d67cdefe6fd1cea94d04bc5ab6586d605452a9fb/src/MultilingualServiceProvider.php | src/MultilingualServiceProvider.php | <?php
namespace Themsaid\Multilingual;
use Illuminate\Support\ServiceProvider;
use Illuminate\Validation\Validator;
class MultilingualServiceProvider extends ServiceProvider
{
/**
* Perform post-registration booting of services.
*
* @return void
*/
public function boot()
{
$s... | php | MIT | d67cdefe6fd1cea94d04bc5ab6586d605452a9fb | 2026-01-05T03:27:21.142962Z | false |
themsaid/laravel-multilingual | https://github.com/themsaid/laravel-multilingual/blob/d67cdefe6fd1cea94d04bc5ab6586d605452a9fb/src/Translatable.php | src/Translatable.php | <?php
namespace Themsaid\Multilingual;
/**
* Class Translatable
* @package Themsaid\Multilingual
*/
trait Translatable
{
/**
* @param string $key
* @return mixed
*/
public function getAttribute($key)
{
if (isset($this->translatable)) {
// We check if the attribute is... | php | MIT | d67cdefe6fd1cea94d04bc5ab6586d605452a9fb | 2026-01-05T03:27:21.142962Z | false |
themsaid/laravel-multilingual | https://github.com/themsaid/laravel-multilingual/blob/d67cdefe6fd1cea94d04bc5ab6586d605452a9fb/src/TranslationsManager.php | src/TranslationsManager.php | <?php
namespace Themsaid\Multilingual;
class TranslationsManager
{
private $translations;
/**
* @param $translations
*/
public function __construct($translations)
{
$this->translations = $translations;
}
/**
* @param $key
* @return mixed
*/
public functio... | php | MIT | d67cdefe6fd1cea94d04bc5ab6586d605452a9fb | 2026-01-05T03:27:21.142962Z | false |
themsaid/laravel-multilingual | https://github.com/themsaid/laravel-multilingual/blob/d67cdefe6fd1cea94d04bc5ab6586d605452a9fb/src/config/multilingual.php | src/config/multilingual.php | <?php
return [
'locales' => ['en'],
'fallback_locale' => 'en',
];
| php | MIT | d67cdefe6fd1cea94d04bc5ab6586d605452a9fb | 2026-01-05T03:27:21.142962Z | false |
themsaid/laravel-multilingual | https://github.com/themsaid/laravel-multilingual/blob/d67cdefe6fd1cea94d04bc5ab6586d605452a9fb/tests/ValidationTest.php | tests/ValidationTest.php | <?php
use Illuminate\Support\Facades\Validator;
class ValidationTest extends TestCase
{
public function test_validation_fails_if_required_but_not_provided()
{
$validator = Validator::make(
['name' => ''],
['name' => 'translatable_required']
);
$this->assertTrue... | php | MIT | d67cdefe6fd1cea94d04bc5ab6586d605452a9fb | 2026-01-05T03:27:21.142962Z | false |
themsaid/laravel-multilingual | https://github.com/themsaid/laravel-multilingual/blob/d67cdefe6fd1cea94d04bc5ab6586d605452a9fb/tests/TestCase.php | tests/TestCase.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
class TestCase extends Orchestra\Testbench\TestCase
{
protected $DBName = 'laravel_packages_test';
protected $DBUsername = 'homestead';
protected $DBPassword = 'secret';
/**
... | php | MIT | d67cdefe6fd1cea94d04bc5ab6586d605452a9fb | 2026-01-05T03:27:21.142962Z | false |
themsaid/laravel-multilingual | https://github.com/themsaid/laravel-multilingual/blob/d67cdefe6fd1cea94d04bc5ab6586d605452a9fb/tests/TranslationsTest.php | tests/TranslationsTest.php | <?php
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Themsaid\Multilingual\Tests\Models\MULTILINGUAL_TEST_PLANET_MODEL as Planet;
use Themsaid\Multilingual\Tests\Models\MULTILINGUAL_TEST__UNTRANSLATABLE_PLANET_MODEL as UntranslatablePlanet;
class TranslationsTest extends TestCase
{
use DatabaseTransa... | php | MIT | d67cdefe6fd1cea94d04bc5ab6586d605452a9fb | 2026-01-05T03:27:21.142962Z | false |
themsaid/laravel-multilingual | https://github.com/themsaid/laravel-multilingual/blob/d67cdefe6fd1cea94d04bc5ab6586d605452a9fb/tests/models/MULTILINGUAL_TEST_PLANET_MODEL.php | tests/models/MULTILINGUAL_TEST_PLANET_MODEL.php | <?php
namespace Themsaid\Multilingual\Tests\Models;
use Illuminate\Database\Eloquent\Model;
use Themsaid\Multilingual\Translatable;
class MULTILINGUAL_TEST_PLANET_MODEL extends Model
{
use Translatable;
protected $table = 'planets';
public $translatable = ['name', 'order'];
public $fillable = ['name'... | php | MIT | d67cdefe6fd1cea94d04bc5ab6586d605452a9fb | 2026-01-05T03:27:21.142962Z | false |
themsaid/laravel-multilingual | https://github.com/themsaid/laravel-multilingual/blob/d67cdefe6fd1cea94d04bc5ab6586d605452a9fb/tests/models/MULTILINGUAL_TEST__UNTRANSLATABLE_PLANET_MODEL.php | tests/models/MULTILINGUAL_TEST__UNTRANSLATABLE_PLANET_MODEL.php | <?php
namespace Themsaid\Multilingual\Tests\Models;
use Illuminate\Database\Eloquent\Model;
use Themsaid\Multilingual\Translatable;
class MULTILINGUAL_TEST__UNTRANSLATABLE_PLANET_MODEL extends Model
{
use Translatable;
protected $table = 'planets';
public $fillable = ['name'];
public $timestamps = fa... | php | MIT | d67cdefe6fd1cea94d04bc5ab6586d605452a9fb | 2026-01-05T03:27:21.142962Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/ConfigProvider.php | src/ConfigProvider.php | <?php
/**
* @link http://github.com/zendframework/zend-validator 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 Zend\Validator;
class ConfigProvider
{... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/UndisclosedPassword.php | src/UndisclosedPassword.php | <?php
/**
* @link http://github.com/zendframework/zend-validator for the canonical source repository
* @copyright Copyright (c) 2019 Zend Technologies USA Inc. (https://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace Zend\Validator;
use Psr\Http\Client\Client... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/CreditCard.php | src/CreditCard.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Csrf.php | src/Csrf.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Digits.php | src/Digits.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/ValidatorPluginManagerAwareInterface.php | src/ValidatorPluginManagerAwareInterface.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Regex.php | src/Regex.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/IsInstanceOf.php | src/IsInstanceOf.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace Z... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/LessThan.php | src/LessThan.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Bitwise.php | src/Bitwise.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Uri.php | src/Uri.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/AbstractValidator.php | src/AbstractValidator.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/StringLength.php | src/StringLength.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Date.php | src/Date.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2019 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/EmailAddress.php | src/EmailAddress.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Step.php | src/Step.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/ValidatorInterface.php | src/ValidatorInterface.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Isbn.php | src/Isbn.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zend-validator 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
*/
... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/StaticValidator.php | src/StaticValidator.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Ip.php | src/Ip.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/ValidatorPluginManagerFactory.php | src/ValidatorPluginManagerFactory.php | <?php
/**
* @link http://github.com/zendframework/zend-validator 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 Zend\Validator;
use Interop\Container\... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Explode.php | src/Explode.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Module.php | src/Module.php | <?php
/**
* @link http://github.com/zendframework/zend-validator 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 Zend\Validator;
class Module
{
/**... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Uuid.php | src/Uuid.php | <?php
/**
* @link http://github.com/zendframework/zend-validator 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 Zend\Validator;
/**
* Uuid validator.... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/GreaterThan.php | src/GreaterThan.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/NotEmpty.php | src/NotEmpty.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Hostname.php | src/Hostname.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | true |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/GpsPoint.php | src/GpsPoint.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/InArray.php | src/InArray.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Callback.php | src/Callback.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/IsCountable.php | src/IsCountable.php | <?php
/**
* @see https://github.com/zendframework/zend-validator for the canonical source repository
* @copyright Copyright (c) 2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-validator/blob/master/LICENSE.md New BSD License
*/
namespace Zend\Validator... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Iban.php | src/Iban.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Hex.php | src/Hex.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Identical.php | src/Identical.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/ValidatorChain.php | src/ValidatorChain.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/DateStep.php | src/DateStep.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Timezone.php | src/Timezone.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Barcode.php | src/Barcode.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/ValidatorPluginManager.php | src/ValidatorPluginManager.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
zendframework/zend-validator | https://github.com/zendframework/zend-validator/blob/63dd0fe5d89f4f7a160ea0a521def7b09d3e420d/src/Between.php | src/Between.php | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | php | BSD-3-Clause | 63dd0fe5d89f4f7a160ea0a521def7b09d3e420d | 2026-01-05T03:27:33.338398Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.