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
a3779713286b7e42954e82a98841800dd3998e4c
PHP
AndikaBayuS/Arkademy
/1.php
UTF-8
640
2.59375
3
[]
no_license
<?php $name = "Andika Bayu Santoso"; $address = "Pasir Lor RT05/04"; $hobbies = array('Playing a Game', 'Listening Music'); $is_married = false; $school = [ 'highscool' => 'SMK Telkom Purwkerto', 'university' => '-' ]; $skills = [ 'Web' => ['Front End'], 'Mobile' => ['Native,ReactNative'] ]; functio...
true
4c1a8619346814c49a56a419daf3d675da6e998b
PHP
NitinGulabani/formWithPHP
/index.php
UTF-8
3,145
2.53125
3
[]
no_license
<?php include "links.php"; include "conn.php"; ?> <!DOCTYPE html> <html lang="en"> <head> <title>Document</title> </head> <body> <div class="container"> <div class="row"> <div class="col-12 d-flex align-items-center justify-content-between table-header"> <...
true
913641498e0ac4d0882b67b4c08b222656b5725d
PHP
aasanakey/prulife
/app/Models/Agent.php
UTF-8
1,933
2.546875
3
[]
no_license
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Sanctum\HasApiTokens; class Agent extends Authenticatable implements MustVerif...
true
bae760fbeb4805c6f63075e0afc2979efa1e777e
PHP
vssvimpel/my_shop
/models/Collection.php
UTF-8
1,880
3.234375
3
[]
no_license
<?php require_once '../db.php'; class Collection { public $id; public $title; public $description; public function __construct($id) { global $mysqli; $query = "SELECT * FROM collections WHERE collection_id=$id"; $result = $mysqli->query($query); $collection_data...
true
c2de3afcaa042624f9aaadbca29ed73b7bb3e739
PHP
hoanganh1111/LeAnh_CIS17b_48947
/projs/FinalShopping/getProduct.php
UTF-8
1,391
2.5625
3
[]
no_license
<!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <?php ...
true
984e84d542a3bbdb7aca62049048c251e1f2ecbe
PHP
baileyherbert/horizon
/src/Routing/Controllers/SinglePageActionController.php
UTF-8
4,200
2.6875
3
[ "MIT" ]
permissive
<?php namespace Horizon\Routing\Controllers; use Horizon\Foundation\Application; use Horizon\Http\Response; use Horizon\Http\Controller; use Horizon\Http\Request; use Horizon\Support\Path; use Horizon\Support\Web\WebRequest; use InvalidArgumentException; use UnexpectedValueException; use Horizon\Support\Web\WebReques...
true
abb5fb069488c25f22e1513de86426a5539b1a07
PHP
netixx/24hnatation
/application/models/mappers/InscriptionsIndividuelles.php
UTF-8
957
2.578125
3
[]
no_license
<?php class Application_Model_Mapper_InscriptionsIndividuelles extends Projet_Mapper { public function __construct() { parent::__construct('Application_Model_DbTable_InscriptionsIndividuelles'); } public function getIdInscriptionByUid($uid) { $oSelect = $this->getDbTable()->select()->from(array('II' => 'INSCR...
true
3ee0ee6937b604154a9f369ba0659ee22b66a2af
PHP
labinfosys/shop
/frontend/views/products/categories.php
UTF-8
397
2.609375
3
[]
no_license
<?php use common\helpers\Url; // 1. вывести категории в виде списка <ul> // 2. У каждой категории должна быть ссылка /product/category/#id // var_dump($categories); ?> <ul> <?php foreach($categories as $cat) : ?> <li><a href="<?= Url::to('product/index', [$catId => $cat->id]) ?>"><?= $cat->name ?></a></li> <?php en...
true
2973c71cf12643d9fd87c5f00071cdf01d97eda7
PHP
bervynco/dorm_management_system
/application/controllers/PayableController.php
UTF-8
3,889
2.515625
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class PayableController extends CI_Controller { public function index() { } public function changeTimezone($dateTime) { $manilaTimezone = new DateTimeZone('Asia/Manila'); $dateTime = new DateTime($dateTime, $mani...
true
a40f296e1a96be3ff12142236ad75ca7b35c0b81
PHP
dgroundhog/myorm
/funs/java/java_model_fetch.php
UTF-8
1,446
2.515625
3
[ "Apache-2.0" ]
permissive
<?php if (!defined("JAVA_BASE")) { define('JAVA_BASE', realpath(dirname(__FILE__))); } include_once(JAVA_BASE . "/java_abs_fetch.php"); /** * java模型类--获取一条数据 * * @param $model */ function java_model_fetch($model) { if (!_java_db_header($model, "fetch")) { return; } $table_name = $model['...
true
78a8aecc69bd4605d43df5331ffe028cbedd1b5a
PHP
OriginNes/MVC-PHPH
/mvcok/Models/AddStudent.php
UTF-8
413
2.609375
3
[]
no_license
<?php namespace App\Models; class AddStudent{ public function NewStudend(){ $new_ligne = "M.,FORET,BRANDON\n"; $file = '../student_list.csv'; $old_lignes = file($file); array_push($old_lignes,$new_ligne); $new_content = join('',$old_lignes); $fp = fop...
true
b727058b5b0f089a05de8c84465100431ce04fa2
PHP
Pinoy2400/food8
/newsmail/list_handler.php
UTF-8
4,542
2.671875
3
[]
no_license
<?php define('BASE_PATH', rtrim(realpath(dirname(__FILE__)), "/") . '/'); require BASE_PATH . 'lib/mailing_list_handler_class.php'; validate_action(); // Perform validation on $_GET['action'] before doing anything! $mail_handler = new mail_handler(); // Create mail_handler object // ################## Perform ...
true
0074399a57380128e5585de466bcacbf3bf6297c
PHP
benjamw/webrisk
/includes/html.tables.php
UTF-8
13,595
3.15625
3
[]
no_license
<?php // build table structure /* this file contains a function that will build an html table given some basic information about that table, such as formatting, and data array the format array may be a little confusing at first, because the format layout has been overloaded a bit... a column consists of 2 ele...
true
71f274f7dd523cbaac6b2d18a4541bb515837cdc
PHP
isaty/lumen_api
/app/Http/Controllers/TripController.php
UTF-8
2,172
2.515625
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use App\Trip; use App\User; use App\Checkpoints; use Illuminate\Http\Request; use Illuminate\Hashing\BcryptHasher; class TripController extends Controller{ public function __construct() { $this->middleware('auth', ['only' => [ 'search', 'create...
true
5002a4d4e7a098ada8075f5d24b031da329176d2
PHP
symfony/polyfill
/src/Intl/MessageFormatter/MessageFormatter.php
UTF-8
11,030
2.5625
3
[ "MIT" ]
permissive
<?php /* * Copyright © 2008 by Yii Software LLC (http://www.yiisoft.com) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copy...
true
ca6faee67dc8ee693a769ebb1329d6bab53fb4c0
PHP
MSScorpionCode/PlanProject
/Modules/Functies.php
UTF-8
148
2.6875
3
[]
no_license
<?php function weekDatum() { } function weekToday() { date_default_timezone_set('Europe/Amsterdam'); $week = date('W'); echo $week; } ?>
true
b2871527c9894438752159ed2e7c02bf680024f8
PHP
stilesotho/iAuditor
/application/modules/training/models/M_training.php
UTF-8
4,373
2.625
3
[ "MIT" ]
permissive
<?php /** * Model Training */ class M_training extends CI_Model { var $table = 'training'; var $column_order = array( null, 'trainingName', 'trainingContent' ); var $column_search = array( 'trainingName', 'trainingContent', ); var $order ...
true
16b05b24a4e69afb69a028942b856dfeac320338
PHP
josephldaigle/pl-project
/src/Core/Data/Exception/CommandExceptionCode.php
UTF-8
1,474
2.703125
3
[]
no_license
<?php /** * Created by PhpStorm. * User: joe * Date: 10/13/18 * Time: 10:13 PM */ namespace PapaLocal\Core\Data\Exception; use PapaLocal\Core\Enum\AbstractEnum; /** * Class CommandExceptionCode * * @package PapaLocal\Core\Data\Exception */ class CommandExceptionCode extends AbstractEnum { private cons...
true
cad7edba17b73a63253247f9202633c50b4b2b1a
PHP
zengde/yii2-admin
/backend/models/Area.php
UTF-8
3,091
2.578125
3
[ "MIT" ]
permissive
<?php namespace backend\models; use backend\components\Helper; use Yii; /** * This is the model class for table "{{%area}}". * * @property integer $id * @property string $name * @property string $title * @property integer $code * @property integer $pid * @property integer $status */ class Area extends \yii\...
true
ad343dac6ca5d65ffd1dea329dc4cccca772c287
PHP
ccatpay/php_sdk
/src/pay/model/BaseModel.php
UTF-8
351
2.625
3
[]
no_license
<?php /** * ================================================ * 日期: 2022/8/25 * */ namespace Pay\model; class BaseModel { public function toArray() { $arr = []; $_arr =get_object_vars($this); foreach ($_arr as $key => $val) { $arr[$key] = $val; } ...
true
53b384f98f72ee881468cca6bfd24d808025ea4f
PHP
inerciacreativa/twist
/engine/Library/Hook/Hook.php
UTF-8
7,992
2.8125
3
[ "MIT" ]
permissive
<?php namespace Twist\Library\Hook; use Closure; use RuntimeException; use Twist\Library\Support\Arr; use Twist\Library\Support\Data; /** * Class Hooks * * @package Twist\Library\Hook */ class Hook { public const BEFORE = -99999; public const AFTER = 99999; /** * @var Hook */ private static $instance;...
true
1c53c6fe34559316d6182fc81c3ad5584269f24f
PHP
taaachezi/bodymanager
/Controllers/UsersController.php
UTF-8
3,492
2.53125
3
[]
no_license
<?php require_once(ROOT_PATH."/Models/User.php"); require_once(ROOT_PATH."/Models/TargetIntake.php"); require_once(ROOT_PATH."/Models/TotalIntake.php"); require_once(ROOT_PATH."/Models/Intake.php"); class UsersController { private $User; private $request; private $TargetIntake; private $TotalIntake; priv...
true
30462f817754adbd6315999fdfa5d010ebf3a6ea
PHP
fossabot/DependencyGraph
/src/Command/DependsOn.php
UTF-8
2,375
2.640625
3
[ "MIT" ]
permissive
<?php declare(strict_types = 1); namespace Innmind\DependencyGraph\Command; use Innmind\DependencyGraph\{ Loader\Dependents, Render, Package, Vendor, }; use Innmind\CLI\{ Command, Command\Arguments, Command\Options, Environment, }; use Innmind\Server\Control\Server\{ Processes, ...
true
42e1643ebbc8eee151ca33d8693868202ac3fec0
PHP
gilmarmeneses/loja
/require/class/ConDB.class.php
UTF-8
257
2.640625
3
[]
no_license
<?php abstract class ConDB{ private $cnx; private function setConn() { return is_null($this->cnx)? $this->cnx=new PDO("mysql:host=localhost;dbname=loja","root",""): $this->cnx; } public function getConn() {return $this->setConn();} } ?>
true
2256aaa57e41913ff4c876b8a64061104fcf2e32
PHP
Xanfles/Impulsar
/Datos/conexion.php
UTF-8
827
2.65625
3
[]
no_license
<?php class Conexion { private $usuario="root"; private $clave=""; private $host="127.0.0.1"; private $bdatos="ClusterImpulsar"; private $conex=""; public function __construct(){} public function abrirConexion() { $this->conex=@mysqli_connect($this->host,$this->usuario,$this->clave,$this->...
true
1e2cc5f361db15cd6bb4ace1f6bd9f14f9c155c4
PHP
priyanshu2015/e-learning-platform
/core/course.php
UTF-8
5,257
2.984375
3
[]
no_license
<?php class Course{ //db stuff private $conn; private $table = 'courses'; //post properties public $id; public $category_id; public $category_name; public $title; public $description; public $instructor_id; public $instructor_name; public $created_at; public $languag...
true
592e1c2187d519ea7b61a89df9d6107526a27cb2
PHP
reinvanoyen/dry-accounts
/src/Contracts/UserFactoryInterface.php
UTF-8
303
2.796875
3
[]
no_license
<?php namespace Tnt\Account\Contracts; interface UserFactoryInterface { /** * @param string $authIdentifier * @param string $password * @return null|AuthenticatableInterface */ public function register(string $authIdentifier, string $password): ?AuthenticatableInterface; }
true
eef153eec743f74ef60936d0440946548c8dc029
PHP
jpgorman/Tests
/test102/common/search-index.php
UTF-8
4,427
2.59375
3
[]
no_license
<?php //------------------------------------------------------------------------------- //--- LIVE ARTICLES LIST --- if ($_GET["search"] == 1){ $debug_string['hid_search_token'] = $_POST['hid_search_token']; $debug_string['session_form_token'] = $_SESSION['form_token']; // check the form tokens match an...
true
e1f42860ad0b77b6ce720bc8627838230d2559a2
PHP
Tanackovic/magacinProjekat
/controllers/Cena.php
UTF-8
1,825
2.640625
3
[]
no_license
<?php class Cena extends MainController { function __construct() { parent::__construct(); } function index() { $result = $this->model->vratiSveCene(); if ($result == 0) { $this->view->render('cena/dodaj_cenu'); } else { $this->view->cene = $result; ...
true
5a4de9b85c9b01a99870026953498a8a56fab8a6
PHP
alextcy/MRA
/modules/Review/Model/Search.php
UTF-8
2,124
2.75
3
[]
no_license
<?php namespace Review\Model; use core\Model; use idiorm\ORM; /** * Поиск по названию фильма, по имени автора, по названию источника * для админки при добавлении рецензии в очередь * * @author alextcy */ class Search extends Model { protected $tableMovie = 'movie'; protected $tableAuthor = 'author'; ...
true
c2382e83088b7941a3c32e24e9fbe6312ddfc18a
PHP
daniel-menard/docalist-biblio-test
/class/Type/Group.php
UTF-8
6,952
2.671875
3
[]
no_license
<?php /** * This file is part of a "Docalist Core" plugin. * * Copyright (C) 2012-2015 Daniel Ménard * * For copyright and license information, please view the * LICENSE.txt file that was distributed with this source code. * * @package Docalist * @subpackage Core * @author Daniel Ménard <daniel.mena...
true
15b574ccf8ac63d291cd2d9105d401cc25626cb7
PHP
rejsmont/LabDB
/src/VIB/StorageBundle/Entity/RackPositionInterface.php
UTF-8
2,044
2.609375
3
[ "MIT", "Apache-2.0" ]
permissive
<?php /* * Copyright 2013 Radoslaw Kamil Ejsmont <radoslaw@ejsmont.net> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
true
6166f74b9ac3205f6808d1998b949107adc56612
PHP
afamai/cps406p3
/scripts/getUserReports.php
UTF-8
939
2.546875
3
[]
no_license
<?php session_start(); $conn = mysqli_connect("localhost", "root", "", "CYPRESS"); if (!$conn) { die("Connection failed: " . mysqli_connect_error()); } $user = $_SESSION['username']; $sql = "SELECT reportID, reportDate, reportDescript, reportLoc, reportStatus, reportType, reportVotes FROM report WHERE accUsern...
true
695fc8ab1a266cb8edeb274923452cc04788984c
PHP
dmitry-ivanov/laravel-wikipedia-grabber
/src/Grabber/Component/Image.php
UTF-8
5,495
3.109375
3
[ "MIT" ]
permissive
<?php namespace Illuminated\Wikipedia\Grabber\Component; use Illuminate\Support\Collection; use Illuminate\Support\Str; class Image { /** * The URL. */ protected string $url; /** * The width. */ protected int $width; /** * The height. */ protected int $height; ...
true
13e9a40a09ffbe4b435f0735c64d3f8acb2edc55
PHP
a-r-m-i-n/mbox-parser
/src/MailAttachment.php
UTF-8
1,253
3.15625
3
[ "MIT" ]
permissive
<?php namespace Armin\MboxParser; class MailAttachment { /** * @var string */ private $filename; /** * @var mixed */ private $content; /** * @var string */ private $contentMimeType; /** * @var string|null */ private $contentId; /** *...
true
532c14b6b2e4bc7e8a5fa379b8c15dc9e1d5ce74
PHP
Basith5075/iNotes
/index.php
UTF-8
10,073
2.953125
3
[]
no_license
<?php // In this PHP section we are creating the connection to the MySql DB notes $insert = false; $update = false; $delete = false; $username="root"; $passwd="Trimax@123"; $servername="localhost"; $db="notes"; $conn = mysqli_connect($servername,$username,$passwd,$db); if(!$conn){ die("The connection is denie...
true
115c88f5a7b4a6d9a29b031f89444d151592d522
PHP
steven2918/lycee4
/app/controllers/AdmPostController.php
UTF-8
5,338
2.71875
3
[ "MIT" ]
permissive
<?php class AdmPostController extends \BaseController { private function upload(){ $file = Input::file('photo')->getClientOriginalName(); return md5($file); } /** * Display a listing of the resource. * * @return Response */ public function index() { $posts=Post::orderBy('created_at', 'desc')->...
true
df08fb935565a429e90dba4b153ca3385ce16ef0
PHP
javiersuarezmartin/DAW_ENTORNOS_SERV_UD5_TAREA1-2
/php/grupo.php
UTF-8
2,820
2.984375
3
[]
no_license
<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Grupo - Alumnos</title> <link rel="stylesheet" href="../css/styles.css" type="text/css"> </head> <body> <div class="container-g...
true
963a71ac23ab60d1ea493e9f74edb0b0e63e90d9
PHP
Symplicity/clearbit-php
/generated/Model/Combined.php
UTF-8
798
2.71875
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php namespace Clearbit\Generated\Model; class Combined { /** * @var Person */ protected $person; /** * @var Company */ protected $company; /** * @return Person */ public function getPerson() { return $this->person; } /** * @param Person ...
true
094b25dbeefa0ac0a716e7db56b712973048f398
PHP
bogdannov/dashboard
/src/Components/Menus/MenuItem.php
UTF-8
7,037
2.78125
3
[]
no_license
<?php namespace Webmagic\Dashboard\Components\Menus; use Illuminate\Support\Collection; use Webmagic\Dashboard\Elements\Element; use Webmagic\Dashboard\Traits\Content\ContentFieldsUsable; use Webmagic\Dashboard\Traits\View\ViewUsable; use Illuminate\Support\Facades\Gate; abstract class MenuItem extends...
true
c1c9cd965e4de54d9d28f061d5023144a21911d9
PHP
gilsonmello/front_lottoyou
/app/LeaguePackage.php
UTF-8
2,202
2.578125
3
[ "MIT" ]
permissive
<?php namespace App; use Illuminate\Database\Eloquent\Model; use DB; class LeaguePackage extends Model { const CREATED_AT = 'created'; const UPDATED_AT = 'modified'; //const DELETED_AT = 'deleted_at'; /** * @var bool */ public $timestamps = true; /* Função comentada para...
true
bce908e20b34e35d6f3923bb14e2eb101b487b7a
PHP
alexlanni/systema
/frontend/src/Sso/src/Action/ProcessLoginAction.php
UTF-8
1,082
2.703125
3
[]
no_license
<?php declare(strict_types=1); namespace Sso\Action; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\RequestHandlerInterface; use Laminas\Diactoros\Response\HtmlResponse; use Mezzio\Template\TemplateRendererInterface; use Systema\Form\LoginForm; class Process...
true
a15f3a7990d3fe7fe662ea8071658f0ce84d751e
PHP
ArthurPatriot/onvif-ptz-php
/Service/HostnameInformation.php
UTF-8
1,377
3.0625
3
[]
no_license
<?php class HostnameInformation { /** * @var boolean $FromDHCP */ protected $FromDHCP = null; /** * @var string $Name */ protected $Name = null; /** * @var HostnameInformationExtension $Extension */ protected $Extension = null; /** * @param boolean $Fr...
true
5ccf7131c29126a112c577ed76cc4576ce757024
PHP
bfg-s/attributes
/src/Targets/PropertyTarget.php
UTF-8
1,033
2.609375
3
[ "MIT" ]
permissive
<?php namespace Bfg\Attributes\Targets; use Bfg\Attributes\Items\AttributePropertyItem; use Illuminate\Support\Collection; use ReflectionClass; class PropertyTarget extends TargetInterface { /** * @param Collection $classes * @param string $attribute * @return array */ public function...
true
22983ed33a7691131d3a49b6edbbb6e8bea82611
PHP
savinov-test-tasks/ExampleCommentServiceClient
/src/Providers/RestApiProvider.php
UTF-8
3,923
2.734375
3
[]
no_license
<?php declare(strict_types=1); namespace ExampleCommentServiceClient\Providers; use GuzzleHttp\Client; use GuzzleHttp\Psr7\Request; use GuzzleHttp\RequestOptions; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\UriInterface; /** * Class RestApiProvider * * @pack...
true
35b0ea2298869924e92bebee74096f6ce5574c5d
PHP
nguyenvantien1999/LacViec
/BaiTap/chuong4/bt_4.php
UTF-8
1,600
2.828125
3
[]
no_license
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> </head> <body> <?php function tong($arr,$so){ $tong = 0; for($i=0;$i<count($arr);$i++){ $tong += $arr[$i]; } return $tong; } $so =0; $str=""; $str_kq=""; $tong=""; if(isset($_POST['so'])){ $so=$_POST['so']; } if(isset($_PO...
true
babd3e8274ba9d720ff3c56d7e1784a88f9e5471
PHP
Wilpay/Sortir
/src/DataFixtures/SiteFixture.php
UTF-8
1,221
2.703125
3
[]
no_license
<?php namespace App\DataFixtures; use App\Entity\Site; use Doctrine\Bundle\FixturesBundle\Fixture; use Doctrine\Common\Persistence\ObjectManager; class SiteFixture extends Fixture { public const SITE_REFERENCE1 = 'site-ref1'; public const SITE_REFERENCE2 = 'site-ref2'; public const SITE_REFERENCE3 = 's...
true
0e057b1460d1727a462c8908ea58fba6244d3d6b
PHP
14code/basic
/src/Encoder.php
UTF-8
177
2.609375
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace I4code\Basic; interface Encoder { public function encode(array $data): string; public function decode(string $data): array; }
true
75e1b4a42340c912f5d5c633ec97e52c8b9832f0
PHP
Richardds/ServerAdmin
/app/Exceptions/Handler.php
UTF-8
2,661
2.546875
3
[ "MIT" ]
permissive
<?php namespace Richardds\ServerAdmin\Exceptions; use Exception; use Illuminate\Auth\AuthenticationException; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Validation\ValidationException; class Handler extends ExceptionHandler { /** * A list of the exception types that are...
true
71b613f2c76b731a828d1106c2ce4fa9123362e1
PHP
Al-Ip/MoylishMarket-Website
/application/models/ProductsModel.php
UTF-8
3,781
2.59375
3
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class ProductsModel extends CI_Model { function __construct() { parent::__construct(); $this->load->database(); } function record_count() { return $this->db->count_all('products'); } function insertProductModel($pro...
true
526a3ed8345f2e870b8e230968e664a8a8c4310b
PHP
jaspertomas/tmcprogram_tacloban
/lib/model/doctrine/QuoteTable.class.php
UTF-8
395
2.609375
3
[ "MIT" ]
permissive
<?php class QuoteTable extends Doctrine_Table { public static function getInstance() { return Doctrine_Core::getTable('Quote'); } public static function createOne($array) { $quote=new Quote(); foreach($array as $key=>$value) { $quote[$key]=$value; } $quote->c...
true
db4a03e535a673371ad8e8810d90d316d61c31cb
PHP
FACT-Finder/FACT-Finder-PHP-Framework
/lib/FACTFinder/Default/ScicAdapter.php
UTF-8
7,060
2.765625
3
[]
no_license
<?php /** * FACT-Finder PHP Framework * * @category Library * @package FACTFinder\Http * @copyright Copyright (c) 2012 Omikron Data Quality GmbH (www.omikron.net) */ /** * http scic adapater * * @author Rudolf Batt <rb@omikron.net> * @version $Id: ScicAdapter.php 25893 2010-06-29 08:19:43Z rb $ * @p...
true
d90b7a2f104310f647094b229338bbab9504cb1a
PHP
Angrigo/tsw-2021
/squadra.php
UTF-8
3,442
2.90625
3
[]
no_license
<?php include("check_reserved.php"); if(!isset($_SESSION)) session_start(); require "db.php"; //CONNESSIONE AL DB $db = pg_connect($connection_string) or die('Impossibile connetersi al database: ' . pg_last_error()); $id = $_GET["id"]; //squadra $idUtente = $_SESSION["id"]; if($_POST){ $titolo = $_POST["tit...
true
3751ae88382312c27099a525930fe77fd4e2d56a
PHP
nifteli/youtube2
/templates/about.php
UTF-8
453
2.703125
3
[]
no_license
<?php class About { private $about; public function __construct($controller) { global $content; $this->about = new Smarty; $this->about->assign("aboutTitle",$content['ABOUT']); $data = $controller->getNotifications(1);//print_r($data); $this->about->assign("aboutBody",$data["aboutUs"]); ...
true
57c272c7ace52bcea936880e3aa81ec05acbe7df
PHP
BrutalAndSick/DBox-Exam
/objects/customer.php
UTF-8
4,043
2.875
3
[]
no_license
<?php /******************** * Clase clsCustomer * Autor GONZALO MORALES * Fecha de Creación 2020-01-02 *********************/ class clsCustomer { /** Encabezados Privadas **/ private $objConn; private $strTableName = "tblCustomer"; /** Propiedades Publicas **/ public $intCustom...
true
932563877f95384228bfcc5603c203c982b45fb4
PHP
erazo76/cda_dev
/controllers/validar_contrasena.php
UTF-8
3,387
2.703125
3
[]
no_license
<?php session_start(); $usuario_id = $_SESSION['idusuariox']; @$action = ($_POST['action']); @$clave = ($_POST['clave']); if($usuario_id != ""){ if($action == "validar"){ $html = ""; $validos = 0; $no_validos = 0; $mayusculas = 0; $minusculas = 0; $especiales = 0; ...
true
4e64d5d8465ec461261f559bcf3830047decd019
PHP
PhewP/PR01-online-exam-web-system-management-
/src/api/Subject.class.php
UTF-8
839
3.640625
4
[ "MIT" ]
permissive
<?php include("Tema.class.php"); class Subject { private $nombre; private $id; private $temas; public function __construct($id, $nombre, array $temas) { $this->id = $id; $this->nombre = $nombre; $this->temas = $temas; } publi...
true
1ba6ab9b9a541d3b107429180da7a725884a2b8c
PHP
gaiterjones/magento-product-data-and-attribute-csv-exporter
/php/Helper/Data/Data.php
UTF-8
1,635
3.0625
3
[ "MIT" ]
permissive
<?php /** * * Copyright (C) 2014 * * * @who PAJ * @info paj@gaiterjones.com * @license blog.gaiterjones.com * * */ /** * HELPER CLASS * -- Provides helper functions * @access public * @return nix */ class Application_Helper_Data { function ean13CheckDigit($_di...
true
e4fb4b411caa5705b93288c71e36cb230061018c
PHP
h2ooooooo/CLImax
/src/Question.php
UTF-8
21,939
3.140625
3
[ "MIT" ]
permissive
<?php /** * CLImax * @author Andreas Jals�e * @website http://www.jalsoedesign.net */ namespace CLImax; use CLImax\Enum\QuestionDisplay; use CLImax\Enum\QuestionLayoutStyle; use CLImax\Enum\QuestionReturn; use CLImax\Enum\QuestionStyle; use Exception; use Seld\CliPrompt\CliPrompt; use Symfony\Component\Process\Pr...
true
37de15f915bc780deef5255c78cf964c490ad139
PHP
bartlebooth/Scratch
/src/Scratch/Core/Tests/Library/Testing/src/FakeVendor1/Package2/Controller/Controller1.php
UTF-8
688
2.625
3
[]
no_license
<?php namespace FakeVendor1\Package2\Controller; use Scratch\Core\Library\Module\ModuleConsumerInterface; use Scratch\Core\Module\CoreModule; class Controller1 implements ModuleConsumerInterface { private $core; public function __construct(CoreModule $core) { $this->core = $core; } publ...
true
3d81862a7b06d943d94b23f2a5095ab177560c7a
PHP
vineyardkoeln/churchtools-api
/src/ChurchTools/Api2/Model/AgendasSendPostResponse200.php
UTF-8
2,665
2.65625
3
[ "Apache-2.0" ]
permissive
<?php namespace ChurchTools\Api2\Model; class AgendasSendPostResponse200 { /** * * * @var string */ protected $message; /** * * * @var string */ protected $translatedMessage; /** * * * @var string */ protected $messageKey; /** ...
true
5e3958406e9f6f0c88befee3dd4c642e1fa084ce
PHP
ahmedabdel3al/restapi
/app/Traits/Responser.php
UTF-8
1,947
2.578125
3
[ "MIT" ]
permissive
<?php namespace App\Traits; use Illuminate\Database\Eloquent\Model; use Illuminate\Pagination\LengthAwarePaginator; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Cache; Trait Responser { protected function showAll(Collection $collection, $code) { $collection = $this->sortData($...
true
c395ecc8bb993704a243e50299bd959490bb3b74
PHP
jausions/php-typed-doctrine-collections
/src/Doctrine/Collections/TypedCollectionTrait.php
UTF-8
1,452
3.03125
3
[ "MIT" ]
permissive
<?php namespace Abacus11\Doctrine\Collections; /** * Trait to implement constraints on elements of a Doctrine collection * * @author Philippe Jausions <Philippe.Jausions@11abacus.com> * @see \Doctrine\Common\Collections\Collection */ trait TypedCollectionTrait { use \Abacus11\Collections\TypedCollectionTrait...
true
e27b73bf59ad5d0c203ba5345f0bf95149220d56
PHP
onenueng/myphp
/whileloop.php
UTF-8
102
3.171875
3
[]
no_license
<?php $i=5; while ($i <= 20) { echo 'This number is '. $i . "<br>"; $i++; } ?>
true
374be6f7243d185f58ecdff91a10a87ba15d51e3
PHP
delboy1978uk/bone-view
/src/Helper/Paginator.php
UTF-8
5,418
3
3
[ "MIT" ]
permissive
<?php namespace Bone\View\Helper; use Bone\View\Helper\Exception\PaginatorException; use Del\Icon; class Paginator { private $currentPage = 1; private $pageCount; private $pagerSize = 5; private $url; private $urlPart = ':page'; /** * @param int $pageNum * @return string */ ...
true
cd26e331be5a311f2714b5542bd6f4162963eb7f
PHP
goldenlight-webdev999/pbs
/html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-mail.php
UTF-8
32,131
2.5625
3
[]
no_license
<?php /** * Front ajax for custom forms * * @since 1.0 */ class Forminator_CForm_Front_Mail extends Forminator_Mail { protected $message_vars; /** * Default content type * * @since 1.5 * @var string */ protected $content_type = 'text/html; charset=UTF-8'; /** * Skipped custom form_data parsing ...
true
c707c09d4f73947da8a0e720906d31e515cc8df5
PHP
abdussamedulutas/belgetakip
/Model/File.php
UTF-8
16,438
2.546875
3
[ "MIT" ]
permissive
<?php class File extends Model { public function lastNumber() { global $db; $pre = $db->prepare("SELECT MAX(`order`)+1 as num FROM `file` WHERE deletedate is null"); $pre->execute(); $if = $pre->fetch(); if(isset($if["num"])) ...
true
02f492ea9ed64c04572dd603aede249c07aff411
PHP
tomderoo/sf2-vino
/src/vino/PillarBundle/Entity/Bestelling.php
UTF-8
3,792
2.53125
3
[ "MIT", "BSD-3-Clause" ]
permissive
<?php // src/vino/PillarBundle/Entity/Bestelling.php namespace vino\PillarBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Doctrine\Common\Collections\ArrayCollection; // nodig om relatiemappings te kunnen maken /** * @ORM\Entity(repositoryClass="vino\PillarBundle\Entity\Repository\BestellingRepository") * @...
true
b4d1c0e6d5d1cfaa2994ed283e2f0d193ec46659
PHP
wei-qia/chat
/app/model/User.php
UTF-8
822
2.609375
3
[ "Apache-2.0" ]
permissive
<?php declare (strict_types = 1); namespace app\model; use think\Model; /** * @mixin \think\Model */ class User extends Model { // 设置当前模型对应的完整数据表名称 protected $table = 'users'; // 自动时间戳 protected $autoWriteTimestamp = true; // 状态获取器 public function getStatusStrAttr($value, $data) { ...
true
1cc5a4dfbef6ec0e3b4b53866f32ebe7328e6bce
PHP
HitroxVN/ItemsCreative
/src/HitroxVN/ItemsCreative/Main.php
UTF-8
608
2.734375
3
[]
no_license
<?php namespace HitroxVN\ItemsCreative; use pocketmine\event\Listener; use pocketmine\event\player\PlayerDropItemEvent; use pocketmine\Player; use pocketmine\plugin\PluginBase; class Main extends PluginBase implements Listener{ public function onEnable() { $this->getServer()->getPluginManager()->reg...
true
66105539dcf0fa980a8da5f0153d59de453cf78d
PHP
Zoulama/BSDA
/app/Centile/DialPlanMask.php
UTF-8
1,790
2.75
3
[]
no_license
<?php namespace Provisioning\Centile; use Provisioning\Centile\DialPlan; use JsonSerializable; class DialPlanMask implements JsonSerializable { protected $string; protected $length; protected $prefix; public function __construct($string) { $this->string = $string; list($this->len...
true
99e90092406eb1a7f950e843c2348c0c2b3f298a
PHP
milesj/hhi
/src/HHI/Command/NamespaceCommand.php
UTF-8
782
2.59375
3
[]
no_license
<?php namespace HHI\Command; use HHI\Definition\NamespaceDefinition; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class NamespaceCommand extends Command { ...
true
0d92a7146001748e83f97652c405c1376f0e6b52
PHP
wiliwe/apache-thrift-example
/Src/PHP/personClient.php
UTF-8
1,038
2.515625
3
[]
no_license
<?php namespace IDV; error_reporting(E_ALL); require_once __DIR__ . '/thrift/Thrift/ClassLoader/ThriftClassLoader.php'; require_once __DIR__ . '/thrift/IDV/PersonService.php'; require_once __DIR__ . '/thrift/IDV/Types.php'; use Thrift\ClassLoader\ThriftClassLoader; use Thrift\Protocol\TBinaryProtocol; use Thrift\Tra...
true
381b835137f698fcebf145d7ab9a94cd944e7439
PHP
knouz15/BlogPhp
/MVC/Controllers/Router.php
UTF-8
3,260
2.984375
3
[]
no_license
<?php class Router { private $_ctrl; private $_view; public function routeReq() { try { //CHARGEMENT AUTOMTIQUE DES CLASSES spl_autoload_register(function($class)//sert à charger automatiquement les classes { require_once('models/'.$class.'.php')...
true
dfabc3bcc966d3e4ed27066555d9520191f751b6
PHP
my-son-lv/1909shop
/application/common.php
UTF-8
7,484
2.703125
3
[ "PHP-3.0", "Apache-2.0" ]
permissive
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
true
e2bd074e1d09fb3b3f6beee62e6471d0e29419b0
PHP
iggyvolz/phlum-sleekdb
/src/SleekDBDriver.php
UTF-8
2,810
2.890625
3
[]
no_license
<?php namespace iggyvolz\phlum\SleekDB; use iggyvolz\phlum\Condition; use iggyvolz\phlum\PhlumDriver; use RecursiveDirectoryIterator; use RecursiveIteratorIterator; use SleekDB\Store; class SleekDBDriver implements PhlumDriver { public function __construct( private string $dataDir ) { } pri...
true
02545d50c9b6c2cd15e17c78c77b892debe45647
PHP
cosminwebdinasty/docker-dev-environment
/index.php
UTF-8
1,222
2.90625
3
[]
no_license
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="style.css"> <title>Test</title> </head> <body> <div class="stuff"> <b> <?php echo phpversion(); echo "<hr>"; echo $_SERVER['SERVER_NAME']; ?> </b> <?php function OpenCon() { $dbhost = "localhost"; $dbuser = "root"; $dbpass = "example"; $db =...
true
f690935696bc456e6fd0b706d31ae0750fd1dcc4
PHP
princedebaby/game-perfect
/senddata.php
UTF-8
2,130
2.796875
3
[]
no_license
<?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = "gamestoredatabase"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } //Create variable...
true
d410905e21fd1abe0a35cb10dae6935a05692c52
PHP
mrmorden74/formgen
/app/controllers/UserController.php
UTF-8
1,074
2.59375
3
[]
no_license
<?php /** * Child class des Controller(f3) * Steuert User Anmeldeprozess */ class UserController extends Controller { function login(){ $template=new Template; $this->f3->set('header','blank.html'); $this->f3->set('content','login.html'); echo $template->render('base.html'); ...
true
5582586fe85fde0ff6794ecf6a0e24acb846105d
PHP
andksha/insider-champions-league
/app/UseCase/FirstWeekMatchesUseCase.php
UTF-8
1,214
3.046875
3
[ "MIT" ]
permissive
<?php namespace App\UseCase; use App\DTO\WeekResult; use App\Exceptions\InvalidOperationException; use App\Model\Season; final class FirstWeekMatchesUseCase { private PlayMatchUseCase $playMatchUseCase; public function __construct(PlayMatchUseCase $playMatchUseCase) { $this->playMatchUseCase = $...
true
ba4a204b9167c53852f4654e75bec7277641820c
PHP
GoldCarrot/tinkoff-cashier
/src/Enums/AgentSign.php
UTF-8
861
2.53125
3
[]
no_license
<?php namespace Goldcarrot\Cashiers\Tinkoff\Enums; class AgentSign extends Enum { /** * Банковский платежный агент */ public const BANK_PAYING_AGENT = 'bank_paying_agent'; /** * Банковский платежный субагент */ public const BANK_PAYING_SUBAGENT = 'bank_paying_subagent'; /** ...
true
4c9769ce3bd3e54c77e7c54ffa6337df15a23b4b
PHP
h2ooooooo/mboxreader-async
/src/Headers/ContentType.php
UTF-8
1,555
2.953125
3
[ "MIT" ]
permissive
<?php namespace YaroslavKlimuk\MboxReader\Headers; use YaroslavKlimuk\MboxReader\Helpers; /** * Description of ContentType * * @author yaklimuk */ class ContentType { protected $value; protected $charset; protected $boundary; protected $name; public function __construct(string $value, string...
true
7f49f4c294ae14249fde1efc16988c381a071622
PHP
tesmen/velo.market
/backend/params.php
UTF-8
1,771
2.9375
3
[]
no_license
<? function tb2arr($tb, $arg){ if (isset($arg)) { $arg = ' WHERE ' . $arg;} $query = sprintf("SELECT * FROM %s %s", $tb, $arg); //echo $query; $result = mysql_query($query); while($array = mysql_fetch_array($result)){ $output[$array[0]] = $array; } return $output; } //----------------------------------------...
true
c5057160431b50837a2356ef35b18899680d4c58
PHP
odedns/oded-repo
/PHPTest/application/logger/logtest.php
UTF-8
386
2.578125
3
[]
no_license
<?php require_once 'KLogger.php'; $log = new KLogger ( "log.txt" , KLogger::DEBUG ); // Do database work that throws an exception $log->LogError("An exception was thrown in ThisFunction()"); // Print out some information $log->LogInfo("Internal Query Time: $time_ms milliseconds"); // Print out the value ...
true
32490e900a7e446374afc026f195c5e0d9bce8bc
PHP
sarik-k/clean-blog
/app/Http/Controllers/UserController.php
UTF-8
3,989
2.65625
3
[]
no_license
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; use Intervention\Image\Facades\Image; class UserController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public f...
true
f3b5c9f1d3c6c7148e7f3be01862d495318064f0
PHP
revenuewire/validator
/tests/validateCountryTest.php
UTF-8
1,038
2.6875
3
[]
no_license
<?php /** * Class validateAgeTest */ class validateCountryTest extends \PHPUnit\Framework\TestCase { public function dataProvider() { return [ [ "abc", [], false ], [ "US", [], true ], [ "CA", [], true ], [ "CA", ["countryFormat" => "alpha3"], false ], ...
true
f3b7378056acc0ec5a7de95629fb3aa08a8fd791
PHP
Wintereise/rtraffic-backend-api
/app/ExcludedRegion.php
UTF-8
1,121
2.515625
3
[]
no_license
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class ExcludedRegion extends Model { protected $table = "exclusions"; protected $geofields = array('location'); protected $fillable = ['title', 'user_id', 'location', 'created_at', 'updated_at']; public ...
true
1db43ce6d9426e8d35cc0e459c11d70f709f68ab
PHP
jgwill/lampyno
/www/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Utils/Separators.php
UTF-8
2,051
3.0625
3
[ "GPL-2.0-or-later", "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "GPL-2.0-only", "GPL-1.0-or-later", "LicenseRef-scancode-generic-exception", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-other-copyleft", "MIT" ]
permissive
<?php /** * Provides common View v2 utilities. * * @since 4.9.4 * @package Tribe\Events\Views\V2\Utils */ namespace Tribe\Events\Views\V2\Utils; use Tribe__Utils__Array as Arr; /** * Class Utils Separators * @since 4.9.4 * @package Tribe\Events\Views\V2\Utils */ class Separators { /** * Determines if...
true
27e83f9efdceebbfb570d14a22111747c487920f
PHP
honeypigman/refactor
/app/Http/Refactors/PhpDry.php
UTF-8
2,018
3.046875
3
[ "MIT" ]
permissive
<?php namespace App\Http\Refactors; class PhpDry extends Refactor implements RefactorInterface { public $title = "Dry programming"; public $description = "Sometimes i find myself repeating code , most of the time when business logic changes and we start implementing if statements."; public function...
true
2e582942a01eecaddf248390e187bdd983a085ae
PHP
ucsc-2nd-year-group-22/RanAswanu
/controllers/auth.php
UTF-8
6,807
2.640625
3
[]
no_license
<?php // Authenticaitn Module class Auth extends Controller { public function __construct() { parent::__construct(); $this->view->js = array('auth/js/default.js'); } function resetPw() { $data = []; $this->view->rendor('auth/resetPw', $data); } function resetRq(...
true
22215432cd4ef5c7b66cb4eae5d13fec9ff21f08
PHP
MateuszBochen/EbayWsdl
/Classes/GetCategoryFeaturesResponseType.php
UTF-8
4,671
2.625
3
[]
no_license
<?php namespace EbayWsdl\Classes; class GetCategoryFeaturesResponseType extends AbstractResponseType { /** * @var string $CategoryVersion */ protected $CategoryVersion = null; /** * @var \DateTime $UpdateTime */ protected $UpdateTime = null; /** * @var CategoryFeatureTy...
true
41ce9b97ee5225d20ddaa7990336dd9a3de772c2
PHP
Nyholm/RollerworksSearch
/spec/Rollerworks/Component/Search/Value/RangeSpec.php
UTF-8
1,812
2.640625
3
[ "MIT" ]
permissive
<?php /** * This file is part of the RollerworksSearch Component package. * * (c) 2012-2014 Sebastiaan Stok <s.stok@rollerscapes.net> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace spec\Rollerworks\Component\Search\Value; use PhpSpe...
true
4a960414033a685addc049517d503fc2812907b1
PHP
oliveris/git-version
/GitVersion/Exception/NoSpecifiedVersionException.php
UTF-8
249
2.625
3
[ "MIT" ]
permissive
<?php namespace GitVersion\Exception; use RuntimeException; class NoSpecifiedVersionException extends RuntimeException { public function __construct() { parent::__construct("No Git Version has been specified"); } }
true
a53692416ac4300c96cc5a003437b892b5a8d998
PHP
afplabor2019/muffin_time
/web/views/dashboard.php
UTF-8
3,670
2.546875
3
[]
no_license
<?php include_once 'config/init.php'; include_once '_header.php'; ?> <?php if(Session::isset('userid')){ $userdata = User::fetchData(Session::get('userid')); ?> <div id="formContent2"> <!-- Icon --> <div> <img src="img/logo.png" id="icon" alt="Logo" /> </div> ...
true
d0bef4949ca5d008c926059f481fb7f7e09c0b15
PHP
Sywooch/other
/taozon.ru [PHP]/otapilib2/types/OtapiPrice.php
UTF-8
2,273
2.75
3
[]
no_license
<?php class OtapiPrice extends OtapiBasePrice{ /** * @return string */ public function GetConvertedPrice(){ $value = isset($this->xmlData->ConvertedPrice) ? (string)$this->xmlData->ConvertedPrice : false; $propertyType = 'string'; return $propertyType == 'boolean' ? $value == ...
true
0bb09efed82123b8e309c2f0f14db0e5809d6f8f
PHP
Dustinyoreyes/Study
/upload.php
UTF-8
624
2.625
3
[]
no_license
<?php // //In PHP versions earlier than 4.1.0, $HTTP_POST_FILES should be used instead // of $_FILES. //Create a folder named Userfile in the Study folder and you can the upload all files to go in here. $uploaddir = '/wamp/www/Study/Userfile/'; $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); ec...
true
a5f70fbefed951a0a794f045502aa500ad4e5465
PHP
creatydev/datacenter-automation-suite-l58
/database/migrations/2018_11_12_104516_create_menu_pages_table.php
UTF-8
906
2.515625
3
[ "Apache-2.0" ]
permissive
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateMenuPagesTable extends Migration { /** * Run the migrations. * */ public function up() { Schema::create('menu_pages', function (Blueprint...
true
2d37109c69415a17cbf972e03e354c3614d36849
PHP
ADBY/wopadu-project
/Web Source Code/admin/ws-2016-01-21/password-forgot.php
UTF-8
5,779
2.640625
3
[ "MIT", "BSD-3-Clause" ]
permissive
<?php /* * Forgot Password Steps * URL: * Step - 1: http://localhost:8080/wopado/ws/password-forgot.php?step=1&email=shirishm.makwana@gmail.com * Step - 2: http://localhost:8080/wopado/ws/password-forgot.php?step=2&email=shirishm.makwana@gmail.com&verif_code=123456&n_password=shirish&r_password=shirish */ header("C...
true
2c4c6c35a91953212ce8fec84de54264662a6b0a
PHP
charisma-beads/charisma-beads
/module/ShopDomPdf/src/Model/PdfHeaderCollection.php
UTF-8
957
3.015625
3
[]
no_license
<?php namespace ShopDomPdf\Model; use Common\Model\AbstractCollection; class PdfHeaderCollection extends AbstractCollection { /** * @var string */ protected $entityClass = PdfTextLine::class; /** * @param array $array */ public function __construct($array = []) { $th...
true
471f8940a58172984468863f42228992ad4d05e4
PHP
VasilyevR/ChatAntiBot
/src/Dto/PuzzleDto.php
UTF-8
925
3.40625
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace App\Dto; class PuzzleDto { /** * @var string */ private $question; /** * @var string */ private $answer; /** * @var string[] */ private $choices; /** * @param string $question * @param string $answer *...
true