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
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/WxappPage.php
source/application/common/model/WxappPage.php
<?php namespace app\common\model; /** * 微信小程序diy页面模型 * Class WxappPage * @package app\common\model */ class WxappPage extends BaseModel { protected $name = 'wxapp_page'; /** * 格式化页面数据 * @param $json * @return array */ public function getPageDataAttr($json) { $array = j...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/Wxapp.php
source/application/common/model/Wxapp.php
<?php namespace app\common\model; use app\common\exception\BaseException; use think\Cache; use think\Db; /** * 微信小程序模型 * Class Wxapp * @package app\common\model */ class Wxapp extends BaseModel { protected $name = 'wxapp'; /** * 小程序导航 * @return \think\model\relation\HasOne */ public f...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/UserAddress.php
source/application/common/model/UserAddress.php
<?php namespace app\common\model; /** * 用户收货地址模型 * Class UserAddress * @package app\common\model */ class UserAddress extends BaseModel { protected $name = 'user_address'; /** * 追加字段 * @var array */ protected $append = ['region']; /** * 地区名称 * @param $value * @param...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/Category.php
source/application/common/model/Category.php
<?php namespace app\common\model; use think\Cache; /** * 商品分类模型 * Class Category * @package app\common\model */ class Category extends BaseModel { protected $name = 'category'; /** * 分类图片 * @return \think\model\relation\HasOne */ public function image() { return $this->has...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/Delivery.php
source/application/common/model/Delivery.php
<?php namespace app\common\model; use think\Request; /** * 配送模板模型 * Class Delivery * @package app\common\model */ class Delivery extends BaseModel { protected $name = 'delivery'; /** * 关联配送模板区域及运费 * @return \think\model\relation\HasMany */ public function rule() { return $...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/Spec.php
source/application/common/model/Spec.php
<?php namespace app\common\model; /** * 规格/属性(组)模型 * Class Spec * @package app\common\model */ class Spec extends BaseModel { protected $name = 'spec'; protected $updateTime = false; }
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/WxappHelp.php
source/application/common/model/WxappHelp.php
<?php namespace app\common\model; /** * 小程序帮助中心 * Class WxappHelp * @package app\common\model */ class WxappHelp extends BaseModel { protected $name = 'wxapp_help'; /** * 获取帮助列表 * @return false|\PDOStatement|string|\think\Collection * @throws \think\db\exception\DataNotFoundException ...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/WxappNavbar.php
source/application/common/model/WxappNavbar.php
<?php namespace app\common\model; /** * 微信小程序导航栏模型 * Class WxappNavbar * @package app\common\model */ class WxappNavbar extends BaseModel { protected $name = 'wxapp_navbar'; /** * 顶部导航文字颜色 * @param $value * @return array */ public function getTopTextColorAttr($value) { ...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/BaseModel.php
source/application/common/model/BaseModel.php
<?php namespace app\common\model; use think\Model; use think\Request; use think\Session; /** * 模型基类 * Class BaseModel * @package app\common\model */ class BaseModel extends Model { public static $wxapp_id; public static $base_url; /** * 模型基类初始化 */ public static function init() { ...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/GoodsSpec.php
source/application/common/model/GoodsSpec.php
<?php namespace app\common\model; /** * 商品规格模型 * Class GoodsSpec * @package app\common\model */ class GoodsSpec extends BaseModel { protected $name = 'goods_spec'; }
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/DeliveryRule.php
source/application/common/model/DeliveryRule.php
<?php namespace app\common\model; /** * 配送模板区域及运费模型 * Class DeliveryRule * @package app\store\model */ class DeliveryRule extends BaseModel { protected $name = 'delivery_rule'; protected $updateTime = false; }
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/UploadFileUsed.php
source/application/common/model/UploadFileUsed.php
<?php namespace app\common\model; /** * 已上传文件使用记录表MO型 * Class UploadFileUsed * @package app\common\model */ class UploadFileUsed extends BaseModel { protected $name = 'upload_file_used'; }
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/Setting.php
source/application/common/model/Setting.php
<?php namespace app\common\model; use think\Cache; /** * 系统设置模型 * Class Setting * @package app\common\model */ class Setting extends BaseModel { protected $name = 'setting'; protected $createTime = false; /** * 获取器: 转义数组格式 * @param $value * @return mixed */ public function ge...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/OrderAddress.php
source/application/common/model/OrderAddress.php
<?php namespace app\common\model; /** * 订单收货地址模型 * Class OrderAddress * @package app\common\model */ class OrderAddress extends BaseModel { protected $name = 'order_address'; protected $updateTime = false; /** * 追加字段 * @var array */ protected $append = ['region']; /** * 地...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/UploadGroup.php
source/application/common/model/UploadGroup.php
<?php namespace app\common\model; /** * 文件库分组模型 * Class UploadGroup * @package app\common\model */ class UploadGroup extends BaseModel { protected $name = 'upload_group'; /** * 分组详情 * @param $group_id * @return null|static * @throws \think\exception\DbException */ public stat...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/StoreUser.php
source/application/common/model/StoreUser.php
<?php namespace app\common\model; /** * 商家用户模型 * Class StoreUser * @package app\common\model */ class StoreUser extends BaseModel { protected $name = 'store_user'; /** * 关联微信小程序表 * @return \think\model\relation\BelongsTo */ public function wxapp() { return $this->belongsTo('Wxa...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/Goods.php
source/application/common/model/Goods.php
<?php namespace app\common\model; use think\Request; /** * 商品模型 * Class Goods * @package app\common\model */ class Goods extends BaseModel { protected $name = 'goods'; protected $append = ['goods_sales']; /** * 计算显示销量 (初始销量 + 实际销量) * @param $value * @param $data * @return mixed ...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/OrderGoods.php
source/application/common/model/OrderGoods.php
<?php namespace app\common\model; /** * 订单商品模型 * Class OrderGoods * @package app\common\model */ class OrderGoods extends BaseModel { protected $name = 'order_goods'; protected $updateTime = false; /** * 订单商品列表 * @return \think\model\relation\BelongsTo */ public function image() ...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/model/GoodsImage.php
source/application/common/model/GoodsImage.php
<?php namespace app\common\model; /** * 商品图片模型 * Class GoodsImage * @package app\common\model */ class GoodsImage extends BaseModel { protected $name = 'goods_image'; protected $updateTime = false; /** * 关联文件库 * @return \think\model\relation\BelongsTo */ public function file() ...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/exception/ExceptionHandler.php
source/application/common/exception/ExceptionHandler.php
<?php namespace app\common\exception; use think\exception\Handle; use think\Log; use Exception; /** * 重写Handle的render方法,实现自定义异常消息 * Class ExceptionHandler * @package app\common\library\exception */ class ExceptionHandler extends Handle { private $code; private $message; /** * 输出异常信息 * @par...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/exception/BaseException.php
source/application/common/exception/BaseException.php
<?php namespace app\common\exception; use think\Exception; /** * Class BaseException * 自定义异常类的基类 */ class BaseException extends Exception { public $code = 0; public $message = 'invalid parameters'; /** * 构造函数,接收一个关联数组 * @param array $params 关联数组只应包含code、msg,且不应该是空值 */ public functi...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/library/helper.php
source/application/common/library/helper.php
<?php namespace app\common\library; /** * 工具类 * Class helper * @package app\common\library */ class helper { /** * 获取数组中指定的列 * @param $source * @param $column * @return array */ public static function getArrayColumn($source, $column) { $columnArr = []; foreach ...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/library/storage/Driver.php
source/application/common/library/storage/Driver.php
<?php namespace app\common\library\storage; use think\Exception; /** * 存储模块驱动 * Class driver * @package app\common\library\storage */ class Driver { private $config; // upload 配置 private $engine; // 当前存储引擎类 /** * 构造方法 * Driver constructor. * @param $config * @throws Excepti...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/library/storage/engine/Qiniu.php
source/application/common/library/storage/engine/Qiniu.php
<?php namespace app\common\library\storage\engine; use Qiniu\Auth; use Qiniu\Storage\UploadManager; /** * 七牛云存储引擎 * Class Qiniu * @package app\common\library\storage\engine */ class Qiniu extends Server { private $config; /** * 构造方法 * Qiniu constructor. * @param $config * @throws \th...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/library/storage/engine/Local.php
source/application/common/library/storage/engine/Local.php
<?php namespace app\common\library\storage\engine; /** * 本地文件驱动 * Class Local * @package app\common\library\storage\drivers */ class Local extends Server { public function __construct() { parent::__construct(); } /** * 上传图片文件 * @return array|bool */ public function uplo...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/library/storage/engine/Server.php
source/application/common/library/storage/engine/Server.php
<?php namespace app\common\library\storage\engine; use think\Exception; use think\Request; /** * 存储引擎抽象类 * Class server * @package app\common\library\storage\drivers */ abstract class Server { protected $file; protected $error; protected $fileName; protected $fileInfo; /** * 构造函数 *...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/library/wechat/WxUser.php
source/application/common/library/wechat/WxUser.php
<?php namespace app\common\library\wechat; /** * 微信小程序用户管理类 * Class WxUser * @package app\common\library\wechat */ class WxUser { private $appId; private $appSecret; private $error; /** * 构造方法 * WxUser constructor. * @param $appId * @param $appSecret */ public functi...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/library/wechat/WxPay.php
source/application/common/library/wechat/WxPay.php
<?php namespace app\common\library\wechat; use app\common\model\Wxapp as WxappModel; use app\task\model\Setting as SettingModel; use app\common\library\sms\Driver as SmsDriver; use app\common\exception\BaseException; /** * 微信支付 * Class WxPay * @package app\common\library\wechat */ class WxPay { private $conf...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/library/sms/Driver.php
source/application/common/library/sms/Driver.php
<?php namespace app\common\library\sms; use think\Exception; /** * 短信通知模块驱动 * Class driver * @package app\common\library\sms */ class Driver { private $config; // 配置信息 private $engine; // 当前短信引擎类 private $engineName; // 当前短信引擎名称 /** * 构造方法 * Driver constructor. * @param $...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/library/sms/package/aliyun/SignatureHelper.php
source/application/common/library/sms/package/aliyun/SignatureHelper.php
<?php namespace app\common\library\sms\package\aliyun; /** * 签名助手 2017/11/19 * * Class SignatureHelper */ class SignatureHelper { /** * 生成签名并发起请求 * * @param $accessKeyId string AccessKeyId (https://ak-console.aliyun.com/) * @param $accessKeySecret string AccessKeySecret * @param $doma...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/library/sms/engine/Aliyun.php
source/application/common/library/sms/engine/Aliyun.php
<?php namespace app\common\library\sms\engine; use app\common\library\sms\package\aliyun\SignatureHelper; /** * 阿里云短信模块引擎 * Class Aliyun * @package app\common\library\sms\engine */ class Aliyun extends Server { private $config; /** * 构造方法 * Qiniu constructor. * @param $config */ ...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/common/library/sms/engine/Server.php
source/application/common/library/sms/engine/Server.php
<?php namespace app\common\library\sms\engine; abstract class Server { protected $error; /** * 返回错误信息 * @return mixed */ public function getError() { return $this->error; } }
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/task/controller/Notify.php
source/application/task/controller/Notify.php
<?php namespace app\task\controller; use app\task\model\Order as OrderModel; use app\common\library\wechat\WxPay; /** * 支付成功异步通知接口 * Class Notify * @package app\api\controller */ class Notify { /** * 支付成功异步通知 * @throws \think\Exception * @throws \think\exception\DbException */ public ...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/task/model/Order.php
source/application/task/model/Order.php
<?php namespace app\task\model; use app\common\model\Order as OrderModel; use think\Db; /** * 订单模型 * Class Order * @package app\common\model */ class Order extends OrderModel { /** * 待支付订单详情 * @param $order_no * @return null|static * @throws \think\exception\DbException */ public...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/task/model/GoodsSpec.php
source/application/task/model/GoodsSpec.php
<?php namespace app\task\model; use app\common\model\GoodsSpec as GoodsSpecModel; /** * 商品规格模型 * Class GoodsSpec * @package app\task\model */ class GoodsSpec extends GoodsSpecModel { }
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/task/model/Setting.php
source/application/task/model/Setting.php
<?php namespace app\task\model; use app\common\model\Setting as SettingModel; /** * 系统设置模型 * Class Wxapp * @package app\task\model */ class Setting extends SettingModel { }
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/task/model/Goods.php
source/application/task/model/Goods.php
<?php namespace app\task\model; use app\common\model\Goods as GoodsModel; /** * 商品模型 * Class Goods * @package app\task\model */ class Goods extends GoodsModel { /** * 更新商品库存销量 * @param $goodsList * @throws \Exception */ public function updateStockSales($goodsList) { // 整理批...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/task/model/OrderGoods.php
source/application/task/model/OrderGoods.php
<?php namespace app\task\model; use app\common\model\OrderGoods as OrderGoodsModel; /** * 订单商品模型 * Class OrderGoods * @package app\task\model */ class OrderGoods extends OrderGoodsModel { }
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/source/application/task/behavior/Order.php
source/application/task/behavior/Order.php
<?php namespace app\task\behavior; use think\Db; use think\Cache; use app\task\model\Setting; use app\task\model\Order as OrderModel; /** * 订单行为管理 * Class Order * @package app\task\behavior */ class Order { /* @var \app\task\model\Order $model */ private $model; /** * 执行函数 * @param $model ...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/web/notice.php
web/notice.php
<?php // [ 支付通知入口文件 ] // 手动定义路由 $_GET['s'] = '/task/notify/order'; // 定义运行目录 define('WEB_PATH', __DIR__ . '/'); // 定义应用目录 define('APP_PATH', WEB_PATH . '../source/application/'); // 加载框架引导文件 require APP_PATH . '../thinkphp/start.php';
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
yiovo/yoshop
https://github.com/yiovo/yoshop/blob/a000ef567e95d58e2af1f991a0e32de661ff8736/web/index.php
web/index.php
<?php // [ 应用入口文件 ] // 检测PHP版本 if (version_compare(PHP_VERSION, '5.4.0', '<')) die('require PHP > 5.4.0 !'); if (version_compare(PHP_VERSION, '7.4.0', '>=')) die('require PHP < 7.4.0 !'); // 定义运行目录 define('WEB_PATH', __DIR__ . '/'); // 定义应用目录 define('APP_PATH', WEB_PATH . '../source/application/'); // 加载框架引导文件 req...
php
Apache-2.0
a000ef567e95d58e2af1f991a0e32de661ff8736
2026-01-05T02:33:43.520669Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/.phpstorm.meta.php
.phpstorm.meta.php
<?php namespace PHPSTORM_META { // Reflect override(\Psr\Container\ContainerInterface::get(0), map('@')); }
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/publish/auth.php
publish/auth.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ use Qbhy\SimpleJw...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/ConfigProvider.php
src/ConfigProvider.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/HyperfRedisCache.php
src/HyperfRedisCache.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/AuthManager.php
src/AuthManager.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/AuthAspect.php
src/AuthAspect.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/AuthGuard.php
src/AuthGuard.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/UserProvider.php
src/UserProvider.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/AuthExceptionHandler.php
src/AuthExceptionHandler.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/AuthAbility.php
src/AuthAbility.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Authenticatable.php
src/Authenticatable.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/helper.php
src/helper.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ use Hyperf\Contex...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/AuthMiddleware.php
src/AuthMiddleware.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/AuthCommand.php
src/AuthCommand.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Annotation/Auth.php
src/Annotation/Auth.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Guard/JwtGuard.php
src/Guard/JwtGuard.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Guard/SessionGuard.php
src/Guard/SessionGuard.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Guard/AbstractAuthGuard.php
src/Guard/AbstractAuthGuard.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Guard/SsoGuard.php
src/Guard/SsoGuard.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Exception/UnauthorizedException.php
src/Exception/UnauthorizedException.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Exception/UserProviderException.php
src/Exception/UserProviderException.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Exception/GuardException.php
src/Exception/GuardException.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Exception/AuthException.php
src/Exception/AuthException.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Provider/EloquentProvider.php
src/Provider/EloquentProvider.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Provider/AbstractUserProvider.php
src/Provider/AbstractUserProvider.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/src/Events/ForcedOfflineEvent.php
src/Events/ForcedOfflineEvent.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace Qbhy\Hy...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/tests/DemoUser.php
tests/DemoUser.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace HyperfT...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/tests/bootstrap.php
tests/bootstrap.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ use Doctrine\Comm...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/tests/Cases/AbstractTestCase.php
tests/Cases/AbstractTestCase.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace HyperfT...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
qbhy/hyperf-auth
https://github.com/qbhy/hyperf-auth/blob/839a6a813900208357866d9f6e34e497ff8b7e51/tests/Cases/ExampleTest.php
tests/Cases/ExampleTest.php
<?php declare(strict_types=1); /** * This file is part of qbhy/hyperf-auth. * * @link https://github.com/qbhy/hyperf-auth * @document https://github.com/qbhy/hyperf-auth/blob/master/README.md * @contact qbhy0715@qq.com * @license https://github.com/qbhy/hyperf-auth/blob/master/LICENSE */ namespace HyperfT...
php
MIT
839a6a813900208357866d9f6e34e497ff8b7e51
2026-01-05T02:33:57.764170Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/server.php
server.php
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylorotwell@gmail.com> */ $uri = urldecode( parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ); // This file allows us to emulate Apache's "mod_rewrite" functionality from the // built-in PHP web server....
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Student.php
Student/Student.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:28 */ namespace Student; class Student extends \Domain\Student\Student { protected $fillable = ['cellphone']; }
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Schedule/Schedule.php
Student/Schedule/Schedule.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:35 */ namespace Student\Schedule; class Schedule extends \Domain\Schedule\Schedule { protected $visible = ['name', 'start', 'end'];...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Classroom/ClassroomRepository.php
Student/Classroom/ClassroomRepository.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:33 */ namespace Student\Classroom; use App\Exceptions\RepositoryException; use Auth; use Illuminate\Database\Eloquent\Model; class Cla...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Classroom/Classroom.php
Student/Classroom/Classroom.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:32 */ namespace Student\Classroom; use Student\Matter\Matter; use Student\Schedule\Schedule; class Classroom extends \Domain\Classroom...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Classroom/Http/ClassroomController.php
Student/Classroom/Http/ClassroomController.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:34 */ namespace Student\Classroom\Http; use Domain\Http\Controllers\AbstractController; use Student\Classroom\ClassroomRepository as Re...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Matter/Matter.php
Student/Matter/Matter.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:34 */ namespace Student\Matter; class Matter extends \Domain\Matter\Matter { protected $visible = ['name', 'workload']; }
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Teacher/TeacherRepository.php
Student/Teacher/TeacherRepository.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:36 */ namespace Student\Teacher; use Auth; class TeacherRepository extends \Domain\Teacher\TeacherRepository { public function mod...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Teacher/Teacher.php
Student/Teacher/Teacher.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:35 */ namespace Student\Teacher; class Teacher extends \Domain\Teacher\Teacher { /** * The attributes that should be hidden fo...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Teacher/Http/TeacherController.php
Student/Teacher/Http/TeacherController.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:37 */ namespace Student\Teacher\Http; use Domain\Http\Controllers\AbstractController; use Student\Teacher\TeacherRepository as Reposito...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Billet/BilletRepository.php
Student/Billet/BilletRepository.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:32:35 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:29 */ namespace Student\Billet; use App\Exceptions\RepositoryException; use Auth; use Exception; use Illuminate\Container\Container as ...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Billet/Billet.php
Student/Billet/Billet.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-04-26 07:24:17 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:29 */ namespace Student\Billet; class Billet extends \Domain\Billet\Billet { protected $fillable = ['new_due_date']; }
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Billet/Http/BilletController.php
Student/Billet/Http/BilletController.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:39:27 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:30 */ namespace Student\Billet\Http; use Domain\Billet\GenerateBilletService; use Domain\Http\Controllers\AbstractController; use Domai...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/Student/Billet/Http/Requests/UpdateRequest.php
Student/Billet/Http/Requests/UpdateRequest.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:32:35 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:31 */ namespace Student\Billet\Http\Requests; use Domain\Billet\BilletAssignor; use Student\Http\Requests\Request; class UpdateRequest...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Jobs/Job.php
app/Jobs/Job.php
<?php namespace App\Jobs; use Illuminate\Bus\Queueable; abstract class Job { /* |-------------------------------------------------------------------------- | Queueable Jobs |-------------------------------------------------------------------------- | | This job base class provides a central l...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Exceptions/Handler.php
app/Exceptions/Handler.php
<?php namespace App\Exceptions; use Exception; use Illuminate\Validation\ValidationException; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Database\Eloquent\ModelNotFoundException; use Symfony\Component\HttpKernel\Exception\HttpException; use Illuminate\Foundation\Exceptions\Handler as ExceptionH...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Exceptions/RepositoryException.php
app/Exceptions/RepositoryException.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:32:35 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:38 */ namespace App\Exceptions; use Exception; /** * Repository Exception. * * @author Leandro Henrique <emtudo@gmail.com> */ clas...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Helpers/Helpers.php
app/Helpers/Helpers.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-06 19:24:57 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:52:39 */ function calculateInterest($value, $days, $percent) { return round($value * (1 + ((($percent / 30) * $days) / 100)), 2); } fun...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Http/routes.php
app/Http/routes.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:32:35 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:21 */ /* Event::listen('illuminate.query', function ($sql, $p) { print_r($sql); echo '<br>'; echo '<br>'; print_r($p); echo '<br>'; echo...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Http/Kernel.php
app/Http/Kernel.php
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Http/Controllers/Controller.php
app/Http/Controllers/Controller.php
<?php namespace App\Http\Controllers; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Routing\Controller as LaravelController; class Controller extends LaravelController { use Authorizes...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Http/Controllers/SampleCrudController.php
app/Http/Controllers/SampleCrudController.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-04-24 19:33:47 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:22 */ namespace App\Http\Controllers; use App\Http\Controllers\Traits\CrudTrait; use App\Http\Requests\Sample\DeleteRequest; use App\Ht...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Http/Controllers/Auth/AuthController.php
app/Http/Controllers/Auth/AuthController.php
<?php namespace App\Http\Controllers\Auth; use App\User; use Validator; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ThrottlesLogins; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; class AuthController extends Controller { /* |-------------------------------------------...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Http/Controllers/Auth/PasswordController.php
app/Http/Controllers/Auth/PasswordController.php
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; class PasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |-------------------...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Http/Middleware/Authenticate.php
app/Http/Middleware/Authenticate.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class Authenticate { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null $guard * @return mixed */ public fun...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Http/Middleware/RedirectIfAuthenticated.php
app/Http/Middleware/RedirectIfAuthenticated.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null $guard * @return mixed */ ...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Http/Middleware/Employee.php
app/Http/Middleware/Employee.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:23 */ namespace App\Http\Middleware; use Closure; use Domain\Employee\Employee as ModelEmployee; use Illuminate\Support\Facades\Auth; ...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Http/Middleware/Student.php
app/Http/Middleware/Student.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:23 */ namespace App\Http\Middleware; use Closure; use Domain\Student\Student as ModelStudent; use Illuminate\Support\Facades\Auth; cla...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/app/Http/Middleware/Teacher.php
app/Http/Middleware/Teacher.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-11 10:30:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:24 */ namespace App\Http\Middleware; use Closure; use Domain\Teacher\Teacher as ModelTeacher; use Illuminate\Support\Facades\Auth; cla...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false