repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/database/drivers/postgre/postgre_driver.php | api/system/database/drivers/postgre/postgre_driver.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @license http://codei... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/database/drivers/postgre/postgre_result.php | api/system/database/drivers/postgre/postgre_result.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @license http://codei... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/database/drivers/postgre/postgre_utility.php | api/system/database/drivers/postgre/postgre_utility.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @license http://codei... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/database/drivers/postgre/postgre_forge.php | api/system/database/drivers/postgre/postgre_forge.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @license http://codei... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/migration_lang.php | api/system/language/english/migration_lang.php | <?php
$lang['migration_none_found'] = "No migrations were found.";
$lang['migration_not_found'] = "This migration could not be found.";
$lang['migration_multiple_version'] = "This are multiple migrations with the same version number: %d.";
$lang['migration_class_doesnt_exist'] = "The migration class \"%s\" could ... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/profiler_lang.php | api/system/language/english/profiler_lang.php | <?php
$lang['profiler_database'] = 'DATABASE';
$lang['profiler_controller_info'] = 'CLASS/METHOD';
$lang['profiler_benchmarks'] = 'BENCHMARKS';
$lang['profiler_queries'] = 'QUERIES';
$lang['profiler_get_data'] = 'GET DATA';
$lang['profiler_post_data'] = 'POST DATA';
$lang['profiler_uri_string'] = 'URI STRING';
$la... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/email_lang.php | api/system/language/english/email_lang.php | <?php
$lang['email_must_be_array'] = "The email validation method must be passed an array.";
$lang['email_invalid_address'] = "Invalid email address: %s";
$lang['email_attachment_missing'] = "Unable to locate the following email attachment: %s";
$lang['email_attachment_unreadable'] = "Unable to open this attachment: %... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/imglib_lang.php | api/system/language/english/imglib_lang.php | <?php
$lang['imglib_source_image_required'] = "You must specify a source image in your preferences.";
$lang['imglib_gd_required'] = "The GD image library is required for this feature.";
$lang['imglib_gd_required_for_props'] = "Your server must support the GD image library in order to determine the image properties.";
... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/unit_test_lang.php | api/system/language/english/unit_test_lang.php | <?php
$lang['ut_test_name'] = 'Test Name';
$lang['ut_test_datatype'] = 'Test Datatype';
$lang['ut_res_datatype'] = 'Expected Datatype';
$lang['ut_result'] = 'Result';
$lang['ut_undefined'] = 'Undefined Test Name';
$lang['ut_file'] = 'File Name';
$lang['ut_line'] = 'Line Number';
$lang['ut_passed'] = 'Passed'... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/ftp_lang.php | api/system/language/english/ftp_lang.php | <?php
$lang['ftp_no_connection'] = "Unable to locate a valid connection ID. Please make sure you are connected before peforming any file routines.";
$lang['ftp_unable_to_connect'] = "Unable to connect to your FTP server using the supplied hostname.";
$lang['ftp_unable_to_login'] = "Unable to login to your FTP serv... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/date_lang.php | api/system/language/english/date_lang.php | <?php
$lang['date_year'] = "Year";
$lang['date_years'] = "Years";
$lang['date_month'] = "Month";
$lang['date_months'] = "Months";
$lang['date_week'] = "Week";
$lang['date_weeks'] = "Weeks";
$lang['date_day'] = "Day";
$lang['date_days'] = "Days";
$lang['date_hour'] = "Hour";
$lang['date_hours'] = "Hours";
$lang['date_m... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/calendar_lang.php | api/system/language/english/calendar_lang.php | <?php
$lang['cal_su'] = "Su";
$lang['cal_mo'] = "Mo";
$lang['cal_tu'] = "Tu";
$lang['cal_we'] = "We";
$lang['cal_th'] = "Th";
$lang['cal_fr'] = "Fr";
$lang['cal_sa'] = "Sa";
$lang['cal_sun'] = "Sun";
$lang['cal_mon'] = "Mon";
$lang['cal_tue'] = "Tue";
$lang['cal_wed'] = "Wed";
$lang['cal_thu'] = "Th... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/upload_lang.php | api/system/language/english/upload_lang.php | <?php
$lang['upload_userfile_not_set'] = "Unable to find a post variable called userfile.";
$lang['upload_file_exceeds_limit'] = "The uploaded file exceeds the maximum allowed size in your PHP configuration file.";
$lang['upload_file_exceeds_form_limit'] = "The uploaded file exceeds the maximum size allowed by the sub... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/form_validation_lang.php | api/system/language/english/form_validation_lang.php | <?php
$lang['required'] = "The %s field is required.";
$lang['isset'] = "The %s field must have a value.";
$lang['valid_email'] = "The %s field must contain a valid email address.";
$lang['valid_emails'] = "The %s field must contain all valid email addresses.";
$lang['valid_url'] = "The %s field must contain ... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/db_lang.php | api/system/language/english/db_lang.php | <?php
$lang['db_invalid_connection_str'] = 'Unable to determine the database settings based on the connection string you submitted.';
$lang['db_unable_to_connect'] = 'Unable to connect to your database server using the provided settings.';
$lang['db_unable_to_select'] = 'Unable to select the specified database: %s';
$... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/system/language/english/number_lang.php | api/system/language/english/number_lang.php | <?php
$lang['terabyte_abbr'] = "TB";
$lang['gigabyte_abbr'] = "GB";
$lang['megabyte_abbr'] = "MB";
$lang['kilobyte_abbr'] = "KB";
$lang['bytes'] = "Bytes";
/* End of file number_lang.php */
/* Location: ./system/language/english/number_lang.php */ | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/helpers/acl_helper.php | api/application/helpers/acl_helper.php | <?php
abstract class Backend {
abstract function read($key);
abstract function write($key, $value);
}
class BackendRedis extends Backend {
private $redis;
function __construct($host, $port) {
$this->redis = new Redis();
$this->redis->connect($host, $port);
}
function read($key) {
$value = $this->redis->... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/helpers/password_helper.php | api/application/helpers/password_helper.php | <?php
define("PBKDF2_HASH_ALGORITHM", "sha256");
define("PBKDF2_ITERATIONS", 1024);
define("PBKDF2_SALT_BYTES", 24);
define("PBKDF2_HASH_BYTES", 24);
define("HASH_SECTIONS", 4);
define("HASH_ALGORITHM_INDEX", 0);
define("HASH_ITERATION_INDEX", 1);
define("HASH_SALT_INDEX", 2);
define("HASH_PBKDF2_INDEX", 3);
class P... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/helpers/jwt_helper.php | api/application/helpers/jwt_helper.php | <?php
/**
* JSON Web Token implementation, based on this spec:
* http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-06
*
* PHP version 5
*
* @category Authentication
* @package Authentication_JWT
* @author Neuman Vong <neuman@twilio.com>
* @author Anant Narayanan <anant@php.net>
* @license http... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/helpers/validation_helper.php | api/application/helpers/validation_helper.php | <?php
class Validation {
public static function validate($context, $class, $function, $callback) {
$output = array();
$output['status'] = false;
$token = false;
if (!empty($class)) {
$token = ACL::authenticate($class, $function);
if ($token == false) {
if (defined('PHPUNIT_TEST')) {
return jso... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/errors/error_general.php | api/application/errors/error_general.php | <!DOCTYPE html>
<html lang="en">
<head>
<title>Error</title>
<style type="text/css">
::selection{ background-color: #E13300; color: white; }
::moz-selection{ background-color: #E13300; color: white; }
::webkit-selection{ background-color: #E13300; color: white; }
body {
background-color: #fff;
margin: 40px;
font: ... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/errors/error_404.php | api/application/errors/error_404.php | <!DOCTYPE html>
<html lang="en">
<head>
<title>404 Page Not Found</title>
<style type="text/css">
::selection{ background-color: #E13300; color: white; }
::moz-selection{ background-color: #E13300; color: white; }
::webkit-selection{ background-color: #E13300; color: white; }
body {
background-color: #fff;
margin: ... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/errors/error_php.php | api/application/errors/error_php.php | <div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>A PHP Error was encountered</h4>
<p>Severity: <?php echo $severity; ?></p>
<p>Message: <?php echo $message; ?></p>
<p>Filename: <?php echo $filepath; ?></p>
<p>Line Number: <?php echo $line; ?></p>
</div> | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/errors/error_db.php | api/application/errors/error_db.php | <!DOCTYPE html>
<html lang="en">
<head>
<title>Database Error</title>
<style type="text/css">
::selection{ background-color: #E13300; color: white; }
::moz-selection{ background-color: #E13300; color: white; }
::webkit-selection{ background-color: #E13300; color: white; }
body {
background-color: #fff;
margin: 40px... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/controllers/resource.php | api/application/controllers/resource.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Resource extends REST_Controller {
public function table()
{
$this->form_validation->set_rules('params', 'params', 'required');
$this->form_validation->set_rules('role', 'role', 'required');
return Validation::validate($this, 're... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/controllers/role.php | api/application/controllers/role.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Role extends REST_Controller {
}
/* End of file role.php */
/* Location: ./application/controllers/role.php */ | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/controllers/cli.php | api/application/controllers/cli.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class CLI extends CI_Controller {
public function index()
{
}
public function install()
{
if (!$this->input->is_cli_request()) return;
$this->load->dbforge();
// create acl table
$fields = array(
'key' => array(
'type... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/controllers/user.php | api/application/controllers/user.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class User extends REST_Controller {
public function login()
{
$this->form_validation->set_rules('email', 'email', 'required|valid_email|max_length[256]');
$this->form_validation->set_rules('password', 'password', 'required|min_length[8]... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/models/resources.php | api/application/models/resources.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Resources extends CI_Model {
public function table($params, $role)
{
$limit = intval($params->count);
$offset = intval(($params->page - 1) * $params->count);
$sorting = get_object_vars($params->sorting);
$direction = reset($sor... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/models/users.php | api/application/models/users.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Users extends CI_Model {
public function login($email, $password)
{
$this->db->select('*');
$this->db->from('users');
$this->db->where('email', $email);
$this->db->limit(1);
$query = $this->db->get();
if ($query->num_rows()... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/models/roles.php | api/application/models/roles.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Roles extends CI_Model {
public function table($params)
{
$acl = new ACL();
$roles = $acl->roles();
$data = array();
$data['total'] = count($roles);
$data['roles'] = $roles;
return $data;
}
public function create($r... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/views/json.php | api/application/views/json.php | <?php
header('Cache-Control: no-cache, must-revalidate');
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Content-type: application/json');
echo json_encode($output);
| php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/core/REST_Controller.php | api/application/core/REST_Controller.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class REST_Controller extends CI_Controller {
function __construct()
{
parent::__construct();
}
private function __load()
{
$className = get_class($this);
$modelName = $className . 's';
$this->model = $this->$modelName;
$this-... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/doctypes.php | api/application/config/doctypes.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$_doctypes = array(
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/smileys.php | api/application/config/smileys.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| SMILEYS
| -------------------------------------------------------------------
| This file contains an array of smileys for use with the emoticon helper.
| Individual ima... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/profiler.php | api/application/config/profiler.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Profiler Sections
| -------------------------------------------------------------------------
| This file lets you determine whether or not various sections of Pro... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/mimes.php | api/application/config/mimes.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| MIME TYPES
| -------------------------------------------------------------------
| This file contains an array of mime types. It is used by the
| Upload class to help i... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/hooks.php | api/application/config/hooks.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Hooks
| -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core
| files... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/jwt.php | api/application/config/jwt.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$config['jwt_key'] = '';
/* End of file jwt.php */
/* Location: ./application/config/jwt.php */ | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/migration.php | api/application/config/migration.php | <?php defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Enable/Disable Migrations
|--------------------------------------------------------------------------
|
| Migrations are disabled by default but should be enabled
| whe... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/autoload.php | api/application/config/autoload.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep t... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/foreign_chars.php | api/application/config/foreign_chars.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| Foreign Characters
| -------------------------------------------------------------------
| This file contains an array of foreign characters for transliteration
| conver... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/database.php | api/application/config/database.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/config.php | api/application/config/config.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/routes.php | api/application/config/routes.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/user_agents.php | api/application/config/user_agents.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| USER AGENT TYPES
| -------------------------------------------------------------------
| This file contains four arrays of user agent data. It is used by the
| User Age... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/config/constants.php | api/application/config/constants.php | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| File and Directory Modes
|--------------------------------------------------------------------------
|
| These prefs are used when checking and setting modes when... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/api/application/language/english/form_validation_lang.php | api/application/language/english/form_validation_lang.php | <?php
$lang['required'] = '{"type": "required", "field": "%s"}';
$lang['isset'] = '{"type": "isset", "field": "%s"}';
$lang['valid_email'] = '{"type": "valid_email", "field": "%s"}';
$lang['valid_emails'] = '{"type": "valid_emails", "field": "%s"}';
$lang['valid_url'] = '{"type": "valid_url", "field": "%s"}';... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
rmcdaniel/angular-codeigniter-seed | https://github.com/rmcdaniel/angular-codeigniter-seed/blob/2c6abb968b7739680f0b5c29716dace74b0792e3/build/bootstrap.php | build/bootstrap.php | <?php
define('PHPUNIT_TEST', 1);
/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------------------------------------------
*
* You can load different configurations depending on your
* current environment. Setting the environment also influenc... | php | MIT | 2c6abb968b7739680f0b5c29716dace74b0792e3 | 2026-01-05T03:06:11.684635Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/.php-cs-fixer.php | .php-cs-fixer.php | <?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__ . '/src');
$config = new PhpCsFixer\Config();
return $config
->setRiskyAllowed(true)
->setRules(
[
'@PSR1' => true,
'@PSR2' => true,
'@PSR12' => true,
'@Symfony' => true,
'@Symfony:... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/src/CheckInjectableVersion.php | src/CheckInjectableVersion.php | <?php
declare(strict_types=1);
namespace DaveLiddament\PhpLanguageExtensions;
#[\Attribute(\Attribute::TARGET_METHOD)]
final class CheckInjectableVersion
{
}
| php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/src/Sealed.php | src/Sealed.php | <?php
declare(strict_types=1);
namespace DaveLiddament\PhpLanguageExtensions;
/**
* Limits the classes that can extend/implement to those listed in $permitted.
*/
#[\Attribute(\Attribute::TARGET_CLASS)]
final class Sealed
{
/** @param class-string ...$permitted */
public function __construct(
strin... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/src/RestrictTraitTo.php | src/RestrictTraitTo.php | <?php
declare(strict_types=1);
namespace DaveLiddament\PhpLanguageExtensions;
/**
* Enforces that the trait can only be used on the specified class, or children of that class.
*
* E.g. this trait is limited to classes that are or extend `Controller`
*
* ```
* #[RestrictTraitTo(Controller::class)]
* trait Cont... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/src/Override.php | src/Override.php | <?php
declare(strict_types=1);
namespace DaveLiddament\PhpLanguageExtensions;
/**
* Add to a method to indicate it is overriding a method in a parent class/interface.
*/
#[\Attribute(\Attribute::TARGET_METHOD)]
final class Override
{
public function __construct()
{
}
}
| php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/src/InjectableVersion.php | src/InjectableVersion.php | <?php
declare(strict_types=1);
namespace DaveLiddament\PhpLanguageExtensions;
#[\Attribute(\Attribute::TARGET_CLASS)]
final class InjectableVersion
{
}
| php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/src/TestTag.php | src/TestTag.php | <?php
declare(strict_types=1);
namespace DaveLiddament\PhpLanguageExtensions;
/**
* Add the TestTag attribute to a class or a method that should only be called by test code.
* Attempts to use or call from non-test code will raise an issue.
*/
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)]
fin... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/src/Friend.php | src/Friend.php | <?php
declare(strict_types=1);
namespace DaveLiddament\PhpLanguageExtensions;
/**
* Limits calling methods to those listed as the method's or class's friends.
*/
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)]
final class Friend
{
/** @param class-string ...$friends */
public function _... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/src/MustUseResult.php | src/MustUseResult.php | <?php
declare(strict_types=1);
namespace DaveLiddament\PhpLanguageExtensions;
/**
* Enforces that the result from a method call must be used.
*
* Assume the following class:
* ```
* class Money {
*
* public function __construct(public readonly int $pence)
* {}
*
* #[MustUseResult]
* public functio... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/src/NamespaceVisibility.php | src/NamespaceVisibility.php | <?php
declare(strict_types=1);
namespace DaveLiddament\PhpLanguageExtensions;
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)]
final class NamespaceVisibility
{
public function __construct(
?string $namespace = null,
bool $excludeSubNamespaces = false,
) {
}
}
| php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/src/Package.php | src/Package.php | <?php
declare(strict_types=1);
namespace DaveLiddament\PhpLanguageExtensions;
/**
* @deprecated use #[NamespaceVisibility]
* Limit calls to classes or methods with the Package attribute to calls from classes in the name namespace
*/
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)]
final class P... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnMethod.php | examples/namespaceVisibility/namespaceVisibilityOnMethod.php | <?php
declare(strict_types=1);
namespace NamespaceVisibilityOnMethod {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
class Person
{
#[NamespaceVisibility]
public function updateName(): void
{
}
public function update(): void
{
$... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnClass.php | examples/namespaceVisibility/namespaceVisibilityOnClass.php | <?php
declare(strict_types=1);
namespace NamespaceVisibilityOnClass {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
#[NamespaceVisibility]
class Person
{
public function updateName(): void
{
}
public function update(): void
{
$this... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityRulesIgnoredForTestClass.php | examples/namespaceVisibility/namespaceVisibilityRulesIgnoredForTestClass.php | <?php
declare(strict_types=1);
namespace NamespaceVisibilityRulesIgnoredForTestClass {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
#[NamespaceVisibility]
class Person
{
public function updateName(): void
{
}
}
}
namespace NamespaceVisibilityRulesIgnored... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnConstructor.php | examples/namespaceVisibility/namespaceVisibilityOnConstructor.php | <?php
namespace NamespaceVisibilityOnConstructor {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
class Person
{
#[NamespaceVisibility]
public function __construct()
{
}
public static function create(): Person
{
return new Person(... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnClassExcludeSubNamespaces.php | examples/namespaceVisibility/namespaceVisibilityOnClassExcludeSubNamespaces.php | <?php
declare(strict_types=1);
namespace NamespaceVisibilityOnClassExcludeSubNamespaces {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
#[NamespaceVisibility(excludeSubNamespaces: true)]
class Person
{
public function updateName(): void
{
}
}
}
namespac... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnMethodForDifferentNamespace.php | examples/namespaceVisibility/namespaceVisibilityOnMethodForDifferentNamespace.php | <?php
declare(strict_types=1);
namespace NamespaceVisibilityOnMethodForDifferentNamespace {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
class Person
{
#[NamespaceVisibility(namespace: 'NamespaceVisibilityOnMethodDifferentNamespace')]
public function updateName(): void
... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnConstructorForDifferentNamespaces.php | examples/namespaceVisibility/namespaceVisibilityOnConstructorForDifferentNamespaces.php | <?php
namespace NamespaceVisibilityOnConstructorForDifferentNamespaces {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
class Person
{
#[NamespaceVisibility(namespace: 'NamespaceVisibilityOnConstructorDifferentNamespace')]
public function __construct()
{
}
... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityRulesIgnoredForTestNamespace.php | examples/namespaceVisibility/namespaceVisibilityRulesIgnoredForTestNamespace.php | <?php
declare(strict_types=1);
namespace NamespaceVisibilityRulesIgnoredForTestNamespace {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
#[NamespaceVisibility]
class Person
{
public function updateName(): void
{
}
}
}
namespace NamespaceVisibilityRulesI... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnStaticMethod.php | examples/namespaceVisibility/namespaceVisibilityOnStaticMethod.php | <?php
namespace NamespaceVisibilityOnStaticMethod {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
class Person
{
#[NamespaceVisibility]
public static function updateName(): void
{
}
public static function update(): void
{
Person:... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnStaticMethodForDifferentNamespaces.php | examples/namespaceVisibility/namespaceVisibilityOnStaticMethodForDifferentNamespaces.php | <?php
namespace NamespaceVisibilityOnStaticMethodForDifferentNamespaces {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
class Person
{
#[NamespaceVisibility(namespace: 'NamespaceVisibilityOnStaticMethodDifferentNamespaces')]
public static function updateName(): void
... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnConstructorExcludeSubNamespaces.php | examples/namespaceVisibility/namespaceVisibilityOnConstructorExcludeSubNamespaces.php | <?php
namespace NamespaceVisibilityOnConstructorExcludeSubNamespaces {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
class Person
{
#[NamespaceVisibility(excludeSubNamespaces: true)]
public function __construct()
{
}
public static function create():... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnMethodExcludeSubNamespace.php | examples/namespaceVisibility/namespaceVisibilityOnMethodExcludeSubNamespace.php | <?php
declare(strict_types=1);
namespace NamespaceVisibilityOnMethodExcludeSubNamespace {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
class Person
{
#[NamespaceVisibility(excludeSubNamespaces: true)]
public function updateName(): void
{
}
public ... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnStaticMethodExcludeSubNamespaces.php | examples/namespaceVisibility/namespaceVisibilityOnStaticMethodExcludeSubNamespaces.php | <?php
namespace NamespaceVisibilityOnStaticMethodExcludeSubNamespaces {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
class Person
{
#[NamespaceVisibility(excludeSubNamespaces: true)]
public static function updateName(): void
{
}
}
}
namespace Namespa... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/namespaceVisibility/namespaceVisibilityOnClassForDifferentNamespaces.php | examples/namespaceVisibility/namespaceVisibilityOnClassForDifferentNamespaces.php | <?php
declare(strict_types=1);
namespace NamespaceVisibilityOnClassForDifferentNamespaces {
use DaveLiddament\PhpLanguageExtensions\NamespaceVisibility;
#[NamespaceVisibility(namespace: 'NamespaceVisibilityOnClassDifferentNamespace')]
class Person
{
public function updateName(): void
... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/injectableVersion/InjectableVersionOnExtendsThenImplements.php | examples/injectableVersion/InjectableVersionOnExtendsThenImplements.php | <?php
declare(strict_types=1);
namespace InjectableVersionOnExtendsThenImplements;
use DaveLiddament\PhpLanguageExtensions\InjectableVersion;
#[InjectableVersion]
interface Repository
{
}
class AbstractDoctrineRepository implements Repository
{
}
class DoctrineRepository extends AbstractDoctrineRepository
{
}
c... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/injectableVersion/MultipleLevelsOfInheritanceNoInjectableVersionOnClass.php | examples/injectableVersion/MultipleLevelsOfInheritanceNoInjectableVersionOnClass.php | <?php
declare(strict_types=1);
namespace MultipleLevelsOfInheritanceNoInjectableVersionOnClass;
class CorrectVersion
{
}
class FirstLevelOfInheritance extends CorrectVersion
{
}
class SecondLevelOfInheritance extends FirstLevelOfInheritance
{
}
class InjectingCorrectVersion
{
public function __construct(pu... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/injectableVersion/InjectableVersionOnClass.php | examples/injectableVersion/InjectableVersionOnClass.php | <?php
declare(strict_types=1);
namespace InjectableVersionOnClass;
use DaveLiddament\PhpLanguageExtensions\InjectableVersion;
#[InjectableVersion]
abstract class Repository
{
}
class DoctrineRepository extends Repository
{
}
class InjectingCorrectVersion
{
public function __construct(
public Reposito... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/injectableVersion/IterableInjectableVersion.php | examples/injectableVersion/IterableInjectableVersion.php | <?php
declare(strict_types=1);
namespace IterableInjectableVersion;
use DaveLiddament\PhpLanguageExtensions\InjectableVersion;
#[InjectableVersion]
abstract class Repository
{
}
class DoctrineRepository extends Repository
{
}
class InjectingCorrectVersion
{
/** @param Repository[] $repositories */
public... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/injectableVersion/InjectableVersionCheckOnMethod.php | examples/injectableVersion/InjectableVersionCheckOnMethod.php | <?php
declare(strict_types=1);
namespace InjectableVersionCheckOnMethod;
use DaveLiddament\PhpLanguageExtensions\CheckInjectableVersion;
use DaveLiddament\PhpLanguageExtensions\InjectableVersion;
#[InjectableVersion]
abstract class Repository
{
}
class DoctrineRepository extends Repository
{
}
class InjectingCorr... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/injectableVersion/MultipleLevelsOfInheritanceNoInjectableVersionOnInterface.php | examples/injectableVersion/MultipleLevelsOfInheritanceNoInjectableVersionOnInterface.php | <?php
declare(strict_types=1);
namespace MultipleLevelsOfInheritanceNoInjectableVersionOnInterface;
interface CorrectVersion
{
}
interface FirstLevelOfInheritance
{
}
class SecondLevelOfInheritance implements FirstLevelOfInheritance
{
}
class InjectingCorrectVersion
{
public function __construct(public Cor... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/injectableVersion/InjectableVersionOnInterface.php | examples/injectableVersion/InjectableVersionOnInterface.php | <?php
declare(strict_types=1);
namespace InjectableVersionOnInterface;
use DaveLiddament\PhpLanguageExtensions\InjectableVersion;
#[InjectableVersion]
interface Repository
{
}
interface DoctrineRepository extends Repository
{
}
class InjectingCorrectVersion
{
public function __construct(public Repository $re... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/injectableVersion/MultipleLevelsOfInheritanceInjectableVersionOnInterface.php | examples/injectableVersion/MultipleLevelsOfInheritanceInjectableVersionOnInterface.php | <?php
declare(strict_types=1);
namespace MultipleLevelsOfInheritanceOnInjectableVersionOnInterface;
use DaveLiddament\PhpLanguageExtensions\InjectableVersion;
#[InjectableVersion]
interface CorrectVersion
{
}
interface FirstLevelOfInheritance extends CorrectVersion
{
}
class SecondLevelOfInheritance implements F... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/injectableVersion/InjectableVersionRulesIgnoredForTestNamespace.php | examples/injectableVersion/InjectableVersionRulesIgnoredForTestNamespace.php | <?php
declare(strict_types=1);
namespace InjectableVersionRulesIgnoredForTestNamespace {
use DaveLiddament\PhpLanguageExtensions\InjectableVersion;
#[InjectableVersion]
interface Repository
{
}
}
namespace InjectableVersionRulesIgnoredForTestNamespace\Test {
use InjectableVersionRulesIgno... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagOnConstructorIgnoredInTestClass.php | examples/testTag/testTagOnConstructorIgnoredInTestClass.php | <?php
namespace TestTagOnConstructorIgnoredInTestClass;
use DaveLiddament\PhpLanguageExtensions\TestTag;
class Person
{
#[TestTag]
public function __construct()
{
}
}
class PersonTest
{
public function buildPerson(): Person
{
return new Person(); // OK TetTag called from a test class... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagOnMethodIgnoredInTestNamespace.php | examples/testTag/testTagOnMethodIgnoredInTestNamespace.php | <?php
declare(strict_types=1);
namespace TestTagOnMethodIgnoredInTestNamespace {
use DaveLiddament\PhpLanguageExtensions\TestTag;
class Person
{
#[TestTag]
public function updateName(): void
{
}
}
}
namespace TestTagOnMethodIgnoredInTestNamespace\Test {
use Tes... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagClassOnStaticMethod.php | examples/testTag/testTagClassOnStaticMethod.php | <?php
namespace TestTagClassOnStaticMethod;
use DaveLiddament\PhpLanguageExtensions\TestTag;
#[TestTag]
class Person
{
public static function updateName(): void
{
}
public static function update(): void
{
Person::updateName(); // OK - whole class is marked with TestTag, so OK to call me... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagClassOnConstructor.php | examples/testTag/testTagClassOnConstructor.php | <?php
namespace TestTagClassOnConstructor;
use DaveLiddament\PhpLanguageExtensions\TestTag;
#[TestTag]
class Person
{
public function __construct()
{
}
public static function create(): Person
{
return new Person(); // OK - whole class is marked with TestTag, so OK to call methods within ... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagOnConstructor.php | examples/testTag/testTagOnConstructor.php | <?php
namespace TestTagOnConstructor;
use DaveLiddament\PhpLanguageExtensions\TestTag;
class Person
{
#[TestTag]
public function __construct()
{
}
public static function create(): Person
{
return new Person(); // ERROR
}
public static function createSelf(): self
{
... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagOnStaticMethodIgnoredInTestNamespace.php | examples/testTag/testTagOnStaticMethodIgnoredInTestNamespace.php | <?php
namespace TestTagOnStaticMethodIgnoredInTestNamepace {
use DaveLiddament\PhpLanguageExtensions\TestTag;
class Person
{
#[TestTag]
public static function updateName(): void
{
}
}
}
namespace TestTagOnStaticMethodIgnoredInTestNamepace\Test {
use TestTagOnSta... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagClassOnMethod.php | examples/testTag/testTagClassOnMethod.php | <?php
declare(strict_types=1);
namespace TestTagClassOnMethod;
use DaveLiddament\PhpLanguageExtensions\TestTag;
#[TestTag]
class Person
{
public function updateName(): void
{
}
public function update(): void
{
$this->updateName(); // OK - whole class is marked with TestTag, so OK to cal... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagOnStaticMethodIgnoredInTestClass.php | examples/testTag/testTagOnStaticMethodIgnoredInTestClass.php | <?php
namespace TestTagOnStaticMethodIgnoredInTestClass;
use DaveLiddament\PhpLanguageExtensions\TestTag;
class Person
{
#[TestTag]
public static function updateName(): void
{
}
}
class PersonTest
{
public function updater(): void
{
Person::updateName(); // OK - Called from a test c... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagClassOnStaticMethodIgnoredInTestClass.php | examples/testTag/testTagClassOnStaticMethodIgnoredInTestClass.php | <?php
namespace TestTagClassOnStaticMethodIgnoredInTestClass;
use DaveLiddament\PhpLanguageExtensions\TestTag;
#[TestTag]
class Person
{
public static function updateName(): void
{
}
}
class PersonTest
{
public function updater(): void
{
Person::updateName(); // OK - Called from a test ... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagClassOnConstructorIgnoredInTestClass.php | examples/testTag/testTagClassOnConstructorIgnoredInTestClass.php | <?php
namespace TestTagClassOnConstructorIgnoredInTestClass;
use DaveLiddament\PhpLanguageExtensions\TestTag;
#[TestTag]
class Person
{
public function __construct()
{
}
}
class PersonTest
{
public function buildPerson(): Person
{
return new Person(); // OK TetTag called from a test clas... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagOnMethod.php | examples/testTag/testTagOnMethod.php | <?php
declare(strict_types=1);
namespace TestTagOnMethod;
use DaveLiddament\PhpLanguageExtensions\TestTag;
class Person
{
#[TestTag]
public function updateName(): void
{
}
public function update(): void
{
$this->updateName(); // ERROR
}
}
class Updater
{
public function upd... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagOnConstructorIgnoredInTestNamespace.php | examples/testTag/testTagOnConstructorIgnoredInTestNamespace.php | <?php
namespace TestTagOnConstructorIgnoredInTestNamespace {
use DaveLiddament\PhpLanguageExtensions\TestTag;
class Person
{
#[TestTag]
public function __construct()
{
}
}
}
namespace TestTagOnConstructorIgnoredInTestNamespace\Test {
use TestTagOnConstructorIgn... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagClassOnMethodIgnoredInTestClass.php | examples/testTag/testTagClassOnMethodIgnoredInTestClass.php | <?php
declare(strict_types=1);
namespace TestTagClassOnMethodIgnoredInTestClass;
use DaveLiddament\PhpLanguageExtensions\TestTag;
#[TestTag]
class Person
{
public function updateName(): void
{
}
}
class PersonTest
{
public function updater(Person $person): void
{
$person->updateName(); ... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagOnStaticMethod.php | examples/testTag/testTagOnStaticMethod.php | <?php
namespace TestTagOnStaticMethod;
use DaveLiddament\PhpLanguageExtensions\TestTag;
class Person
{
#[TestTag]
public static function updateName(): void
{
}
public static function update(): void
{
Person::updateName(); // ERROR
}
public static function updateSelf(): void... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/testTag/testTagOnMethodIgnoredInTestClass.php | examples/testTag/testTagOnMethodIgnoredInTestClass.php | <?php
declare(strict_types=1);
namespace TestTagOnMethodIgnoredInTestClass;
use DaveLiddament\PhpLanguageExtensions\TestTag;
class Person
{
#[TestTag]
public function updateName(): void
{
}
}
class PersonTest
{
public function updater(Person $person): void
{
$person->updateName(); ... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/sealed/sealedInterfaces.php | examples/sealed/sealedInterfaces.php | <?php
declare(strict_types=1);
namespace SealedInterfaces;
use DaveLiddament\PhpLanguageExtensions\Sealed;
class Success implements Response // OK
{
}
class Failed implements Response // OK
{
}
#[Sealed(Success::class, Failed::class)]
interface Response
{
}
class AnotherClass implements Response // ERROR Anothe... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
DaveLiddament/php-language-extensions | https://github.com/DaveLiddament/php-language-extensions/blob/d4e5a2095026ea471b9581ffcc12a141b7871a0a/examples/sealed/sealedClasses.php | examples/sealed/sealedClasses.php | <?php
declare(strict_types=1);
namespace SealedClasses;
use DaveLiddament\PhpLanguageExtensions\Sealed;
class Success extends Response // OK
{
}
class Failed extends Response // OK
{
}
#[Sealed(Success::class, Failed::class)]
class Response
{
}
class AnotherClass extends Response // ERROR AnotherClass can not e... | php | MIT | d4e5a2095026ea471b9581ffcc12a141b7871a0a | 2026-01-05T03:06:24.046028Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.