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
15398969fddf719757c7d19067c1efd48e6232b3
PHP
marscore/hhvm
/hphp/test/slow/hhbbc/dce_002.php
UTF-8
209
2.8125
3
[ "Zend-2.0", "PHP-3.01", "MIT" ]
permissive
<?php function asd() { return 12; } function foo() { $x = asd(); for ($i = 0; $i < 10; ++$i) { echo $i . "\n"; } $x += 2; echo $x; echo "\n"; } <<__EntryPoint>> function main_dce_002() { foo(); }
true
ed81c9023b9d43d5bc79f5b5c9fe529327735968
PHP
WR-Consultancy/OpenVBX-Plugin-SIP
/applets/sip/TwimlDialSIP.php
UTF-8
3,196
2.59375
3
[]
no_license
<?php class TwimlDialException extends Exception {}; class TwimlDialSIP { private $use_ci_session = true; static $hangup_stati = array('completed', 'answered'); static $voicemail_stati = array('no-answer', 'failed'); protected $cookie_name; public $state; public $response; public $dial; protected $t...
true
1f77cf0e7eaa1ffa4650ba31ae5bfd28adf0a7b4
PHP
wangfei0422/books
/1/module/Books/src/Books/Form/BookFeedbackForm.php
UTF-8
2,484
2.609375
3
[ "Apache-2.0" ]
permissive
<?php // // +------------------------------------------------------------------------+ // | PHP Version 5 | // +------------------------------------------------------------------------+ // | 作者:王梦 | // +...
true
5bb5d5644080e135c894b2b2ecab391770fb3f91
PHP
pedrocavt/sistema-gestao
/app/Http/Controllers/ContatoController.php
UTF-8
1,392
2.59375
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\SiteContato; use App\MotivoContato; class ContatoController extends Controller { public function contato(Request $request) { $motivo_contato = MotivoContato::all(); return view('site.contato', ['motivo_contato' => ...
true
10feb7344bbfe266bc800ec184a604dc76f6f190
PHP
louisicard/adimeo-data-suite-filters
/ProcessorFilter/DebugFilter.php
UTF-8
1,851
2.59375
3
[]
no_license
<?php namespace AdimeoDataSuite\ProcessorFilter; use AdimeoDataSuite\Model\Datasource; use AdimeoDataSuite\Model\ProcessorFilter; class DebugFilter extends ProcessorFilter { function getDisplayName() { return "Debug filter"; } function getFields() { return array(); } function getSettingFields...
true
344af020454e971a1cfc33ed326815db04fdf139
PHP
globocom/secDevLabs
/owasp-top10-2021-apps/a6/cimentech/app/html/modules/image/image.api.php
UTF-8
7,214
2.734375
3
[ "BSD-3-Clause" ]
permissive
<?php /** * @file * Hooks related to image styles and effects. */ /** * @addtogroup hooks * @{ */ /** * Define information about image effects provided by a module. * * This hook enables modules to define image manipulation effects for use with * an image style. * * @return * An array of image effects...
true
44f2f2fcfc8cbb19b70d80e5767a4fb44c2eba5a
PHP
eduardobogoni/stuffrepos-cakephp
/plugins/Layouts/Console/Command/CssShell.php
UTF-8
1,995
3.125
3
[]
no_license
<?php class CssShell extends Shell { /** * get the option parser. * * @return ConsoleOptionParser */ public function getOptionParser() { $parser = parent::getOptionParser(); return $parser; } public function main() { $cssFile = $this->args[0]; $css ...
true
56bbe3e6c7736648f7dd7c4a534927062d264bdf
PHP
Masum-Moral/2017_Publish_Subscription
/bao/class.imagebao.php
UTF-8
1,071
2.53125
3
[]
no_license
<?php include_once '/../util/class.util.php'; include_once '/../dao/class.imagedao.php'; /* Image Bussiness */ Class ImageBAO{ private $_DB; private $_ImageDAO; function ImageBAO(){ $this->_ImageDAO = new ImageDAO(); } public function addImage($ImageFile){ $Result = new Result()...
true
154903f2eb1f6c4e9fb983303db95e3db93e1340
PHP
maksigit/homework_3
/Transporting/model/driver.php
UTF-8
568
2.953125
3
[]
no_license
<?php namespace Model; use user; /** * */ class Driver extends User { private $license; private $numberCar; private $car; public function getLicense() { return $this->license; } public function setLicense($name) { return $this->license = $name; } public function getNumberCar() { return $this...
true
91a46c974b4e4d52fdf4cc59d6e65d8a984d6225
PHP
dalencar/ans-tiss
/ans/schemes/CtGuiaDadosOdontoType/GlosaGuiaAType.php
UTF-8
1,382
3.109375
3
[ "BSD-2-Clause" ]
permissive
<?php namespace ans\schemes\CtGuiaDadosOdontoType; /** * Class representing GlosaGuiaAType */ class GlosaGuiaAType { /** * @property \ans\schemes\CtMotivoGlosaType[] $motivoGlosa */ private $motivoGlosa = null; /** * Adds as motivoGlosa * * @return self * @param \ans\sche...
true
8ffd9de210250335f76b596baae3257965ff0c24
PHP
visredles/PocPoc
/class/template.php
UTF-8
3,471
2.65625
3
[]
no_license
<?php /* This software was written by Markus Bach <markus@derpaderborner.de> * It is licensed as beerware. So drink up and get me a beer! * Just kidding. Have fun with this piece of crap. */ class Template { private $args; private $file; public function __get($name) { return $this->args[$name];...
true
e2556d5c5c40993a9e8829a2c8a0637ec5d47b97
PHP
stefanius/nationale-feestdag
/src/Stefanius/NationalHolidayBundle/Controller/DefaultController.php
UTF-8
6,376
2.546875
3
[]
no_license
<?php namespace Stefanius\NationalHolidayBundle\Controller; use Stefanius\NationalHolidayBundle\Model\Domain; use Stefanius\NationalHolidayBundle\Model\Page; use Stefanius\SpecialDates\DateParser\Parser; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; class Def...
true
6911d517e79f1850e3480a5ff087d75dcd05ee29
PHP
kochankov/PHP-homework
/50 Shades of Grey.php
UTF-8
684
3.5
4
[]
no_license
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>First Steps Into PHP</title> <style> div { display: inline-block; margin: 5px; width: 20px; height: 20px; } </style> </head> <body> <?php $cols = 10; $rows = 5; for ($i=1...
true
904fcf2df22c267d655c49e2ac6b85fe65c0947e
PHP
kalamun/TinySparkPost
/tinysparkpost.php
UTF-8
2,051
2.640625
3
[]
no_license
<?php /* (c) Kalamun.org - GNU/GPL 3 */ class TinySparkPost { protected $endpoint = "api.sparkpost.com", $apikey = "", $protocol = 'https', $port = 443, $strictSSL = true, $key = '', $version = 'v1', $vars = array(); public function __construct($apikey) { $this->apikey = $ap...
true
e28c910bbf2807076ef2850e300366e4e744671b
PHP
bastman/processus-jsonrpc-pipe
/src/Processus/Rpc/Json/Modules/Auth/AuthModule.php
UTF-8
3,011
2.609375
3
[]
no_license
<?php /** * Created by JetBrains PhpStorm. * User: seb * Date: 10/17/12 * Time: 11:50 AM * To change this template use File | Settings | File Templates. */ namespace Processus\Rpc\Json\Modules\Auth; use Processus\Rpc\Json\Modules\Base\BaseModule; class AuthModule extends BaseModule { /** * @var boo...
true
8f09121ebd90a5b6dde0e0096e46a846d04ab255
PHP
SobolAndrej/symfony
/src/DomainBundle/Infrastructure/Interfaces/DoctrineRepositoryInterface.php
UTF-8
1,619
2.546875
3
[]
no_license
<?php namespace DomainBundle\Infrastructure\Interfaces; use Doctrine\Common\Collections\Selectable; use Doctrine\Common\Persistence\ObjectRepository; use Doctrine\ORM\NativeQuery; use Doctrine\ORM\Query\ResultSetMappingBuilder; use Doctrine\ORM\Query; use Doctrine\ORM\QueryBuilder; /** * Interface DoctrineRepositor...
true
5603f3de48f134f2ca4a92877c01ebcf2c53711b
PHP
Coflnet/captcha
/src/Captcha/Probability/BotProbabilityCalculator.php
UTF-8
3,673
2.921875
3
[ "MIT" ]
permissive
<?php /** * * @copyright Copyright (c) 2018 Ekwav (Coflnet) */ namespace UserFrosting\Sprinkle\Captcha\Captcha\Probability; use UserFrosting\Sprinkle\Captcha\Captcha\Interfaces\BotProbabilityInterface; use Carbon\Carbon; /** * Implements the BotProbabilityInterface via the userfrosting cache service * probabili...
true
c8afec8dead6bf6983825e61d4d0b2e119726775
PHP
Nathanw/apple-news
/src/Urbania/AppleNews/Api/Objects/UpdateArticleMetadataFields.php
UTF-8
8,008
2.59375
3
[]
no_license
<?php namespace Urbania\AppleNews\Api\Objects; use Illuminate\Contracts\Support\Arrayable; use Urbania\AppleNews\Support\Assert; use Urbania\AppleNews\Support\BaseSdkObject; /** * See the metadata fields for the update article request. * * @see https://developer.apple.com/documentation/apple_news/update_article_m...
true
79b65c96aac017a2449639040d48b7e506d4c274
PHP
scarlettkuro/laravel-venom
/database/migrations/2016_08_07_185421_create_themes_table.php
UTF-8
1,801
2.625
3
[]
no_license
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; use App\Theme; class CreateThemesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('themes', function (Blueprint $table) { ...
true
1580fbb3fb2d023e4e8f61cfa61129966217516c
PHP
IDCI-Consulting/PaymentBundle
/Command/CleanTransactionCommand.php
UTF-8
2,934
2.53125
3
[ "MIT" ]
permissive
<?php namespace IDCI\Bundle\PaymentBundle\Command; use IDCI\Bundle\PaymentBundle\Entity\Transaction; use IDCI\Bundle\PaymentBundle\Payment\PaymentStatus; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Co...
true
090f930abd64d4b95924309ef996ee214364bc8c
PHP
gpgkd906/framework
/Std/Repository/Cngo/Repository/AbstractRepository.php
UTF-8
2,556
2.71875
3
[]
no_license
<?php declare(strict_types=1); namespace Std\Repository\Repository; use Framework\ObjectManager\SingletonInterface; use Std\Repository\Repository\SqlBuilder; use Std\Repository\Repository\AbstractEntity; use Exception; abstract class AbstractRepository implements RepositoryInterface, SingletonInterface { use \Fr...
true
d52cd14b9c9ffdff02105cfab7c32e8bc6e99d32
PHP
nehasingh19/day3
/upper_case.php
UTF-8
137
2.859375
3
[]
no_license
<?php $name=['arvi','neha','ganesh','bebo','mom','dad']; for($i=0;$i<count($name);$i++) { echo strtoupper($name[$i]).PHP_EOL; }
true
d81446f19a007b3c13630aed0535c4fc3a3e8620
PHP
kapitancho/walnut-lib-datatype
/src/Exception/NumberType/NumberAboveMaximum.php
UTF-8
661
2.9375
3
[ "MIT" ]
permissive
<?php namespace Walnut\Lib\DataType\Exception\NumberType; use Walnut\Lib\DataType\Exception\InvalidValue; /** * @package Walnut\Lib\DataType */ final class NumberAboveMaximum extends InvalidValue { private const ERROR_MESSAGE = "The value '%f' cannot be%s over '%f'."; private const EQUAL_OR = " equal or"; publi...
true
204d2eef9c11d4744e8d4270228c61bfa4b67e30
PHP
Keimilza/proyectoblogX
/src/RouterManager.php
UTF-8
1,360
3
3
[]
no_license
<?php namespace App; use Kint; use DI\Container; class RouterManager { private $container; public function __construct(Container $container) { $this->container = $container; } public function dispatch(string $requestMethod, string $requestUri, \FastRoute\Dispatcher $dispatcher ) { ...
true
cb3c11e9b287ad8dc1c2b63bb10b50d9e95a9433
PHP
robsonklima/qrisk
/www/php/usuarioperfil.class.php
UTF-8
3,615
3.015625
3
[]
no_license
<?php require_once('database.php'); class UsuarioPerfil extends DatabaseObject { protected static $table_name = "usuario_perfil"; private $id; private $nome; private $id_status; public function getId() { return $this->id; } public function setId($id) { $this->i...
true
b4447ffc9ed3eb0a7fa06c46649589e876f4ca1b
PHP
Jonathan407/findVans
/model/modelVeiculo.class.php
UTF-8
6,193
3.34375
3
[]
no_license
<?php #inclui arquivo da classe de conexão include_once '../model/modelConexao.class.php'; /** * Criado em 01/01/2015 * Classe de CRUD com PDO para manter usuário * @author Jonathan Santos Rodrigues * @version 1.0.0 */ class modelVeiculo extends modelConexao { /** * Atributos da classe */ priv...
true
b908ef4ace4955ff557e3539575a27131bee0f44
PHP
woshixieming/php
/class/http.php
UTF-8
2,537
2.75
3
[]
no_license
<?php header('content-type: text/html; charset=utf-8'); $url = 'http://ip.taobao.com/service/getIpInfo.php'; $params = array('ip'=>''); $data = http($url, $params, 'GET'); var_dump($data); exit; /** * [http 发送HTTP请求方法] * @author xiexinzhong <xiexinzhong@yuewen.com> * @since 2014-08-12 * @param [type] $ur...
true
f0690052a67cf68b3b152beafeaf40bc1e32127f
PHP
esolitos/iris-engine
/public_html/application/models/settings_model.php
UTF-8
1,919
2.6875
3
[]
no_license
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Settings_Model extends CI_Model { function __construct() { // Call the Model constructor parent::__construct(); } function createOption($opt_name) { $this->db->insert(TABLE_OPTIONS_NAMES, array('machine_name'...
true
59fd3d6b8a16cf6563eb1f42570e7913c41c7902
PHP
grobacz/personal-website
/api/app/src/Security/TokenManager.php
UTF-8
907
2.84375
3
[ "MIT" ]
permissive
<?php namespace App\Security; use Ahc\Jwt\JWT; use App\Entity\Contact; use Cycle\ORM\ORMInterface; class TokenManager { private string $key; /** * @var ORMInterface */ private ORMInterface $orm; public function __construct(string $key, ORMInterface $orm) { $this->key = $key; ...
true
b0fc78cb2eca92d394fac3f0b392cd93c3947040
PHP
gergocs/Webterv
/class/CallApi.php
UTF-8
4,840
2.796875
3
[]
no_license
<?php class CallApi { private const apiKey = 'e2bd18f9d168bcad59428813e6ce1732'; private $city; private $lat; private $lon; private $wheather; function __construct($city) { $datas = json_decode(file_get_contents("data/city.list.json"), true); $counter = 0; foreach ...
true
8197d681b36fc67d85111e8173d556ccffeb6a28
PHP
FalconHD/Event_Youcode_BDE_Project
/backend/models/ClassesModel.php
UTF-8
952
2.984375
3
[]
no_license
<?php class ClassesModel { private $db; public function __construct() { $this->db = new DB(); } public function getClasses() { $this->db->query("SELECT * FROM class"); return $this->db->all(); } public function classesInfo($id) { $this->db->query("...
true
8515f32492b195ef531b8ab1ed29167379a7896e
PHP
Stolz/php-stubs
/res/php/fbsql/functions/fbsql-clob-size.php
UTF-8
266
2.765625
3
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
<?php /** * Get the size of a CLOB * * @phpstub * * @param string $clob_handle * @param resource $link_identifier * * @return int Returns the CLOB size as an integer, or false on error. */ function fbsql_clob_size($clob_handle, $link_identifier = NULL) { }
true
0425e1114861e7d7bde76c1a738ab2faae3922c7
PHP
kelver/PlantasBrEmpire
/db/migrations/20170429033312_create_pessoa.php
UTF-8
388
2.640625
3
[]
no_license
<?php use Phinx\Migration\AbstractMigration; class CreatePessoa extends AbstractMigration { public function up(){ $this->table('pessoa') ->addColumn('nome', 'string') ->addColumn('email', 'string') ->addColumn('telefone', 'string') ->save(); } publi...
true
235fe2e8799d8e0fe26ebe8e330ec2a80298a2d7
PHP
Jrius4/pos_app_desktop
/www/database/seeds/AccountSeeder.php
UTF-8
1,064
2.625
3
[ "MIT" ]
permissive
<?php use App\Account; use Illuminate\Database\Seeder; class AccountSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $acc = new Account(); $acc->create([ 'name' => 'Main Account', 'slug' => strtolo...
true
5595ef1149e5794f259e008407d8f9a59d654691
PHP
davide2894/kioku
/connect.php
UTF-8
376
2.515625
3
[ "MIT" ]
permissive
<?php $servername = 'localhost'; $username = 'root'; $password = 'Iaiu94Pail'; $db = 'kioku'; // Connect to database $conn = new mysqli($servername, $username, $password, $db); // Check if connection is successfull // if($conn -> connect_error) { // die('Connection failed: ' . $conn -> connect_error); // } else...
true
9bc47e3dbb6611b149f057b11336356893eda99f
PHP
ultramarshall/tonlive
/Modules/AuthModules/Http/Middleware/Doi.php
UTF-8
1,387
2.515625
3
[ "MIT" ]
permissive
<?php namespace Modules\AuthModules\Http\Middleware; use Closure; use Illuminate\Http\Request; use DB; use Crypt; class Doi { public function handle(Request $request, Closure $next) { // /* middleware check group user */ if(self::info() == null) return redirect('auth/login'); ...
true
3fa2c48c51b1b09d80318cfc85cb02aa29cca1ec
PHP
yupserve-code/website
/api/customer/review_booking.php
UTF-8
3,938
2.640625
3
[]
no_license
<?php require_once "../../objects/class_connection.php"; require_once "../../class_configure.php"; // API config require_once "../config.php"; // API header require_once "../header.php"; require_once "../../objects/class_setting.php"; require_once "../../objects/class_general.php"; require_once "../../objects/class_fro...
true
2cb04c3c3c05e22c60d89da5529b2818bb130aad
PHP
cornel-kim/PHP-Project
/online/createpdf.php
UTF-8
4,337
2.515625
3
[]
no_license
<?php session_start(); if(!isset($_SESSION['username']) || !isset($_SESSION['logged_in'])){ header('Location: index.php'); exit; } require_once("dbcontroller.php"); require('fpdf/fpdf.php'); $pdf=new FPDF(); $pdf->AddPage(); $pdf->SetLeftMargin(20); $pdf->SetFont('Arial','',11); $conn = new mysqli('localhost', ...
true
b9d8efa595fa46e801caae84e3afa035fcaca947
PHP
luisneto98/Wandarena
/app/src/Model/Consoles/CardsGame/GameConsole.php
UTF-8
3,043
2.921875
3
[ "BSD-3-Clause" ]
permissive
<?php /** * Created by PhpStorm. * User: luisneto98 * Date: 23/01/18 * Time: 18:07 */ namespace App\Model\Consoles\CardsGame; use App\Model\Consoles\CardsGame\Control\Player; use App\Model\Consoles\CardsGame\Game\Deck; class GameConsole { private $logJson; public function __construct() { $...
true
f8a46f5b9a1f6362250d38ff7197706739d8ae58
PHP
ntzm/trucktrack
/app/Models/Country.php
UTF-8
415
2.609375
3
[ "MIT" ]
permissive
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\HasMany; /** * @property int $id * @property string $name * @property \Illuminate\Database\Eloquent\Collection $locations */ final class Country extends Model { public $timestamps = false; publ...
true
09c80156fb29f0f3bf3fb7c3a7a7d35fa50a7a4b
PHP
m6k4/Wow
/App/AvailableClassesHuman.php
UTF-8
170
2.546875
3
[]
no_license
<?php class AvailableClassesHuman implements AvailableClasses { public function availableClasses() { // TODO: Implement availableRaces() method. } }
true
3f6bac13533db36da96af6982534646f91cfa846
PHP
indibeast/workflow-engine
/src/exception/WorkflowEngineException.php
UTF-8
1,554
2.78125
3
[]
no_license
<?php /** * Created by PhpStorm. * User: sergey * Date: 03.10.14 * Time: 17:32 */ namespace dicom\workflow\exception; class WorkflowEngineException extends \Exception { public static function youTryUseNonExistingState($wrongState, $registeredStates) { return new static(sprintf( 'You ...
true
2c4acb95f6cd2b09e8199b72eea70574b7884085
PHP
TMDesigns/concrete5
/concrete/src/Permission/Registry/Entry/AbstractPermissionsEntry.php
UTF-8
1,086
2.671875
3
[ "MIT" ]
permissive
<?php namespace Concrete\Core\Permission\Registry\Entry; use Concrete\Core\Permission\Access\Entity\Entity; use Concrete\Core\Permission\AssignableObjectInterface; abstract class AbstractPermissionsEntry implements EntryInterface { public function apply(AssignableObjectInterface $object) { $entity = ...
true
7e992cd58da09778d822c6a0562d2b65290511e5
PHP
poiupio/Proyecto_Mantenimiento
/core/tests/UserManagerTest.php
UTF-8
11,398
3.0625
3
[]
no_license
<?php use PHPUnit\Framework\TestCase; require __DIR__ . "/../php/userManager.php"; class UserManagerTest extends TestCase { private $POOL = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; private $NUM_POOL = '0123456789'; private $LENGTH = 10; private function generateWord(){ ...
true
40a59346e6108807966cf9a49970888b5cfa7886
PHP
quick-vaccine-predictor/Quick-Vaccine-Predictor
/queries.php
UTF-8
14,856
2.59375
3
[]
no_license
<?php include("globals.inc.php"); print headerDBW("Queries"); print navbar('Queries'); //$url = get_url(); $_SESSION["proteosome"] = array(); $_SESSION["status"] = ""; ?> <div class="container text-center"> <!-- Main component for a primary marketing message or call to action --> <div class="text-left...
true
ab4d92c1ec9e6ae5a0c8371f46542b5c3d6738bd
PHP
lee-watson98/digibooks
/digibooks/functions.php
UTF-8
13,352
2.84375
3
[]
no_license
<?php function redirect($location){ header("Location: $location"); } /* to call the connection within a function we need to make it global*/ function query ($sql){ global $connection; return mysqli_query($connection,$sql); } function confirm($result) { global $connection; if(!$result){ die("QUERY FAILED ".mys...
true
efa2fd61a04c7ae0cae43960c69734f4c67ad5f8
PHP
Innodite/laravel5-scaffold
/src/Innodite/Generator/Commands/BaseCommand.php
UTF-8
2,076
2.59375
3
[ "MIT" ]
permissive
<?php namespace Innodite\Generator\Commands; use Exception; use Illuminate\Console\Command; use Innodite\Generator\CommandData; use Innodite\Generator\File\FileHelper; use Innodite\Generator\Utils\GeneratorUtils; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; class...
true
492b6e297861377387cbb3bbba1fdd69f92e87a2
PHP
Amakazor/projekt-aplikacje-internetowe
/src/Repository/CarRepository.php
UTF-8
4,343
2.546875
3
[]
no_license
<?php namespace App\Repository; use App\Entity\Car; use App\Entity\Company; use DateTime; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\NonUniqueResultException; use Doctrine\ORM\NoResultException; use Doctrine\Persistence\ManagerRegistry; use Exception; /** * @method Car|n...
true
44c011b38393d3d7c357603f9319938ef82f2a05
PHP
carlos22-04/cliente
/conexion.php
UTF-8
340
2.5625
3
[]
no_license
<?php /** *@esta funcion es la que realiza el programa para conectarse con la base de datos *@si llega a ocurrir un error manda un mensaje de conexion fallida */ $conexion = new mysqli("localhost","root","","calidad"); if(mysqli_connect_errno()){ echo 'Conexion Fallida : ', mysqli_connect_error(); ...
true
423d0911cf7028ef31d5cc561f8989abc90b0029
PHP
Addie259/elektroakusticka_muzika
/classes/Autor.php
UTF-8
576
3.046875
3
[]
no_license
<?php class Autor { public static function getAutor(){ $conn = Database::getInstance(); $stmt = $conn->query('SELECT * FROM autor'); $stmt->fetch(); foreach ($stmt as $row) { echo "<ul style='list-style: none;'>"; echo "<li><b>" . $row['ime'] . " "; echo $...
true
5ada7acd9f37c98776d97c919faa0c0d482a9066
PHP
fervegag/Cardenas-Web
/agregarGym.php
UTF-8
757
2.546875
3
[]
no_license
<?php session_start(); if (!isset($_SESSION['user_id'])) { header('Location: login.php'); exit; } else { } ?> <?php include('dbmanager/config.php'); if(!isset($_POST['add_nombre'])||!isset($_POST['add_direccion'])){ echo "Datos enviados incorrectamente"; }else{ $nombre = $_POST['add_nombre']; $dir =...
true
c8c81e47b2ae0503004070a80025815f3d94e4ec
PHP
urbanlab/plusbellelasemaine
/html/application/modules/stats/models/Stats_model.php
UTF-8
16,826
2.640625
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Stats_model extends CI_Model { private $progressTable = 'progress'; private $successTable = 'success'; private $scoreTable = 'score'; private $userTable = 'user'; private $cityTable = 'city'; private $statQuestionTable = 'stat_ques...
true
6e0fad0a0c90470a2c05146f0cebf6b6dd6b1f64
PHP
krinaapatel/comp606A2
/chat.php
UTF-8
2,304
2.546875
3
[]
no_license
<?php // session start session_start(); // add dabase connection and header file include("connection.php"); include('header.php'); // display error ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); if(!$_SESSION){ session_start(); } if(!$_SESSION['email']){ ...
true
a7027fa5feee723457497ca7e8c7c7d7248f5851
PHP
jorgeluizfonsecavieira/ieducar2
/module/Escola/src/Escola/Entity/Serie.php
UTF-8
9,487
2.5625
3
[]
no_license
<?php /** * Created by PhpStorm. * User: eduardojunior * Date: 15/01/16 * Time: 09:17 */ namespace Escola\Entity; use Core\Entity\Entity; use Zend\InputFilter\InputFilter; use Zend\InputFilter\Factory as InputFactory; use Doctrine\ORM\Mapping as ORM; /** * Entidade Serie * * @author Eduardo Junior <ej@calango...
true
5ec655682e43cc255bff95f9b286eb80c4eb5941
PHP
seyfer/symblog.me
/src/Blogger/DebugBundle/Tools/Debug.php
UTF-8
426
2.578125
3
[ "BSD-3-Clause", "MIT" ]
permissive
<?php namespace Blogger\DebugBundle\Tools; use Doctrine\Common\Util\Debug as DoctrineDebug; /** * Description of Debug * * @author seyfer */ class Debug { public static function dump($var, $maxDepth = 2, $stripTags = true) { ob_start(); DoctrineDebug::dump($var, $maxDepth, $stripTags); ...
true
79b6dfe158d1c0d73e00e31fcd987d91239c0ad5
PHP
Vasterra/public-projects
/Zoo platform/app/Http/Controllers/AnimalController.php
UTF-8
1,257
2.671875
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use App\Animal; use App\Animal\AnimalClass; use App\Http\Requests\AnimalRequest; use Illuminate\Http\Request; class AnimalController extends Controller { /** * @return mixed */ public function index() { $animals = new AnimalClass(); return $...
true
89faaf0603ad322c1b4d7ea240fee99c67f33361
PHP
stephanediondev/axipi
/src/Axipi/CoreBundle/Event/LanguageEvent.php
UTF-8
474
2.515625
3
[]
no_license
<?php namespace Axipi\CoreBundle\Event; use Axipi\CoreBundle\Entity\Language; use Symfony\Component\EventDispatcher\Event; class LanguageEvent extends Event { protected $data; protected $mode; public function __construct(Language $data, $mode) { $this->data = $data; $this->mode = $mo...
true
a367602f6584f5a39ff73bbcd600ec2039bd191e
PHP
DjMomo/vigimeteo
/index.php
ISO-8859-1
1,039
2.5625
3
[]
no_license
<?php /************************************************************************************* ** ** Script vigilance mto pour systmes domotique ** ** V1 - DjMaboul - http://www.touteladomotique.com/forum/viewtopic.php?f=72&t=1724 ** ** Version ultrieures - DjMomo - Voir Readme.md ** ******...
true
6836737324c64631989fa70d77eaaa049762f245
PHP
bolzinski/bowlbonanza_CURRENT
/lib/validate_class.php
UTF-8
13,190
2.71875
3
[]
no_license
<?php // load error handler and database configuration require_once("validator_helper_class.php"); // Class supports AJAX and PHP web form validation class Validate { // stored database connection private $mMysqli; public $month_array = array("0" => "[Select]", "1" => "01", ...
true
aa7d5388ea3cf1704eec30daeb722e96cd826897
PHP
gregth-dev/amapliV1
/src/Entity/Delivery.php
UTF-8
3,255
2.75
3
[]
no_license
<?php namespace App\Entity; use App\Repository\DeliveryRepository; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass=DeliveryRepository::class) */ class Delivery { /** * @ORM\Id * @ORM\Genera...
true
acad473010b238f9c265cc308c4875e02652a714
PHP
ZF2Buch2/kapitel08
/module/Application/src/Application/Listener/RunTimeListener.php
UTF-8
2,370
2.609375
3
[]
no_license
<?php /** * ZF2 Buch Kapitel 8 * * Das Buch "Zend Framework 2 - Das Praxisbuch" * von Ralf Eggert ist im Galileo-Computing Verlag erschienen. * ISBN 978-3-8362-2610-3 * * @package Application * @author Ralf Eggert <r.eggert@travello.de> * @copyright Alle Listings sind urheberrechtlich geschützt! * ...
true
1c42c598fa6bd697ac73ae0dc507094e81b3873b
PHP
jarrodagims/coolelpaso
/admin/classes/database/Staff.php
UTF-8
13,955
2.671875
3
[]
no_license
<?php class Staff extends Model{ // Module Config public $_moduleName = 'Staff'; public $_moduleDir = 'staff'; public $_moduleTable = 'staff'; public $_moduleTableCategories = 'staff_categories'; public $_moduleClassName = 'Staff'; public $_moduleCategoryClassName = 'StaffCategory'; public $_moduleDescription =...
true
ec5b573daa45131d1a8d2462a7c879e70a01ed1f
PHP
TendaiPhikiso/DatabaseDesign
/courseparticipation.php
UTF-8
2,297
2.78125
3
[]
no_license
<?php //QUERY 9 // $title="Course Participation"; require_once('head.php'); echo "<body>"; echo"<h2>Course Participation</h2>"; if (empty ($_POST['courseName'])) echo"<p class= 'p' >Please Enter A Course Name</p>"; else{ $conn= mysqli_connect('localhost','root','password','canary'); ...
true
bc670c485932a82ddebebe392173daf84874c96f
PHP
kunal254/curiosity
/student/studentProfile.php
UTF-8
2,280
2.671875
3
[]
no_license
<?php require 'stuheader.php'; ?> <?php $id=$_SESSION['stu_id']; if(isset($_POST['submit'])) { $status=1; $stu_name=$_POST['stu_name']; $p_img=$_POST['p_img']; $stu_occ=$_POST['stu_occ']; $target_dir="../images/stu_images/"; $target_file=$target_dir . basen...
true
85349a8fdf2931b084fde60d45e5a27e88e8c6bb
PHP
cherifGsoul/identity-access
/src/Application/AuthenticationHandler.php
UTF-8
600
2.734375
3
[]
no_license
<?php namespace IdentityAccess\Application; use IdentityAccess\Domain\Model\Identity\AuthenticationService; use IdentityAccess\Application\AuthenticateUserCommand; class AuthenticationHandler { private $authenticationService; public function __construct(AuthenticationService $authenticationService) { ...
true
fe9e3242be792e828d5e8e9d20a20b74542d3f43
PHP
andresdavid021298/Practisoft
/CodigoFuente/View/Director/informe_empresas.php
UTF-8
2,137
2.65625
3
[]
no_license
<?php session_start(); if ($_SESSION['id_director'] == NULL) { header("Location: ../../index.php"); } require_once '../../Controller/Empresa/Empresa_Controller.php'; $obj_empresa_model = generarInformeDeEmpresas(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatibl...
true
0fe5373fe36bb45d30d16311dae7404a87f7cc96
PHP
caseproof/mockpress
/includes/pluggable.php
UTF-8
1,709
2.53125
3
[ "MIT" ]
permissive
<?php /** Method used by mockpress to set a true or false value for is_user_logged_in() * to return when called. */ function _set_is_user_logged_in($value) { global $wp_test_expectations; $wp_test_expectations['pluggable']['is_user_logged_in'] = $value; } function is_user_logged_in() { global $wp_test_ex...
true
0456cbdf9055f0dbe2f656864ec3a3be7d29962b
PHP
Group3InventoryManagementSystem/InventorySystem
/php/StoreKeeper.php
UTF-8
5,183
2.59375
3
[]
no_license
<?php require_once "Utility.php"; class Storeman extends Utility{ function AddMaterials(){ $name = $_POST['name']; $amt = $_POST['units']; $price = $_POST['price']; $ref = $_POST['ref']; $res = $this->query("SELECT * FROM ...
true
1c030c5ab722f43badc3a7b21d3671651edc20d9
PHP
kodmanyagha/wallpaper-admin
/app/Http/Controllers/Api/ApiController.php
UTF-8
2,407
2.59375
3
[]
no_license
<?php namespace App\Http\Controllers\Api; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Routing\Controller as BaseController; class ApiController extends BaseController { use Authorize...
true
c6fda98f05904ac79aeae2e1fe813957a3060e0e
PHP
blazarecki/suivi-alternant
/src/Suivi/UserBundle/Repository/StudentRepository.php
UTF-8
672
2.703125
3
[]
no_license
<?php namespace Suivi\UserBundle\Repository; use Doctrine\ORM\EntityRepository; /** * Student Repository * * @author Jacob Delcroix <delcroix.jacob@gmail.com> */ class StudentRepository extends EntityRepository { /** * Get the list of all students and their complementary informations (professor, tutor, contrac...
true
0f1219cbf1662d822a57bee1a763da7c9ef6c929
PHP
KMDEV22/php-json-project
/index.php
UTF-8
1,249
2.5625
3
[]
no_license
<?php $datafile = "states.json"; $file=fopen($datafile, 'r'); if($file != NULL || $file != false){ echo 'opened <br>'; $filesize = filesize($datafile); echo 'filesize'; echo $filesize; $filecontents = fread($file, $filesize); fclose($file); $...
true
eb6582ddbea81ecd17d69f68f94cc0cf65b23ea0
PHP
scheras/Skautske-hospodareni
/app/model/DTO/Travel/Command/Travel.php
UTF-8
1,102
2.953125
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace Model\DTO\Travel\Command; use Model\Travel\Command\TravelDetails; use Money\Money; use Nette\SmartObject; /** * @property-read int $id * @property-read TravelDetails $details * @property-read float|NULL $distance * @property-read Money $price */ class Travel { use S...
true
9d84694881b2d197d55d82894bbd6fd995c7c979
PHP
KastroWalker/eventosti.dev
/src/Service/TelegramService.php
UTF-8
558
2.734375
3
[]
no_license
<?php namespace App\Service; use App\Entity\Eventos; class TelegramService { public function enviaMensagemCadastroEvento(int $chatId, Eventos $evento) { $mensagem = 'Mais um evento cadastrado na plataforma https://eventosti.dev confira agora! ' .$evento->getNome() . ' em: ' . $evento->getLink(); ...
true
1da2e5b0df5d235a024c0c2a67e62c1c15a81b00
PHP
OlivierHe/blog_ecrivain
/Responder/UpdatePassResponder.php
UTF-8
433
2.640625
3
[]
no_license
<?php /** * * User: Olivier Herzog * Date: 15/08/2017 * Time: 23:57 */ namespace Responder; class UpdatePassResponder { private $data; public function __invoke() { $data = $this->data; if ($_SESSION['type'] === 'ADMIN') { echo json_encode($this->data); }else { ...
true
d967ea26d811c176fc822b7dc85fb552ff563f3e
PHP
bitmovin/bitmovin-api-sdk-php
/src/Models/ThumbnailAspectMode.php
UTF-8
1,596
3.0625
3
[ "MIT" ]
permissive
<?php namespace BitmovinApiSdk\Models; class ThumbnailAspectMode extends \BitmovinApiSdk\Common\Enum { /** @var string */ private const PAD = 'PAD'; /** @var string */ private const CROP = 'CROP'; /** @var string */ private const STRETCH = 'STRETCH'; /** * @param string $value ...
true
df7d610df15a124532e4184f19241f1b086c26ec
PHP
webalorn/hero-adventures
/functions/valider.php
UTF-8
575
2.5625
3
[]
no_license
<?php function valider_pseudo(&$pseudo) { $pseudo = htmlspecialchars($pseudo); $longMin = 3; $longMax = 20; if (strlen($pseudo) > $longMax || strlen($pseudo) < $longMin) return false; return true; } function valider_password($pass) { $longMin...
true
746567707358cbc3a67026d027af6b140de0ed17
PHP
lirongfei123/genealogy
/genealogy/Lib/Action/SearchAction.class.php
UTF-8
1,099
2.609375
3
[]
no_license
<?php class SearchAction extends Action{ public function search(){ $memberModel = new MemberModel(); if($_GET["name"] == "*") { $result = $memberModel->select(); }else{ $name = $_GET['name']; $result = $memberModel->where("name like '%$name%'")->se...
true
9b59009e7f75f36710bf4e7c86440b8ecfb4a4c1
PHP
jamiepine/Silverline-Wordpress-Theme
/silverline/framework/core.php
UTF-8
8,802
2.609375
3
[]
no_license
<?php /** * WP Framework core functions * * @package WP Framework */ /** * Default constants available throughout WP Framework. * * @since 0.3.0 * * @return void */ function wpf_initial_constants() { // Sets the File path to the current parent theme's directory. define( 'PARENT_THEME_DIR', TEMPLATEPATH );...
true
4ef1fdabc6b44f9e461f4febb51d0517003b3ae9
PHP
zmajnex/simple-mvc
/libs/bootstrap.php
UTF-8
2,051
2.921875
3
[]
no_license
<?php namespace App; use App\Index; use App\MY_Error; session_start(); class Bootstrap { public function __construct(){ $url= $this->parseUrl(); } public function parseUrl(){ //Skupljamo vrednosti iz url ono sto ukucamo $url =isset( $_GET ['url']) ? $_GET['url']: null; $url =explode('/...
true
b96335bbcb8456522e586c5fb6546f75d5d37ec5
PHP
katsuyoshiaiko/facturasphp
/www_extended/facturasphp/contacts/views/table_contacts_offices.php
UTF-8
1,785
2.59375
3
[]
no_license
<table class="table table-striped"> <thead> <tr> <th><?php _t("#") ; ?></th> <th><?php _t("Id") ; ?></th> <th><?php _t("Office name") ; ?></th> <th><?php _t("Status") ; ?></th> <th><?php _t("Actions") ; ?></th> </tr> </thead> <tfoo...
true
346beca08fb4bef309ad4a87e6f0b55fdad60c7a
PHP
fabio-pv/webhook-deploy
/app/Utils/CommandUtil.php
UTF-8
425
2.578125
3
[ "MIT" ]
permissive
<?php namespace App\Utils; use App\Models\v1\Command; use App\Models\v1\Repository; class CommandUtil { static function clone(string $https): string { return "git clone ${https}"; } static function command(Repository $repository, Command $command): string { $path = PathUtil::...
true
dee7c21f923cb98d157caaa98dc4452d4e4ca65b
PHP
SOLOPlugins-PocketMine/SPortal
/src/solo/sportal/command/ParticlePortalCreateCommand.php
UTF-8
3,174
2.53125
3
[]
no_license
<?php namespace solo\sportal\command; use pocketmine\Player; use pocketmine\command\Command; use pocketmine\command\CommandSender; use pocketmine\event\player\PlayerInteractEvent; use pocketmine\level\particle\Particle; use solo\swarp\SWarp; use solo\sportal\SPortal; use solo\sportal\PortalException; use ...
true
22c3dc942ba03f0a4162af48b398bfd4900bbbf4
PHP
nanzcakep/PHP-based-website
/siswa.php
UTF-8
1,954
2.8125
3
[]
no_license
<?php $conn = mysqli_connect("localhost","id10009706_root","bangsat123","id10009706_rpl"); $siswa = query("SELECT * FROM siswa"); function query($query) { global $conn; $result = mysqli_query($conn,$query); $rows = []; while ($row = mysqli_fetch_assoc($result) ) { $rows[] = $row; } return $rows; } funct...
true
71dd7c15e3a217303047f14af970bb1993a2cbf1
PHP
rachaelhrlm/Calculator
/Scripts/Maths.php
UTF-8
2,458
3.6875
4
[]
no_license
<?php //input from User $input = $_REQUEST["q"]; //check to make sure each number only has one decimal point $decimalCheck = preg_split('/[*|+|-|\/]/', $input); foreach ($decimalCheck as $number) { if (substr_count($number, ".") > 1) { die("Error: Number can't have more than one decimal point."); } }...
true
e09566ada927ed3e87678849f0db13976646311d
PHP
venkey897/Venkey
/friends.php
UTF-8
701
2.6875
3
[]
no_license
<?php session_start(); $servername="localhost"; $username="root"; $password=""; $db="student"; $con=new mysqli($servername,$username,$password,$db); if($con->connect_error) { die("connecion error".$con->connect_error); } $p=$_SESSION['n']; $sql="select * from friends where username='$p'"; $res=$con->query...
true
a44ff47c08daad2dca5b967ab884a607178af9e1
PHP
jacomyma/GEXF-Atlas
/atlas/engine/ezc/Template/src/syntax_trees/ast/nodes/constructs/isset.php
UTF-8
2,154
2.90625
3
[ "BSD-3-Clause" ]
permissive
<?php /** * File containing the ezcTemplateIssetAstNode class * * @package Template * @version 1.3.2 * @copyright Copyright (C) 2005-2008 eZ systems as. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License * @access private */ /** * Represents an isset construct. * * @package Templat...
true
07af3c24cd099511ab60cb8076ad0b23f8e677a6
PHP
nikolamilicevic92/seokurs.rs
/app/Core/Middleware/CSRFMiddleware.php
UTF-8
1,721
2.875
3
[]
no_license
<?php namespace Core\Middleware; use Core\Support\Session; use Core\Router\Request; /** * This class is used for generating and validating csrf token. */ class CSRFMiddleware { /** * Enable if you want to regenerate csrf on each get request. * * @var bool */ private static $csrfPerRequest = fal...
true
607b79810e04e1d23d32df2b74244333a113be93
PHP
hooveruk/wheelin
/app/Http/Controllers/EmployeesController.php
UTF-8
536
2.65625
3
[]
no_license
<?php namespace App\Http\Controllers; use App\Http\Resources\EmployeeResource; use App\Models\Employee; use Illuminate\Http\Request; class EmployeesController extends Controller { /** * Employees controller contains methods that handle employees data retrieval and manipulation */ public function li...
true
62b716fd09109a2eeecb1e04272716d533c438c7
PHP
shannan1989/WX-SDK-PHP
/lib/wx/src/wx_mch.php
UTF-8
11,202
3.140625
3
[ "MIT" ]
permissive
<?php /** * 微信商户平台 * @author 山南 */ class WxMch { private $_mch_id; private $_mch_key; private $_mch_ssl_cert; private $_mch_ssl_key; function __construct($mch_id, $mch_key, $mch_ssl_cert, $mch_ssl_key) { $this->_mch_id = $mch_id; $this->_mch_key = $mch_key; $this->_mch_ssl_cert = $mch_ssl_cert; $this...
true
a43d591bc9a70d5e940916d7f029ae5bbc349a23
PHP
rabbit-php/rabbit-auth
/src/JWT/JWTAuthInterface.php
UTF-8
282
2.546875
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace Rabbit\Auth\JWT; use Psr\Http\Message\ServerRequestInterface; use Rabbit\Auth\TokenInterface; interface JWTAuthInterface { public function auth(ServerRequestInterface $request): bool; public function getAuth(): TokenInterface; }
true
281943f4c6718024e95f0af27c40ca175b35cd39
PHP
Enferium/MandatL3
/Mandat/Controleur/ControleurScol.php
UTF-8
954
2.53125
3
[]
no_license
<?php require_once dirname(__FILE__).'/../Modele/ModeleEtudiant.php'; require_once dirname(__FILE__).'/../Modele/ModelePays.php'; require_once dirname(__FILE__).'/../Modele/ModeleDiplome.php'; require_once dirname(__FILE__).'/../Vue/Vue.php'; class ControleurScol { private $etu; private $pa; private $di; p...
true
c18842a89351e7cdc5915f8a1ddbb7cddbbcf67f
PHP
cis355/cis355
/cbetz/prg2/prg2.php
UTF-8
6,223
2.96875
3
[]
no_license
<?php class Questions { //Member Data private static $id; private static $question; private static $category; private static $difficulty; public function displayRecords () { ?> <html lang="en"> <head> <!...
true
ae8e925a6d1f889b58199318f1c25323781bd159
PHP
neos/flow-development-collection
/Neos.Flow.Log/Tests/Unit/Backend/AbstractBackendTest.php
UTF-8
1,581
2.640625
3
[ "MIT" ]
permissive
<?php namespace Neos\Flow\Log\Tests\Unit\Backend; /* * This file is part of the Neos.Flow package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * sou...
true
ff091a7faa56d3d2f0af837060fef06db00b6b50
PHP
ryanpalmerweb/valet-plus
/FishpigMagentoValetDriver.php
UTF-8
2,511
2.953125
3
[]
no_license
<?php class FishpigMagentoValetDriver extends MagentoValetDriver { protected $wpDriver; /** * Determine if a uri belongs to WordPress * * @param string $uri * @return boolean */ public function isWordPressUri($uri) { return (stripos($uri, '/wp/index.php') !== false || stri...
true
abe1eff948917ad5770d35209bc8e33d70ee3b15
PHP
concretecms/concretecms
/concrete/src/Health/Report/Finding/Message/Search/BlockMessage.php
UTF-8
1,619
2.65625
3
[ "MIT" ]
permissive
<?php namespace Concrete\Core\Health\Report\Finding\Message\Search; use Concrete\Core\Entity\Attribute\Value\Value\Value; use Concrete\Core\Health\Report\Finding\Message\Formatter\FormatterInterface; use Concrete\Core\Health\Report\Finding\Message\Formatter\Search\BlockFormatter; use Concrete\Core\Health\Report\Findi...
true
17a1c01eba3a54b5e27d5a8abe242c07c038b8a3
PHP
VinceBLOT/PayumStripeCheckoutSession
/src/Action/DeleteWebhookTokenAction.php
UTF-8
1,042
2.578125
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace Prometee\PayumStripeCheckoutSession\Action; use Payum\Core\Action\ActionInterface; use Payum\Core\Exception\RequestNotSupportedException; use Payum\Core\Storage\StorageInterface; use Prometee\PayumStripeCheckoutSession\Request\DeleteWebhookToken; class DeleteWebhookTokenActi...
true
b88a21321ca626f7b8fbdce7382756c12538afbd
PHP
wangsir0624/ranking
/src/Ranking/AbstractRanking.php
UTF-8
4,084
2.828125
3
[ "MIT" ]
permissive
<?php namespace Wangjian\Ranking\Ranking; use Wangjian\Ranking\Provider\AbstractProvider; use Predis\Client; use Wangjian\Ranking\TimeUtil\TimeUtil; abstract class AbstractRanking { use TimeUtil; /** * Predis client * @var Client */ protected $client; /** * data provider * @...
true
d39980950611e44a042ab07a1e14de2abe85ffdd
PHP
betocastillo86/bicimensajeria
/src/wp-content/plugins/bikedelivery/inc/User.php
ISO-8859-1
2,191
2.828125
3
[]
no_license
<?php /** * Created by PhpStorm. * User: Beto * Date: 11/7/2015 * Time: 2:56 PM */ class User { protected $view_update_user = null; function __construct() { $this->set_hooks(); } function set_hooks() { add_filter('wp_nav_menu_items', array($this,'add_login_logout_link')...
true
b817dcc7c01964dca52f58756ca3394ca6564972
PHP
Rackwoo/ocPortal
/sources_custom/hooks/modules/tracking/catalogues.php
UTF-8
4,422
2.53125
3
[]
no_license
<?php /* ocPortal Copyright (c) ocProducts, 2004-2008 See text/en/licence.txt for full licencing information. */ /** * @license http://opensource.org/licenses/cpal_1.0 Common Public Attribution License * @copyright ocProducts Ltd * @package catalogues */ class Hook_tracking_catalogues { /** * Standard ...
true
9aed3557daf98866610f4f75c07359a009dcd744
PHP
mohamednagy/LaraTeams
/src/Events/UserInvitedToTeam.php
UTF-8
731
2.65625
3
[ "MIT" ]
permissive
<?php namespace DevinGray\LaraTeams\Events; use Illuminate\Queue\SerializesModels; /** * Class UserInvitedToTeam * @package DevinGray\LaraTeams\Events */ class UserInvitedToTeam { use SerializesModels; /** * @type \Illuminate\Database\Eloquent\Model */ protected $invite; /** * Use...
true