blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
116
path
stringlengths
2
241
src_encoding
stringclasses
31 values
length_bytes
int64
14
3.6M
score
float64
2.52
5.13
int_score
int64
3
5
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
text
stringlengths
14
3.57M
download_success
bool
1 class
fdd039815487e9e937ef080f16eb914a68dd4934
PHP
brian-prx/PHProducer
/classes/view.php
UTF-8
378
2.9375
3
[]
no_license
<?php class View { var $name = 'View'; var $view_file = null; var $bread_crumbs = array(); function __construct() { } function set_view_file( $file ) { $this->view_file = $file; } function render() { ob_start(); include $t...
true
de23df3ae64e61e010fe1082ce23776f16705829
PHP
anb05/Duck
/Contracts/QuackBehavior.php
UTF-8
639
2.8125
3
[]
no_license
<?php /** * Interfece QuackBehavior * * PHP version 7.0.1 * * @category Learn * * @package Duck * * @author anb05 <alexandr05@list.ru> * * @license MIT <mit@example.com> * * @link https://github.com/anb05/Duck.git */ namespace Contracts; /** * Интерфейс для описания кряканья утки * * @category Lea...
true
86b88c8127b5099735505b6f53cfab1083b46360
PHP
Vaganovski/task
/Core/Session.php
UTF-8
1,993
2.71875
3
[]
no_license
<?php namespace Core; use App\Config; class Session { public static function set($key, $value, $auth = false) { self::_init(); if ($auth) { self::_regenerate(); } $_SESSION[$key] = $value; self::_age(); session_write_close(); } public sta...
true
6d81c4ca993d67c24ec33431a6f7cd94a27ff4a4
PHP
ca4ti/php-sip-1
/src/Header/NameAddrHeader.php
UTF-8
7,591
2.71875
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php /** * RTCKit\SIP\Header\NameAddrHeader Class */ declare(strict_types = 1); namespace RTCKit\SIP\Header; use RTCKit\SIP\Response; use RTCKit\SIP\URI; use RTCKit\SIP\Exception\InvalidDuplicateHeaderException; use RTCKit\SIP\Exception\InvalidHeaderLineException; use RTCKit\SIP\Exception\InvalidHeaderParameterExc...
true
ad45ab5c0b43f357b6c19780896d72df1e2ae18e
PHP
darkjedi9922/lightness34
/engine/statistics/lists/count/MultipleRoutesIntervalCountList.php
UTF-8
1,332
2.515625
3
[ "MIT", "Apache-2.0" ]
permissive
<?php namespace engine\statistics\lists\count; use engine\statistics\lists\MultipleIntervalDataList; class MultipleRoutesIntervalCountList extends MultipleIntervalDataList { protected function getQuery(): string { $interval = $this->getSecondInterval(); $minInterval = $this->getLeftBorder(); ...
true
baa81fa279b9006a6a1af075829ae68c35d68bf6
PHP
sunzinetAG/agora
/Classes/Utility/QuoteUtility.php
UTF-8
2,610
2.625
3
[]
no_license
<?php namespace AgoraTeam\Agora\Utility; /*************************************************************** * Copyright notice * (c) 2015 Philipp Thiele <philipp.thiele@phth.de> * Björn Christopher Bresser <bjoern.bresser@gmail.com> * All rights reserved * This script is part of the TYPO3 project. Th...
true
dee7188fb5de239b4b9150cc41c49b7b4c4db1d4
PHP
cslunix/csluni-web
/api/examples/rechazarReg.php
UTF-8
3,134
2.515625
3
[]
no_license
<?php //ini_set('session.gc_maxlifetime', 72000); //session_set_cookie_params(72000); session_start(); if( isset($_GET) ){ include('../../../config/EissonConnect.php'); //include('/../../../vendor/PHPMailer/PHPMailerAutoload.php'); $data = json_decode($_GET['data']); $tipo = $_GET['...
true
7052e11914666f8876643a36495f11c42a0d48fd
PHP
therishabh/sampoorn-2
/index.php
UTF-8
3,857
2.53125
3
[]
no_license
<?php //Includes Database Connection include 'include/db.php'; //Start Session For Username session_start(); //Check Session Variable & Redirect To Dashboard if(isset($_SESSION['login_user']) && !empty($_SESSION['login_user'])) { ?> <script type="text/javascript"> window.location = "dashboard.php"; </script> <?p...
true
d4e4b71893f6072351f3a0613f9364fa8349528e
PHP
ilovintit/hyperf-library
/src/Utils/Arr.php
UTF-8
3,021
2.875
3
[]
no_license
<?php declare(strict_types=1); namespace Iit\HyLib\Utils; use Hyperf\Utils\Collection; /** * Class Arr * @package Iit\HyLib\Utils */ class Arr extends \Hyperf\Utils\Arr { /** * @param array $filterData * @return array */ public static function filterNull(array $filterData): array { ...
true
2df7f7224d5dc774e1a9d66b6f6726328632c1e5
PHP
madeITBelgium/Spintax
/src/Content.php
UTF-8
4,467
3.015625
3
[ "LGPL-2.0-or-later", "MIT" ]
permissive
<?php namespace MadeITBelgium\Spintax; use Countable; /** * @version 1.0.0 * * @copyright Copyright (c) 2019 Made I.T. (http://www.madeit.be) * @author Tjebbe Lievens <tjebbe.lievens@madeit.be> * @license http://www.gnu.org/licenses/old-licenses/lgpl-3.txt LGPL */ class Content implements Countab...
true
73631b3c83baf8de2aa6efca57b3a2a80d03f0ff
PHP
ABY-sys/Workshop
/yams's/Calvin_1_0_0/article.php
UTF-8
701
2.84375
3
[]
no_license
<?php $bdd = new PDO('mysql:host=127.0.0.1;dbname=espacemembre','root',''); if(isset($_GET['id']) AND !empty($_GET['id'])) { $get_id = htmlspecialchars($_GET['id']); $article = $bdd->prepare('SELECT * FROM annonce WHERE id = ?'); $article->execute(array($get_id)); if($article->rowCount() == 1) { $art...
true
8d8c3bd42bfe8f7349f2afac8f76ad6b627a45ee
PHP
Publero/PaymentAdvancedTelecomSMSBundle
/Entity/TransactionStatusResult.php
UTF-8
1,185
2.546875
3
[ "MIT" ]
permissive
<?php namespace Publero\AdvancedTelecomSMSBundle\Entity; class TransactionStatusResult extends Result { /** * @var int */ private $orderId; /** * @var string */ private $description; public function getMessageTranslationId() { return 'transaction_status_result.co...
true
3abcfa7a8cf41e0a4ae91a54f6416a8b39029b1a
PHP
yuxblank/phackp-cms
/src/doctrine/model/Acl.php
UTF-8
1,152
2.609375
3
[]
no_license
<?php /** * Created by IntelliJ IDEA. * User: yuri.blanc * Date: 20/09/2017 * Time: 16:38 */ namespace cms\doctrine\model; use cms\doctrine\BaseEntity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity @ORM\Table(name="acl") * Class Acl * @package cms\doctrine\model */ class Acl extends BaseEntity { /** ...
true
e6f3728be522955aa751c927fb67ca2c2c41c8dc
PHP
ruslan-g/minix
/src/Controller/ApiController.php
UTF-8
6,011
2.5625
3
[]
no_license
<?php namespace Minix\Controller; use Minix\Application; use Minix\Model\MaxScore; use Minix\Model\Score; use Minix\Model\Transaction; use Minix\Request; use Minix\Response; use Minix\Service\Transaction as TransactionService; class ApiController extends BaseController { /** * @return bool */ public function t...
true
4910dfaf1d16a824dc9d7d51c061712c66b2e1d5
PHP
vainyl/core
/src/Collection/Adapter/DsVectorAdapter.php
UTF-8
2,646
2.78125
3
[ "MIT" ]
permissive
<?php /** * Vainyl * * PHP Version 7 * * @package Core * @license https://opensource.org/licenses/MIT MIT License * @link https://vainyl.com */ declare(strict_types=1); namespace Vainyl\Core\Collection\Adapter; use Ds\Vector; use Vainyl\Core\AbstractIdentifiable; use Vainyl\Core\Collection\VectorInte...
true
dc4d9ff31f406f542831fe461a00b05a6f946ff9
PHP
wgm89/slim_mvc
/Slim/Core/Controller.php
UTF-8
1,285
2.859375
3
[]
no_license
<?php /** * author : saeed * date : 2013-7-9 * */ class Controller{ public function __construct(){ /* $this->response = new \Slim\Http\Response(); $this->environment = \Slim\Environment::getInstance(); $this->request = new \Slim\Http\Request($this->environment); */ ...
true
9e76865b2f6bb155fd1432b2e2806ded232ff318
PHP
google/site-kit-wp
/includes/Core/Storage/Options_Interface.php
UTF-8
1,358
2.828125
3
[ "Apache-2.0" ]
permissive
<?php /** * Interface Google\Site_Kit\Core\Storage\Options_Interface * * @package Google\Site_Kit\Core\Storage * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Storage; /** *...
true
7ba1f4decfa2e6d6163da1780b14e8e7a85a2e18
PHP
thirdgerb/enum
/src/Enum.php
UTF-8
1,799
3.078125
3
[]
no_license
<?php namespace Thirdgerb; class Enum implements EnumInterface { private $name; /** * @var array */ private static $constants = []; private function __construct(string $name){ $this->name = $name; } final public static function names() : array { $class = stati...
true
838f6e01bbdd5c2656e555730e3f38b9f42efbc2
PHP
Antcliffr12/IUSM
/assets/components/resident-list/resident-list.vcplugin.php
UTF-8
1,326
2.640625
3
[]
no_license
<?php /** * Shortcode and Visual Composer plugin definition for component * */ /** * Shortcode processor for faculty-list * @param $atts Shortcode attribute array * @return string The rendered output of the shortcode */ function sc_iu_resident_list($atts) { extract( shortcode_atts( array( 'department_code' =...
true
29a8e0b74092182d631b0b946602df8d71f0b3a8
PHP
devzer01/netzilla
/bot/sites/tiredtobesingle/funcs.php
UTF-8
18,260
2.578125
3
[]
no_license
<?php require_once("XMLParser.php"); class funcs { static function getCookiePath($username) { return dirname($_SERVER['SCRIPT_FILENAME'])."/cookies/".$username.".txt"; } static function memberlogin($username, $password,$loginURL,$loginRefererURL) { $cookie_path = self::getCookiePath($username); ...
true
1790190c3e9472d7f983d4dd65f2bb70a1f62b4f
PHP
sidelsky/cspace
/themes/Divi-cspace/templates/template-inc/posts.php
UTF-8
3,488
2.53125
3
[]
no_license
<?php if(!function_exists('outputPosts')){ function formatRowHtml($layout_style, $amount, $column_position, $loopedRow){ global $templatePath; $loopedRow = $loopedRow + 1; //ROW Class $row_class = 'et_pb_row'; //DIVI Column Classes $divi_column_class = 'et_pb_c...
true
fb9b158c65debdb0f4139e0d0868b4be36de3638
PHP
mrares/Webicks
/web_lib/Webicks/ControllerAbstract.php
UTF-8
918
2.734375
3
[]
no_license
<?php namespace Webicks; use Webicks\Controller\Exception\stopActionException; abstract class ControllerAbstract { /** * Our request * @var Webicks\Request */ protected $request = null; public function __construct() { $this->request = Request::getInstance(); static::init();...
true
1242c656a5b2618720044567b69941fd04507626
PHP
ixnode/php-checker
/src/CheckerClass.php
UTF-8
1,595
2.9375
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); /* * This file is part of the ixno/php-checker project. * * (c) Björn Hempel <https://www.hempel.li/> * * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ namespace Ixnode\PhpChecker; use Ixnode\Php...
true
04069e742d6f01dc59a8327f9f0ccbca769f18c2
PHP
LivingLogic/LivingLogic.PHP.ul4
/com/livinglogic/ul4/Formatter.php
UTF-8
739
3.21875
3
[]
no_license
<?php namespace com\livinglogic\ul4; include_once 'com/livinglogic/ul4/ul4.php'; class Formatter { private $builder = ""; private $level = 0; private $needsLF = false; public function __construct() { } public function indent() { ++$this->level; } public function dedent() { --$this->level; } publ...
true
d32edfef41d521db2b05cb4f59a7ead82a1d5469
PHP
aliyunmq/mq-http-php-sdk
/MQ/Model/MessagePartialResult.php
UTF-8
647
2.75
3
[ "MIT" ]
permissive
<?php namespace MQ\Model; class MessagePartialResult { private $messages; private $failResolveMessages; /** * @param array $messages * @param array $failResolveMessages */ public function __construct(array $messages, array $failResolveMessages) { $this->messages = $messages...
true
4f64c8bf3f6f56e253eaba6f6ea546ec3414a6da
PHP
Juslog12/Codeup_Exercises
/arithmetic.php
UTF-8
1,205
4.0625
4
[]
no_license
<?php function error($a, $b, $flag) { if ($flag === 1) { echo "ERROR: both {$a} and {$b} should be numbers\n"; } else { echo "Cannot divide by zero. Please choose another number\n"; } } function add($a, $b) { if (is_numeric ($a) && is_numeric($b)) { return ...
true
34317a0823da42f13aba481988e498413da9e6af
PHP
ignat05/lessons
/login.php
UTF-8
601
2.78125
3
[]
no_license
<?php require_once "header.php"; ?> <div id="loginform"> <form method ="post"> логин <input type = "text" name = "login"> пароль <input type = "password" name = "parol"> <input type = "submit" value = "войти"> </form> </div> <?php $l = $_POST['login']; $p = $_POST["paro...
true
15dff38b0796e2e19b808770d93e316bc551f1d2
PHP
hparadiz/emergence-skeleton
/php-classes/Emergence/Developer/Tools/SysInfo.php
UTF-8
1,652
2.53125
3
[ "MIT" ]
permissive
<?php namespace Emergence\Developer\Tools; class SysInfo { public static function mounts() { // get server's hard drive info $mounts = explode("\n",`df -h`); foreach($mounts as $mount) { list($DevicePath,$ThousandKBlocks,$Used,$Available,$UsedPercentage,$MountPath) = preg_split('/[\s,]+/',$...
true
17dbe67bafd16cf1121a7dc163810b4f43343c9b
PHP
Yabetsu16/AMA-Scheduler
/thursday.php
UTF-8
1,627
2.75
3
[]
no_license
<?php // include Database connection file include("config/connection/conn_db.php"); $data = '<div class="row">'; $query = "SELECT * FROM tbl_class WHERE day='Thursday'"; if (!$result = mysqli_query($conn, $query)) { exit(mysqli_error($conn)); } // if query results contains ro...
true
ee3534467bd9a11c932b6bade275c1889a9bc045
PHP
NicklasWallgren/instagram-api
/src/Response/Responses/Media/CommentResponse.php
UTF-8
502
2.59375
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace Instagram\SDK\Response\Responses\Media; use Instagram\SDK\Response\DTO\Media\Comment; use Instagram\SDK\Response\Responses\ResponseEnvelope; /** * Class CommentResponse * * @package Instagram\SDK\Response\Responses\Media */ final class CommentResponse extends ResponseEnv...
true
dddf0ff0d44d77d2fa968a7209455f9a882e1176
PHP
joaopdrbs/biblioteca_criaenvio
/exemplos/testePaginacao.php
UTF-8
26,408
2.859375
3
[]
no_license
<?php include_once '../Criaenvio_loader.php'; // VOCÊ DEVE ALTERAR SUA CHAVE AQUI define('NN_CHAVE', '--suachave--'); echo '<pre>'; $idContato = '-'; $idGrupo = 'T6'; $contPassou = $contNaoPassou = 0; /** * Consultar contatos sem parâmetros. * Buscar: * 0 - Verificar se é paginado. * 1 - página anterior (inváli...
true
d32868ae6255379f88fee25121ab79b67e645118
PHP
abirneosoft/Task-2
/login.php
UTF-8
1,443
2.546875
3
[]
no_license
<?php include("class.php"); $ob=new Project(); if(isset($_POST['submit'])) { $msg=$ob->login($_POST['email'],$_POST['password']); } ?> <html> <head> <?php include("head.php") ;?> </head> <body> <div class="jumbotron bg-info"> <h1 class="display-4 text-center">Login Panel</h1> <?ph...
true
4e36687ff950c3fdac59f2a18c10c4d832b5ed86
PHP
dalejodc/phpkickoff
/php-basic/09-conditional-statements/9.4-ternary-operator.php
UTF-8
391
4.09375
4
[]
no_license
<?php $age = 19; echo "Current age: " . $age . "<br>"; // if else way if($age < 18){ echo "Your age is less than 18, so you are a child"; // Display Child if age is less than 18 } else{ echo 'Your age is greater than 18, so you are an adult'; // Display Adult if age is greater than or equal to 18 } // tern...
true
c7893e2b75171e342da6f811742e42b70e26a3fd
PHP
abdel7517/Blogue
/src/Controller/LoginController.php
UTF-8
4,077
2.765625
3
[]
no_license
<?php namespace App\Controller; use App\model\UserManager; use Blogue\Controller; use Blogue\Request; class LoginController extends Controller { public $request; public function __construct() { $this->request = new Request; } public function log() { //check if password match ...
true
99d57cce55984d254ad53d1575017da743f37def
PHP
khareshivang1617/Faculty-Portal-Database-Management-Project-
/front-end/SQL/FacId&DesForChangePOR.php
UTF-8
1,237
2.515625
3
[]
no_license
<html> <head> <style> table { border-style:solid; border-width:2px; border-color:white; } </style> </head> <body bgcolor="#EEFDEF"> <?php $db_connection = pg_connect("host=localhost dbname=leave_db user=postgres password=1109"); $sql="SELECT f.id, f.first_name, f.last_name, c.designation FROM f...
true
f2bcc2096c7bd70fce582d21c4fba602ebaa3539
PHP
pankuu/the-witcher-card-game
/src/Entity/DeckCard.php
UTF-8
925
2.5625
3
[ "MIT" ]
permissive
<?php namespace App\Entity; use App\Repository\DeckCardRepository; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass=DeckCardRepository::class) */ class DeckCard { /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Col...
true
7e57e75305613f1fbe5f8800b5a68a7d12e6d4a2
PHP
rehan-azaz/CodeIgnitor-Admin-Dashboard-and-Store-Front
/admin/application/models/Product_model.php
UTF-8
3,329
2.59375
3
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
<?php class Product_model extends CI_Model { function __construct() { $this->table = 'products'; $this->select_column = array('id','product_category', 'product_name', 'product_info', 'product_price', 'product_image'); $this->order_column = array(null,'product_category', 'product_name', 'pro...
true
b0bb4e0be9f2de2ee3f95ef2c20aa31337775163
PHP
aadame3311/MyClinicDB
/models/Base/EmployeeQuery.php
UTF-8
49,217
2.515625
3
[]
no_license
<?php namespace Base; use \Employee as ChildEmployee; use \EmployeeQuery as ChildEmployeeQuery; use \Exception; use \PDO; use Map\EmployeeTableMap; use Propel\Runtime\Propel; use Propel\Runtime\ActiveQuery\Criteria; use Propel\Runtime\ActiveQuery\ModelCriteria; use Propel\Runtime\ActiveQuery\ModelJoin; use Propel\Run...
true
f60cf9a8c8cb719fffa48752d1888141b973626b
PHP
pmdumuid/flexible-orm
/src/Controller/ControllerRegister.php
UTF-8
4,332
3.140625
3
[]
no_license
<?php /** * @file * @author jarrod.swift */ namespace ORM\Controller; use ORM\Interfaces\ClassRegister; use ORM\Interfaces\Controller; /** * Register of controllers * * Controllers can be explicitly registered as an alias to a class name (using * registerController()) or automatically registered using a namesp...
true
dd761870e034381a5e3c6771bda5880c06b60b21
PHP
rubends/web-backend-oplossingen
/opdracht-arrays-functions/opdracht-arrays-functions2.php
UTF-8
477
3.140625
3
[]
no_license
<?php $dieren = array("flamingo", "muis", "olifant", "korkodil", "tijger", "hond"); sort($dieren); $zoogdieren = array("mens", "bonobo", "dolfijn"); $dierenLijst = array_merge($dieren, $zoogdieren); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>arrays-functions</title> ...
true
b5c6e94fb320196a46cb380d430a0b470d7a0d39
PHP
Gustavus/php-gto
/tests/override_function_static_function.phpt
UTF-8
693
3.0625
3
[]
no_license
--TEST-- override_function() w/static function reference --ARGS-- -dextension=gto.so -dextension=gto.dll --FILE-- <?php $input = "test string"; class MyClass { public static function myStaticFunction($input) { return "not reversed: {$input}"; } } printf("Original: %s\n", strrev($input)); ...
true
1724e13e230ae93467522c0dc293c70dae3c9278
PHP
cochrand84/buildingmaterialtracker
/includes/save_cnvimg.php
UTF-8
797
2.90625
3
[]
no_license
<?php define('UPLOAD_DIR', '../uploads/'); //Upload folder //get properly base64 image data passed via post in 'cnvimg' $cnvimg = trim(strip_tags($_POST['cnvimg'])); $cnvimg = str_replace('data:image/png;base64,', '', $cnvimg); $cnvimg = str_replace(' ', '+', $cnvimg); //set image name from 'imgname', or unique name...
true
86c7c1487eba834a15408847213f5adbcf97a320
PHP
junyie/gogetter
/reset_password.php
UTF-8
1,957
2.890625
3
[]
no_license
<?php /* Password reset process, updates database with new user password */ require 'db.php'; session_start(); $email =$_POST['email']; $hash = ""; // Make sure the form is being submitted with method="post" if (!isset($_POST['newpassword']) || !isset($_POST['confirmpassword']) ||!isset($_POST['email'])){ header("...
true
bbf974e1125b869051238f83dc2b7dd0309c7369
PHP
xinbaochi/Week5
/time2end.php
UTF-8
3,657
2.890625
3
[]
no_license
<html> <head> <title>time2end</title> </head> <body> <div class="head"> time2end </div><br> <fieldset class="nowtime"> <?php echo date('Y年'); switch(date('F')) { case 'January': echo "一月"; break; case 'February': echo "二月"; break; case 'March': echo "三月"; break; case 'Ap...
true
f78343b707d5380229a92d7a2842d58eede2475e
PHP
nathan-charrois/Urban
/Urbnio/Helper/i18n.php
UTF-8
2,355
2.921875
3
[]
no_license
<?php namespace Urbnio\Helper; class i18n { private static $_data = array(); private $_location = null; /** * @todo get user to set locale. */ public function __construct() { $this->_location = APP_LOCALE; } /** * @param $data array the language keys and translat...
true
e005b1a180835d09b0584d3ccbedc768b7f9401c
PHP
tesmen/velo.local
/src/VelovitoBundle/Repository/UserPhotoRepository.php
UTF-8
526
2.546875
3
[]
no_license
<?php namespace VelovitoBundle\Repository; use VelovitoBundle\Entity\UserPhoto; use VelovitoBundle\Entity\User; class UserPhotoRepository extends GeneralRepository { /** * @param User $user * @param $filename * @return UserPhoto */ public function create(User $user, $filename) { ...
true
2aa32bc44a9447ff81ff09d2488b943807351f6e
PHP
glibmarchenko/lootly
/app/Jobs/ShopifyAssetInstaller.php
UTF-8
4,178
2.546875
3
[]
no_license
<?php namespace App\Jobs; use App\Facades\ShopifyApi; use App\Merchant; use App\Repositories\IntegrationRepository; use App\Repositories\MerchantRepository; use Illuminate\Bus\Queueable; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Ill...
true
b1b975372430928a6aec56880b239dc00663effa
PHP
PareshLalvani/simpledoctorfinder
/dfmodel.php
UTF-8
6,392
2.625
3
[]
no_license
<?php class connection { public function connect() { $server = "localhost"; $user = "root"; $pass = ""; $db = "doctorfinder"; return $connection = new MySQLi($server, $user, $pass, $db); } } class model { function login($conn, $data, $table, $where, $pswdstr, $appcond) { $k = "...
true
06067cc9526b799f578915ab69f48a59781453c2
PHP
Innmind/Html
/src/Node/Document.php
UTF-8
2,719
2.859375
3
[ "MIT" ]
permissive
<?php declare(strict_types = 1); namespace Innmind\Html\Node; use Innmind\Xml\{ Node, Node\Document\Type, AsContent, }; use Innmind\Filesystem\File\{ Content, Content\Line, }; use Innmind\Immutable\{ Sequence, Str, }; /** * @psalm-immutable */ final class Document implements Node, AsCon...
true
18c3aee490919e7824942e5d74290aeb95b5631b
PHP
kiranjonwalwdm/phpstudy
/class/static.php
UTF-8
662
3.53125
4
[]
no_license
<?php class base{ public static $name="kiran jonwal"; public static function show(){ //echo $this->name; echo self::$name; } // public function __construct(){ // self::show(); // echo "\n"; // } // public function __construct($n){ // self::$name=$n...
true
b86da2831604eda725caf185e56d8cd5f68406f2
PHP
sosso21/php-cours
/vidéogram30 - interroger base de données/index.php
UTF-8
1,563
2.65625
3
[]
no_license
<?php /* #30 - interroger base de données pr avoir des info pdp -phpinfo() ; -exit() ; fetch() --> c pour eviter les affichage de donnée en brute fetch(PDO::FETCH_ASSOC) : tableau associatuve (clé + valeur ) fetch(PDO::FETCH_ASSOC) : c pour les afficher en objet */ ...
true
005585f5a5ade86ba108cc81005d0b46738dde01
PHP
alexseif/myapp
/src/AppBundle/Model/Sheet.php
UTF-8
1,934
3.203125
3
[ "BSD-3-Clause", "MIT" ]
permissive
<?php /* * The following content was designed & implemented under AlexSeif.com */ namespace AppBundle\Model; use DateInterval; use DateTime; /** * Description of Sheet. * * @author Alex Seif <me@alexseif.com> */ class Sheet { /** * @var string title */ private $title; /** * @var Da...
true
cab0ab9c51ec553732e695e638705262a807d45f
PHP
Phaeon/App-Web
/AppWeb_final3/controlers/ConnexionControler.php
UTF-8
3,664
2.640625
3
[ "CC0-1.0" ]
permissive
<?php require_once 'models/ConnexionModel.php'; require_once 'controlers/HomeControler.php'; require_once 'controlers/PlayerControler.php'; require_once 'controlers/UtilsControler.php'; require_once 'views/View.php'; class ConnexionControler { private $_conn; private $_main; private $_play; private $...
true
bc723d1bb03b917971f6cfc219bc11ed9629cca3
PHP
jason-engelbrecht/unami
/classes/LongAnswers/ETSLongAnswers.php
UTF-8
4,262
3.09375
3
[ "MIT" ]
permissive
<?php /** * Class ETSLongAnswers */ class ETSLongAnswers { private $_convict; private $_convictText; private $_availability; private $_education; private $_experience; private $_languages; private $_youngAdult; private $_diagnosis; private $_selfDisclosure; pri...
true
e24fece992a341e6e2b03431862ca29e1be8a28a
PHP
mvegaleal/slim-skeleton-mvc
/src/controller/TicketController.php
UTF-8
2,212
2.65625
3
[]
no_license
<?php use \Interop\Container\ContainerInterface as ContainerInterface; class TicketController { protected $ci; //Constructor public function __construct(ContainerInterface $ci) { $this->ci = $ci; $this->logger = $ci->logger; $this->db = $ci->db; $this->renderer = $ci->rend...
true
e184101a3dd86d1e11d9c66e55e74d398f99955c
PHP
tutorialAI/php-book
/practice/excavator.php
UTF-8
1,467
3.21875
3
[]
no_license
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <?php class Excavator{ public $pos = 0; public $map = ''; pub...
true
4180496514cb36f0f30c5d22f248b32d177ab395
PHP
joaopaulojpos/EstudosPHP
/Loja/inc/configuration.php
UTF-8
777
3.125
3
[]
no_license
<?php class Sql{ public $conn; //Metodo magico do PHP Construct a primeira classe que vai executar por meio do objeto. public function __construct(){ return $this->conn = mysqli_connect("localhost","root","","hcode_shop"); } public function query($string_query){ return mysqli_query($this->conn,$string_que...
true
2094a1c39e110f2e714fe9b081f90df622459fa9
PHP
Iandresa/sales-management-system-POS-
/gastro_old/main/prov/classes/encargo.php
UTF-8
3,208
2.75
3
[]
no_license
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * Description of encargo * * @author Sebastián Arancibia */ class encargo { protected $db; public function __construct() { $this->db = new mysql(); } function nuevoEncargo(...
true
d633dd3543a1c18d9bcb7a3592a777118c2527b6
PHP
temgg/VTCManager-Website-Redesign
/clientarea/dashboard/logbook/get_truck_info.php
UTF-8
849
2.65625
3
[ "MIT" ]
permissive
<?php //Zweck: hole Daten für detaillierte Ansicht des LKW //check GET request if(!isset($_GET['manufacturer']) && !isset($_GET['model'])){ //bad request header("Status: 400 Bad Request"); die(); } //Connect and Check include '../../get_user_data.php'; //GET Variablen $requested_manufacturer = $_GET['m...
true
78237d8cc534ac2d66d4bb2e4eb61fecd460bae9
PHP
elbe9431/BFT
/includes/debug.php
UTF-8
574
2.640625
3
[]
no_license
<?php /** * Berufsfindungstest :: Debug * * @version 1.0 * @package Berufsfindungstest * @author Carsten Heine <carstenheine@gmx.de> * @copyright 2010 Carsten Heine. All rights reserved. */ // Restricted access defined('_BFT_EXEC') or die('Restricted access'); class BFT_Debug { private $msg = array(); ...
true
ecc0390da892cd6fce81d7756e20458378165107
PHP
MorganeAD/iutarguments
/formulaire-experience/resultat-choix-analyse-2.php
UTF-8
15,322
2.609375
3
[]
no_license
<!DOCTYPE HTML> <?php $mysql_host = "infolimon"; // infolimon $mysql_database = "alonsom"; $mysql_user = "alonsom"; $mysql_password = "0203003337B"; $connect = mysql_connect($mysql_host,$mysql_user,$mysql_password) or die("erreur de connexion au serveur" . mysql_error()); mysql_select_db($mysql_database) ...
true
4337f8660e4d498b14bcbe6311c3221d9bce1c91
PHP
q8197264/www.mall.cn
/mall/app/AppServices/Services/CartService.php
UTF-8
1,783
2.890625
3
[ "MIT" ]
permissive
<?php namespace App\AppServices\Services; use App\AppServices\Services\Cart\Cart; /** * Created by PhpStorm. * User: sai * Date: 2018-12-17 * Time: 22:29 */ class CartService { protected $cart; public function __construct(Cart $cart) { $this->cart = $cart; } /** * show cart dat...
true
fd8fade874a12e31bea865eac3321d354ae05570
PHP
abhaywani114/Course-selling
/app/Http/Controllers/TeacherController.php
UTF-8
3,632
2.515625
3
[]
no_license
<?php namespace App\Http\Controllers; use Yajra\DataTables\DataTables; use Illuminate\Support\Facades\Validator; use Illuminate\Http\Request; use DB; use Log; use Auth; class TeacherController extends Controller { // public function addNewTeacher(Request $request) { try { $validator = Validator::make($re...
true
53472999caf8b2af9d2918dcd3c1b3df585ece9c
PHP
marcinsoja/php-json-rpc
/lib/JsonRpcLib/Server/Service/Manager/Manager.php
UTF-8
2,608
2.640625
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
<?php namespace JsonRpcLib\Server\Service\Manager; use \JsonRpcLib\Server\Service\Wrapper\WrapperInterface; use \JsonRpcLib\Server\Service\Wrapper\CallableInterface; use \JsonRpcLib\Server\Service\Resolver\Resolver; use \JsonRpcLib\Server\Service\Resolver\ResolverInterface; class Manager implements ManagerInterface ...
true
1a3458fe25a9236548eb850ae82d807079c7a7cb
PHP
jherranzm/GestionInformesXLS
/InformeXLSService.php
UTF-8
8,759
2.78125
3
[]
no_license
<?php require_once('InformeXLS.php'); require_once('Pestanya.php'); require_once('PestanyaService.php'); class InformeXLSService{ private $username = "root"; private $password = "illuminatti"; /** * */ public function listAll(){ $statement = "SELECT i.id as id , i.nombre as nombre , ...
true
adf44a6bc00cae4fa8d13d82418ba78a6743c185
PHP
Rizwan8909/PHP-Login-Sytem
/login.php
UTF-8
5,388
2.546875
3
[]
no_license
<?php $login = false; $showErrorAlert = false; if($_SERVER['REQUEST_METHOD'] == 'POST'){ include 'partials/_db_connect.php'; $username = $_POST['username']; $password = $_POST['password']; // $sql = "SELECT * FROM `user124` WHERE `username` = '$username' AND `pa...
true
47086096ba21109ad57aa426bd15bdafe3f60908
PHP
Babacar-Diago/Sama-Ecole
/modules/niveauClasse/controleurs/ajoutNiveau.php
UTF-8
851
2.71875
3
[]
no_license
<?php include CHEMIN_CLASSPHP.'niveauSerie.class.php'; include CHEMIN_MODELE.'niveauFonctions.class.php'; $pdo = PDO2::getInstance(); $fonction = new NiveauFonctions($pdo); // Si on a voulu ajouter un niveau. if (isset($_POST['ajouter']) && isset($_POST['niveau']) && isset($_POST['serie'])) { $niveau = new N...
true
0f61ad43acea0624248344dcdf98b3cb484780b3
PHP
Daniel-Marynicz/BehatParallelExtension
/src/Event/Worker.php
UTF-8
448
2.53125
3
[ "MIT" ]
permissive
<?php namespace DMarynicz\BehatParallelExtension\Event; use Behat\Testwork\Event\Event; use DMarynicz\BehatParallelExtension\Worker\Worker as Workman; abstract class Worker extends Event { /** @var Workman */ private $worker; public function __construct(Workman $worker) { $this->worker = $wo...
true
d2e938739e5dbee0f00373647f987d2d261cd621
PHP
ryanmcoble/crypto-panel
/app/models/AccountBalance.php
UTF-8
172
2.96875
3
[]
no_license
<?php class AccountBalance { public static function toString($balance) { $balance = substr_replace($balance, '.', strlen($balance) - 18, 0); return $balance; } }
true
77d97f960c5b33a6d5c20eef0ca06da89485252c
PHP
Softmid/talleres_memo
/application/models/procesos_vehiculo.php
UTF-8
6,333
2.515625
3
[]
no_license
<?php class Procesos_Vehiculo extends CI_Model { function agregar_vehiculo($data) { function associative_push($arr, $tmp) { if (is_array($tmp)) { foreach ($tmp as $key => $value) { $arr[$key] = $value; } return $arr; } return false; } $this->db->insert('vehiculo',$data['vehicul...
true
a694ca6f32f3a7e4fbb944b95b006eb49aaa1088
PHP
netsky9/training
/controllers/ExtrasController.php
UTF-8
4,928
2.5625
3
[ "BSD-3-Clause" ]
permissive
<?php namespace app\controllers; use yii\web\Controller; use app\models\Product; use app\models\Category; use app\models\Details; use app\modules\admin\models\Rent; use app\models\User; use Yii; use yii\data\Pagination; class ExtrasController extends Controller { //Create public virable for print categories i...
true
73d027ce20228e8cf4695faf73bd12addaebbac9
PHP
reggiestain/e-farmer
/database/migrations/2019_10_08_231839_create_farm_details_table.php
UTF-8
1,016
2.59375
3
[ "MIT" ]
permissive
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateFarmDetailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('farm_detail...
true
3aa56c9c102fffc2161fa8fa0180eb7f285ad698
PHP
jelrikvh/todo
/tests/Infrastructure/FilesystemTodoListsTest.php
UTF-8
6,708
2.546875
3
[]
no_license
<?php declare(strict_types=1); namespace Todo\Infrastructure; use PHPUnit\Framework\TestCase; use Symfony\Component\Filesystem\Filesystem; use Todo\Domain\Item; use Todo\Domain\SorryTheItemIsNotInTheList; /** * @covers \Todo\Infrastructure\FilesystemTodoList */ final class FilesystemTodoListsTest extends TestCase...
true
b34c5ea16f831b1130bd9e50d3601b1f40a78ea2
PHP
ltearno/hexasys
/lib/Session.inc.php
UTF-8
1,382
2.9375
3
[]
no_license
<?php define( "SESSION_ENTRY", APP_NAME . "_DATA" ); class Session extends HexaComponentImpl { // returns the data curently attached to connection's session public function GetSessionData( $entryName ) { if( !isset($_SESSION[SESSION_ENTRY]) ) return null; $sessionData = $_SESS...
true
b7093c50335c4ca7bc78440d37e5a16bf7cd40e1
PHP
ChikwandaJacob/Php-Contact-Manager
/pages/Add.php
UTF-8
2,354
2.765625
3
[]
no_license
<?php if(isset($_POST['add'])){ $connection = new mysqli($server_name, $server_user_name, $server_user_password, $server_database_name); $fname = $_POST['firstName']; $lname = $_POST['lastName']; $email = $_POST['email']; $phone1 = $_POST['phone1']; $phone2 = $_POST['phone2']; $phone3 = $_...
true
0ae6aa1fd7cfdd98811dd47ef21b879f03ac4e32
PHP
ghostrider070008/Ajax
/src/php/lib/ConnectTable.php
UTF-8
393
2.703125
3
[]
no_license
<?php //namespace php\Connect; class ConnectTable // Класс соединения с БД { public $host; public $user; public $pass; public $dbName = "vacancy"; public $db; function __construct($host, $user, $pass) { $this->host = $host; $this->user = $user; $this->pass = $pass...
true
ba20ba749dd58b3445ee3ecb631d65ff56fd8038
PHP
kaecyra/chatbot
/src/Bot/Persona.php
UTF-8
6,441
2.515625
3
[ "MIT" ]
permissive
<?php /** * @license MIT * @copyright 2010-2019 Tim Gunter */ namespace Kaecyra\ChatBot\Bot; use Kaecyra\AppCommon\Event\EventAwareInterface; use Kaecyra\AppCommon\Event\EventAwareTrait; use Kaecyra\AppCommon\Log\LoggerBoilerTrait; use Kaecyra\AppCommon\Log\Tagged\TaggedLogInterface; use Kaecyra\AppCommon\Log\Tag...
true
90e6fd33c4c07ed4a0164c59d7fe601dd9670dfc
PHP
laccas/Magento2Barion
/TLSoftBarion/app/code/TLSoft/Barion/Gateway/Request/InitializeRequest.php
WINDOWS-1252
4,728
2.53125
3
[]
no_license
<?php /** * Copyright 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace TLSoft\Barion\Gateway\Request; use TLSoft\Barion\Helper\Data; use TLSoft\Barion\Model\Ui\ConfigProvider; use Magento\Framework\Exception\LocalizedException; use Magento\Payment\Gateway\Data\OrderAdapterInte...
true
8d997f39337a613f58cd5ad348cabde7bdbaa00b
PHP
walanbeel/Ecom-store-project-1
/app/controllers/mainController.php
UTF-8
1,602
2.59375
3
[]
no_license
<?php use coreAppNS\Controller; class mainController extends Controller{ public $controller; public $main_model; function __construct($function="main"){ $this->controller = new Controller(); $this->main_model=$this->controller->model_object->create_model('main'); $this->$function()...
true
cd5fc6d4a051b535bf90beee03b57048aec788ac
PHP
goldbright00000/last-test
/users.php
UTF-8
500
2.734375
3
[]
no_license
<?php include_once "./database.php"; $sql = "SELECT user_name, full_name, group_name FROM students"; $result = $conn->query($sql); $data=array(); if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { $data['data'][]=array( ...
true
9caf59ee8981a8edb4eb737fe2c3c0bc14cdc3a9
PHP
lagneaucorentin/sf3
/src/Tiquette/Infrastructure/Repositories/DbalOfferRepository.php
UTF-8
1,231
2.859375
3
[]
no_license
<?php /** * @author Boris Guéry <guery.b@gmail.com> */ namespace Tiquette\Infrastructure\Repositories; use Doctrine\DBAL\Connection; use Tiquette\Domain\Offer; use Tiquette\Domain\OfferRepository; class DbalOfferRepository implements OfferRepository { private $connection; public function __construct(Conne...
true
669aa856eed0eaf61ed2dd434c7486173e98e51f
PHP
gpsilv4/transportation-management
/WS2/lib/functions.php
UTF-8
1,579
3.140625
3
[]
no_license
<?php /** * create a database connector * * @access public * @author firstname and lastname of author, <author@example.org> * @return String */ function dbConnection() { $DBhost = '127.0.0.1:3300'; // Your host name $database = 'projeto'; // Your database name...
true
43584bb14038d97dd575f9a6c764b28d994fa6fd
PHP
simonbowen/laravel-isams
/src/Entities/Set.php
UTF-8
1,232
2.96875
3
[]
no_license
<?php namespace SimonBowen\IsamsDrivers\Entities; use SimonBowen\IsamsDrivers\Entities\Contracts\Set as SetContract; class Set implements SetContract { protected $id; protected $setCode; protected $name; protected $teachers = []; protected $year; public function getId() { return ...
true
1a3591eba193a941d4f89a5341b5fe2930feb428
PHP
CSelvabharathi/havi-technologies-assignment-selvabharathi
/home1.php
UTF-8
1,526
2.59375
3
[]
no_license
<?php session_start(); if(!isset($_SESSION['username'])){ header('location:index1.php'); } ?> <html> <head> <style> .box { color:white; } th,table { color:white; } </style> <title> Home Page </title> <link rel="stylesheet" type="text/css" href="style.css"> <link rel="stylesheet" type="t...
true
3e2803597de0a2d770a02f4df9910585fd0464c3
PHP
TLEMZI-fatima/Atelier3
/Test/delete.php
UTF-8
1,081
3.171875
3
[]
no_license
<?php session_start(); $nom = ""; $id = 0; $age = 0; // L'id if(isset($_GET["id"])) $id = $_GET["id"] ; // Le nom if(isset($_GET["nom"])) $nom = $_GET["nom"] ; // L'age if(isset($_GET["age"])) $age = $_GET["age"] ; // connection avec la bdd : lsi host : locahost / 127.0.01 : 3...
true
8089ac53f28ef3a9fa129f5bf35f5bd41b995531
PHP
Tithugues/CodinGame
/PHP/2-high/benderMachineAFric.php
UTF-8
4,018
3
3
[]
no_license
<?php define('DEBUG', false); function debug($var, $force = false) { if (DEBUG || $force) { error_log(var_export($var, true)); } } class Node { public $id = null; public $parcouru = false; public $dist = null; /** * @var Node Nodes id */ public $prev = null; public ...
true
726b37c0af925e692f2f8b17eaa9944204482109
PHP
milkcreation/pollen-recaptcha
/src/RecaptchaProxyInterface.php
UTF-8
441
2.796875
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace Pollen\Recaptcha; interface RecaptchaProxyInterface { /** * Resolve Recaptcha instance. * * @return RecaptchaInterface */ public function recaptcha(): RecaptchaInterface; /** * Set Recaptcha instance. * * @param RecaptchaInterfa...
true
5a323aa366131fc6549a1fb9b936c32bfcc5453f
PHP
luanadacosta/progweb
/phpoo/consultorio/model/Usuario.class.php
UTF-8
697
3.1875
3
[]
no_license
<?php class Usuario { // ATRIBUTOS private $id_usuario; private $senha; private $status; // MÉTODO CONSTRUTOR function __construct(){ } // MÉTODOS GETTERS E SETTERS public function getId_usuario(){ return $this->id_usuario; } public functio...
true
d26530c3f5747282e7872437a71decbca6a68c4c
PHP
crshao/pbkk-final-project
/database/seeders/UserSeeder.php
UTF-8
1,418
2.59375
3
[ "MIT" ]
permissive
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Hash; use App\Models\Role; use App\Models\User; class UserSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() ...
true
6837459e2eee47f8409bfa1d1371ce336e0e748a
PHP
apuspayments/API-PHP
/src/ApusPayments/Client/Response/Details.php
UTF-8
1,341
2.953125
3
[]
no_license
<?php namespace ApusPayments\Client\Response; use ApusPayments\Json\JsonValueMapper; class Details implements JsonValueMapper { /** * @var string */ private $location; /** * @var string */ private $param; /** * @var string */ private $msg; ...
true
cbeaa4ce8fc4212a821d5b8ad3c7594c030a8edc
PHP
lanma121/superPrize
/phplib/arch/Exception.php
UTF-8
506
2.75
3
[]
no_license
<?php /** * 标准异常 * * 异常会自动记录日志 * * @author hufeng<@yunsupport.com> * @copyright 2014-2015 @ yunsupport.com */ class Arch_Exception extends Exception { const WARNING = 'warning'; const FATAL = 'fatal'; public function __construct($message, $argv = null, $level = Arch_Exception::WARNING){ if($level == Arch...
true
a26e3a2f577317b5c0ccffd478a36f8ec97b5c4a
PHP
flamato/hms
/app/Model/LabelTemplate.php
UTF-8
1,107
2.609375
3
[]
no_license
<?php /** * * PHP 5 * * Copyright (C) HMS Team * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @copyright HMS Team * @package app.Model * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ App::uses('AppMod...
true
26ecb0106af011d3d9aa48c5c3acc367c865314f
PHP
PovilasKorop/davidllop.com
/app/Http/Controllers/PostsController.php
UTF-8
1,033
2.546875
3
[]
no_license
<?php namespace App\Http\Controllers; use Illuminate\View\View; use Spatie\Sheets\Sheets; class PostsController { public function __invoke(string $slug, Sheets $sheets): View { $posts = $sheets->all()->sortByDesc('date'); $postKey = $posts->search(function ($post) use ($slug) { ...
true
898776bb18aa6b91d984984e4a46bfb7b2daab53
PHP
Darkatomen/ZWA
/_users.php
UTF-8
1,401
2.84375
3
[]
no_license
<?php $users = array( array( "id" => 1, "username" => "honzik", "firstname" => "Jan", "lastname" => "Pražák", "passwordhash" => password_hash("tajneHeslo", PASSWORD_DEFAULT), "userRole" => "admin" ), array( "...
true
a257e3ba1be4eda54a2781280ae7a467e3ac6cb1
PHP
soWizardly/dndtable
/framework/database/seeds/DefaultData.php
UTF-8
2,785
2.546875
3
[ "MIT" ]
permissive
<?php use Illuminate\Database\Seeder; use App\User; use App\Message; use App\Conversation; class DefaultData extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('users')->insert([ [ 'name' ...
true
368c896ddfe0b7a91a71b561def3316e628c2f41
PHP
igorsavinkin/tarex
/htdocs/app3/protected/models/News.php
UTF-8
2,189
2.6875
3
[]
no_license
<?php /** * This is the model class for table "{{news}}". * * The followings are the available columns in table '{{news}}': * @property integer $id * @property string $newsDate * @property string $title * @property string $imageUrl * @property string $content * @property string $RSSchannel * @property intege...
true
5a65649d2dfd66de2007fbe5a62d863965390b6a
PHP
ronyelias/pizzaria
/libs/Model/DAO/EnderecoMap.php
UTF-8
2,358
2.5625
3
[]
no_license
<?php /** @package Test::Model::DAO */ /** import supporting libraries */ require_once("verysimple/Phreeze/IDaoMap.php"); require_once("verysimple/Phreeze/IDaoMap2.php"); /** * EnderecoMap is a static class with functions used to get FieldMap and KeyMap information that * is used by Phreeze to map the E...
true
2afe8b0609c3b71a1f478441bf75d9c9977774b1
PHP
kevinjhappy/course-php-legacy-code
/www/ValueObject/LastName.php
UTF-8
293
3.171875
3
[ "MIT" ]
permissive
<?php namespace Legacy\ValueObject; final class LastName { private $lastName; public function __construct(string $lastName) { $this->lastName = strtoupper(trim($lastName)); } public function getLastName(): string { return $this->lastName; } }
true
f550eb07c49c200dfd8ddedffd8b75eddad856c6
PHP
aalviian/bpsystem
/database/migrations/2016_07_29_014710_create_table_tahapanSurvey.php
UTF-8
936
2.5625
3
[ "MIT" ]
permissive
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTableTahapanSurvey extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tahapansurvey', function (Blueprint $table) { ...
true
89c21046b174c31568f045f45f724cd4d7a19e5c
PHP
stilliard/Ditto.php
/src/Response.php
UTF-8
1,948
3.015625
3
[ "MIT" ]
permissive
<?php namespace Ditto; class Response { public $origHtml; public $html; public $proxyPath; public function __construct($html) { $this->html = $this->origHtml = $html; // Fix links that don't use quotes $this->html = preg_replace_callback('/\s(src|href)=([^"\']*?)(\s|>)/', function ($matches) { return ...
true