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
hasinhayder/tyro-login
https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/partials/shadcn-theme.blade.php
resources/views/partials/shadcn-theme.blade.php
<style> /* ============================================ SHADCN UI THEME VARIABLES Customize these variables to match your brand Compatible with shadcn/ui theming ============================================ */ :root { /* Base radius for components */ --radius: 0.625...
php
MIT
819729cf91d7cc025c48d470edc57311ff58d1ba
2026-01-05T04:19:41.505299Z
false
hasinhayder/tyro-login
https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/partials/social-login.blade.php
resources/views/partials/social-login.blade.php
@php $enabledProviders = \HasinHayder\TyroLogin\Http\Controllers\SocialAuthController::getEnabledProviders(); $dividerText = config('tyro-login.social.divider_text', 'Or continue with'); @endphp @if (count($enabledProviders) > 0) <div class="social-login-container"> <div class="social-divider"> <span>{{ $d...
php
MIT
819729cf91d7cc025c48d470edc57311ff58d1ba
2026-01-05T04:19:41.505299Z
false
hasinhayder/tyro-login
https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/partials/styles.blade.php
resources/views/partials/styles.blade.php
{{-- Include shadcn theme variables --}} @include('tyro-login::partials.shadcn-theme') <style> *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubunt...
php
MIT
819729cf91d7cc025c48d470edc57311ff58d1ba
2026-01-05T04:19:41.505299Z
false
hasinhayder/tyro-login
https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/partials/social-icons.blade.php
resources/views/partials/social-icons.blade.php
@switch($icon) @case('google') <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" fill="#4285F4" /> <path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66...
php
MIT
819729cf91d7cc025c48d470edc57311ff58d1ba
2026-01-05T04:19:41.505299Z
false
hasinhayder/tyro-login
https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/layouts/auth.blade.php
resources/views/layouts/auth.blade.php
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="light"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="color-scheme" content="light dark"> <titl...
php
MIT
819729cf91d7cc025c48d470edc57311ff58d1ba
2026-01-05T04:19:41.505299Z
false
Nesseref/nginx-rtmp-auth
https://github.com/Nesseref/nginx-rtmp-auth/blob/602f4f390c603105ac758910207cf76c261e3ec3/php/logout.php
php/logout.php
<?php include "common.php"; session_start(); session_unset(); session_destroy(); header("location: index.html"); ?>
php
MIT
602f4f390c603105ac758910207cf76c261e3ec3
2026-01-05T04:19:51.200671Z
false
Nesseref/nginx-rtmp-auth
https://github.com/Nesseref/nginx-rtmp-auth/blob/602f4f390c603105ac758910207cf76c261e3ec3/php/showhash.php
php/showhash.php
<?php include "common.php"; session_start(); try { $dbh = new PDO('mysql:host='.$host.';dbname='.$dbname.';charset=utf8', $username, $password); } catch(PDOException $e) { http_response_code(401); trigger_error($e->getMessage()); die("Database error!"); } if (empty($_SESSION["username"])) { header("location: log...
php
MIT
602f4f390c603105ac758910207cf76c261e3ec3
2026-01-05T04:19:51.200671Z
false
Nesseref/nginx-rtmp-auth
https://github.com/Nesseref/nginx-rtmp-auth/blob/602f4f390c603105ac758910207cf76c261e3ec3/php/common.php
php/common.php
<?php $host = ""; $username = ""; $password = ""; $dbname = ""; $usertablename = ""; $streamurl = ""; $baseurl = ""; function genkey() { return bin2hex(openssl_random_pseudo_bytes(10)); } ?>
php
MIT
602f4f390c603105ac758910207cf76c261e3ec3
2026-01-05T04:19:51.200671Z
false
Nesseref/nginx-rtmp-auth
https://github.com/Nesseref/nginx-rtmp-auth/blob/602f4f390c603105ac758910207cf76c261e3ec3/php/reg.php
php/reg.php
<?php include "common.php"; try { $dbh = new PDO('mysql:host='.$host.';dbname='.$dbname.';charset=utf8', $username, $password); } catch(PDOException $e) { http_response_code(401); trigger_error($e->getMessage()); die("Database error!"); } if (empty($_POST["username"]) || empty($_POST["email"]) || empty($_POST["pa...
php
MIT
602f4f390c603105ac758910207cf76c261e3ec3
2026-01-05T04:19:51.200671Z
false
Nesseref/nginx-rtmp-auth
https://github.com/Nesseref/nginx-rtmp-auth/blob/602f4f390c603105ac758910207cf76c261e3ec3/php/login.php
php/login.php
<?php include "common.php"; try { $dbh = new PDO('mysql:host='.$host.';dbname='.$dbname.';charset=utf8', $username, $password); } catch(PDOException $e) { http_response_code(401); trigger_error($e->getMessage()); die("Database error!"); } $login_username=isset($_POST["username"])?(string)$_POST["username"]:''; $l...
php
MIT
602f4f390c603105ac758910207cf76c261e3ec3
2026-01-05T04:19:51.200671Z
false
Nesseref/nginx-rtmp-auth
https://github.com/Nesseref/nginx-rtmp-auth/blob/602f4f390c603105ac758910207cf76c261e3ec3/php/profile.php
php/profile.php
<?php include "common.php"; session_start(); //removed unneeded mysql database connection if (empty($_SESSION["username"])) { header("location: login.html"); exit(); // exit or browser may see the rest of the page } ?> <html> <head> <title>Frogstream User Profile</title> </head> <body> Hi, <?php echo $_SESSION["use...
php
MIT
602f4f390c603105ac758910207cf76c261e3ec3
2026-01-05T04:19:51.200671Z
false
Nesseref/nginx-rtmp-auth
https://github.com/Nesseref/nginx-rtmp-auth/blob/602f4f390c603105ac758910207cf76c261e3ec3/php/resethash.php
php/resethash.php
<?php include "common.php"; session_start(); try { $dbh = new PDO('mysql:host='.$host.';dbname='.$dbname.';charset=utf8', $username, $password); } catch(PDOException $e) { http_response_code(401); trigger_error($e->getMessage()); die("Database error!"); } if (empty($_SESSION["username"])) { header("location: log...
php
MIT
602f4f390c603105ac758910207cf76c261e3ec3
2026-01-05T04:19:51.200671Z
false
Nesseref/nginx-rtmp-auth
https://github.com/Nesseref/nginx-rtmp-auth/blob/602f4f390c603105ac758910207cf76c261e3ec3/php/changepass.php
php/changepass.php
<?php include "common.php"; session_start(); try { $dbh = new PDO('mysql:host='.$host.';dbname='.$dbname.';charset=utf8', $username, $password); } catch(PDOException $e) { http_response_code(401); trigger_error($e->getMessage()); die("Database error!"); } if( empty( $_SESSION["username"] ) ) { header("location: ...
php
MIT
602f4f390c603105ac758910207cf76c261e3ec3
2026-01-05T04:19:51.200671Z
false
Nesseref/nginx-rtmp-auth
https://github.com/Nesseref/nginx-rtmp-auth/blob/602f4f390c603105ac758910207cf76c261e3ec3/php/auth.php
php/auth.php
<?php include "common.php"; $pattern = "/\\?(.*$)/i"; try { $dbh = new PDO('mysql:host='.$host.';dbname='.$dbname.';charset=utf8', $username, $password); } catch(PDOException $e) { http_response_code(401); trigger_error($e->getMessage()); die("Database error!"); } if(empty($_GET['name']) || empty($_GET['swfurl']...
php
MIT
602f4f390c603105ac758910207cf76c261e3ec3
2026-01-05T04:19:51.200671Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/Module.php
Module.php
<?php namespace yii2mod\rbac; /** * GUI manager for RBAC. * * Use [[\yii\base\Module::$controllerMap]] to change property of controller. * * ```php * 'controllerMap' => [ * 'assignment' => [ * 'class' => 'yii2mod\rbac\controllers\AssignmentController', * 'userIdentityClass' => 'app\models...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/ConsoleModule.php
ConsoleModule.php
<?php namespace yii2mod\rbac; /** * Class ConsoleModule * * Use [[\yii\base\Module::$controllerMap]] to change property of controller. * * ```php * 'controllerMap' => [ * 'migrate' => [ * 'class' => 'yii2mod\rbac\commands\MigrateController', * 'migrationTable' => '{{%auth_migration}}', *...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/RbacRouteAsset.php
RbacRouteAsset.php
<?php namespace yii2mod\rbac; /** * Class RbacRouteAsset * * @package yii2mod\rbac */ class RbacRouteAsset extends RbacAsset { /** * @var array */ public $js = [ 'js/rbac-route.js', ]; }
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/RbacAsset.php
RbacAsset.php
<?php namespace yii2mod\rbac; use yii\web\AssetBundle; /** * Class RbacAsset * * @package yii2mod\rbac */ class RbacAsset extends AssetBundle { /** * @var string */ public $sourcePath = '@vendor/yii2mod/yii2-rbac/assets'; /** * @var array */ public $js = [ 'js/rbac.js...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/base/ItemController.php
base/ItemController.php
<?php namespace yii2mod\rbac\base; use Yii; use yii\filters\VerbFilter; use yii\rbac\Item; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\web\Response; use yii2mod\rbac\models\AuthItemModel; use yii2mod\rbac\models\search\AuthItemSearch; /** * Class ItemController * * @package yii2mod\rbac\bas...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/commands/MigrateController.php
commands/MigrateController.php
<?php namespace yii2mod\rbac\commands; use yii\console\controllers\BaseMigrateController; use yii\db\Connection; use yii\db\Query; use yii\di\Instance; use yii\helpers\Console; /** * Class MigrateController * * Below are some common usages of this command: * * ``` * # creates a new migration named 'create_rule...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/tests/TestCase.php
tests/TestCase.php
<?php namespace yii2mod\rbac\tests; use Yii; use yii\helpers\ArrayHelper; /** * This is the base class for all yii framework unit tests. */ class TestCase extends \PHPUnit\Framework\TestCase { /** * @inheritdoc */ protected function setUp() { parent::setUp(); $this->mockAppli...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/tests/bootstrap.php
tests/bootstrap.php
<?php // ensure we get report on all possible php errors error_reporting(-1); define('YII_ENABLE_ERROR_HANDLER', false); define('YII_DEBUG', true); $_SERVER['SCRIPT_NAME'] = '/' . __DIR__; $_SERVER['SCRIPT_FILENAME'] = __FILE__; require_once(__DIR__ . '/../vendor/autoload.php'); require_once(__DIR__ . '/../vendor/y...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/tests/models/BizRuleTest.php
tests/models/BizRuleTest.php
<?php namespace yii2mod\rbac\tests\models; use Yii; use yii\rbac\Rule; use yii2mod\rbac\models\BizRuleModel; use yii2mod\rbac\rules\GuestRule; use yii2mod\rbac\tests\TestCase; /** * Class BizRuleTest * * @package yii2mod\rbac\tests\models */ class BizRuleTest extends TestCase { public function testCreateRule...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/tests/models/AssignmentTest.php
tests/models/AssignmentTest.php
<?php namespace yii2mod\rbac\tests\models; use Yii; use yii\base\Exception; use yii\rbac\Item; use yii2mod\rbac\models\AssignmentModel; use yii2mod\rbac\models\AuthItemModel; use yii2mod\rbac\tests\data\User; use yii2mod\rbac\tests\TestCase; /** * Class AssignmentTest * * @package yii2mod\rbac\tests\models */ cl...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/tests/models/RoleTest.php
tests/models/RoleTest.php
<?php namespace yii2mod\rbac\tests\models; use Yii; use yii\rbac\Item; use yii\rbac\Role; use yii2mod\rbac\models\AuthItemModel; use yii2mod\rbac\tests\TestCase; /** * Class RoleTest * * @package yii2mod\rbac\tests\models */ class RoleTest extends TestCase { public function testCreateRole() { $mo...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/tests/models/RouteTest.php
tests/models/RouteTest.php
<?php namespace yii2mod\rbac\tests\models; use yii2mod\rbac\models\RouteModel; use yii2mod\rbac\tests\TestCase; /** * Class RouteTest * * @package yii2mod\rbac\tests\models */ class RouteTest extends TestCase { public function testGetAppRoutes() { $model = new RouteModel(); $routes = $mod...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/tests/data/User.php
tests/data/User.php
<?php namespace yii2mod\rbac\tests\data; use yii\db\ActiveRecord; use yii\web\IdentityInterface; /** * @property int $id * @property string $username * @property string $email */ class User extends ActiveRecord implements IdentityInterface { /** * @inheritdoc */ public static function tableName...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/controllers/AssignmentController.php
controllers/AssignmentController.php
<?php namespace yii2mod\rbac\controllers; use Yii; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\web\Response; use yii2mod\rbac\models\AssignmentModel; use yii2mod\rbac\models\search\AssignmentSearch; /** * Class AssignmentController * * @package yii2mod\rbac\controllers */ class AssignmentC...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/controllers/RouteController.php
controllers/RouteController.php
<?php namespace yii2mod\rbac\controllers; use Yii; use yii\filters\VerbFilter; use yii\web\Controller; use yii\web\Response; use yii2mod\rbac\models\RouteModel; /** * Class RouteController * * @package yii2mod\rbac\controllers */ class RouteController extends Controller { /** * @var array route model cl...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/controllers/RuleController.php
controllers/RuleController.php
<?php namespace yii2mod\rbac\controllers; use Yii; use yii\filters\VerbFilter; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii2mod\rbac\models\BizRuleModel; use yii2mod\rbac\models\search\BizRuleSearch; /** * Class RuleController * * @package yii2mod\rbac\controllers */ class RuleController ex...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/controllers/PermissionController.php
controllers/PermissionController.php
<?php namespace yii2mod\rbac\controllers; use yii\rbac\Item; use yii2mod\rbac\base\ItemController; /** * Class PermissionController * * @package yii2mod\rbac\controllers */ class PermissionController extends ItemController { /** * @var int */ protected $type = Item::TYPE_PERMISSION; /** ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/controllers/RoleController.php
controllers/RoleController.php
<?php namespace yii2mod\rbac\controllers; use yii\rbac\Item; use yii2mod\rbac\base\ItemController; /** * Class RoleController * * @package yii2mod\rbac\controllers */ class RoleController extends ItemController { /** * @var int */ protected $type = Item::TYPE_ROLE; /** * @var array ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/rules/UserRule.php
rules/UserRule.php
<?php namespace yii2mod\rbac\rules; use Yii; use yii\rbac\Rule; /** * Class UserRule * * @package yii2mod\rbac\rules */ class UserRule extends Rule { /** * @inheritdoc */ public $name = 'userRule'; /** * @param int|string $user * @param \yii\rbac\Item $item * @param array $p...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/rules/GuestRule.php
rules/GuestRule.php
<?php namespace yii2mod\rbac\rules; use Yii; use yii\rbac\Rule; /** * Class GuestRule * * @package yii2mod\rbac\rules */ class GuestRule extends Rule { /** * @inheritdoc */ public $name = 'guestRule'; /** * @param int|string $user * @param \yii\rbac\Item $item * @param array...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/messages/config.php
messages/config.php
<?php return [ // string, required, root directory of all source files 'sourcePath' => __DIR__ . DIRECTORY_SEPARATOR . '..', // array, required, list of language codes that the extracted messages // should be translated to. For example, ['zh-CN', 'de']. 'languages' => ['en'], // string, the nam...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/messages/en/yii2mod.rbac.php
messages/en/yii2mod.rbac.php
<?php /** * Message translations. * * This file is automatically generated by 'yii message/extract' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/messages/pl/yii2mod.rbac.php
messages/pl/yii2mod.rbac.php
<?php /** * Message translations. * * This file is automatically generated by 'yii message/extract' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/messages/ru/yii2mod.rbac.php
messages/ru/yii2mod.rbac.php
<?php /** * Message translations. * * This file is automatically generated by 'yii message/extract' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/models/AssignmentModel.php
models/AssignmentModel.php
<?php namespace yii2mod\rbac\models; use Yii; use yii\base\BaseObject; use yii\base\InvalidConfigException; use yii\web\IdentityInterface; /** * Class AssignmentModel * * @package yii2mod\rbac\models */ class AssignmentModel extends BaseObject { /** * @var IdentityInterface */ public $user; ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/models/AuthItemModel.php
models/AuthItemModel.php
<?php namespace yii2mod\rbac\models; use Yii; use yii\base\Model; use yii\helpers\Json; use yii\rbac\Item; use yii\rbac\Rule; /** * Class AuthItemModel * * @property string $name * @property int $type * @property string $description * @property string $ruleName * @property string $data * @property Item $item...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/models/BizRuleModel.php
models/BizRuleModel.php
<?php namespace yii2mod\rbac\models; use Yii; use yii\base\Model; use yii\rbac\Rule; /** * Class BizRuleModel * * @package yii2mod\rbac\models */ class BizRuleModel extends Model { /** * @var string name of the rule */ public $name; /** * @var int UNIX timestamp representing the rule ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/models/RouteModel.php
models/RouteModel.php
<?php namespace yii2mod\rbac\models; use Yii; use yii\base\BaseObject; use yii\base\Controller; use yii\base\Module; use yii\caching\TagDependency; use yii\helpers\VarDumper; /** * Class RouteModel * * @package yii2mod\rbac\models */ class RouteModel extends BaseObject { /** * @var string cache tag ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/models/search/AssignmentSearch.php
models/search/AssignmentSearch.php
<?php namespace yii2mod\rbac\models\search; use yii\base\Model; use yii\data\ActiveDataProvider; /** * Class AssignmentSearch * * @package yii2mod\rbac\models\search */ class AssignmentSearch extends Model { /** * @var string user id */ public $id; /** * @var string username */ ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/models/search/AuthItemSearch.php
models/search/AuthItemSearch.php
<?php namespace yii2mod\rbac\models\search; use dosamigos\arrayquery\ArrayQuery; use Yii; use yii\base\Model; use yii\data\ArrayDataProvider; use yii\rbac\Item; /** * Class AuthItemSearch * * @package yii2mod\rbac\models\search */ class AuthItemSearch extends Model { /** * @var string auth item name ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/models/search/BizRuleSearch.php
models/search/BizRuleSearch.php
<?php namespace yii2mod\rbac\models\search; use dosamigos\arrayquery\ArrayQuery; use Yii; use yii\base\Model; use yii\data\ArrayDataProvider; /** * Class BizRuleSearch * * @package yii2mod\rbac\models\search */ class BizRuleSearch extends Model { /** * @var string name of the rule */ public $na...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/migration.php
views/migration.php
<?php /** * @var string the new migration class name */ echo "<?php\n"; ?> use yii2mod\rbac\migrations\Migration; class <?= $className; ?> extends Migration { public function safeUp() { } public function safeDown() { echo "<?= $className; ?> cannot be reverted.\n"; return fals...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/_dualListBox.php
views/_dualListBox.php
<?php use yii\helpers\Html; use yii\web\View; /* @var $this yii\web\View */ /* @var $assignUrl array */ /* @var $removeUrl array */ /* @var $opts string */ $this->registerJs("var _opts = {$opts};", View::POS_BEGIN); ?> <div class="row"> <div class="col-lg-5"> <input class="form-control search" data-targe...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/rule/_form.php
views/rule/_form.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model \yii2mod\rbac\models\BizRuleModel */ /* @var $form ActiveForm */ ?> <div class="rule-item-form"> <?php $form = ActiveForm::begin(); ?> <?php echo $form->field($model, 'name')->textInput(['maxlength' => 64])...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/rule/view.php
views/rule/view.php
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model \yii2mod\rbac\models\BizRuleModel */ $this->title = Yii::t('yii2mod.rbac', 'Rule : {0}', $model->name); $this->params['breadcrumbs'][] = ['label' => Yii::t('yii2mod.rbac', 'Rules'), 'url' => ['index']]; $this->params...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/rule/index.php
views/rule/index.php
<?php use yii\grid\GridView; use yii\helpers\Html; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $dataProvider \yii\data\ArrayDataProvider */ /* @var $searchModel yii2mod\rbac\models\search\BizRuleSearch */ $this->title = Yii::t('yii2mod.rbac', 'Rules'); $this->params['breadcrumbs'][] = $this->title; $...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/rule/update.php
views/rule/update.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model \yii2mod\rbac\models\BizRuleModel */ $this->title = Yii::t('yii2mod.rbac', 'Update Rule : {0}', $model->name); $this->params['breadcrumbs'][] = ['label' => Yii::t('yii2mod.rbac', 'Rules'), 'url' => ['index']]; $this->params['breadcrumbs'][] = [...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/rule/create.php
views/rule/create.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model \yii2mod\rbac\models\BizRuleModel */ $this->title = Yii::t('yii2mod.rbac', 'Create Rule'); $this->params['breadcrumbs'][] = ['label' => Yii::t('yii2mod.rbac', 'Rules'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; $this-...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/assignment/view.php
views/assignment/view.php
<?php use yii\helpers\Html; use yii\helpers\Json; use yii2mod\rbac\RbacAsset; RbacAsset::register($this); /* @var $this yii\web\View */ /* @var $model \yii2mod\rbac\models\AssignmentModel */ /* @var $usernameField string */ $userName = $model->user->{$usernameField}; $this->title = Yii::t('yii2mod.rbac', 'Assignmen...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/assignment/index.php
views/assignment/index.php
<?php use yii\grid\GridView; use yii\helpers\ArrayHelper; use yii\helpers\Html; use yii\widgets\Pjax; /* @var $this \yii\web\View */ /* @var $gridViewColumns array */ /* @var $dataProvider \yii\data\ArrayDataProvider */ /* @var $searchModel \yii2mod\rbac\models\search\AssignmentSearch */ $this->title = Yii::t('yii2m...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/layouts/_sidebar.php
views/layouts/_sidebar.php
<?php /* @var $this \yii\web\View */ $this->params['sidebar'] = [ [ 'label' => Yii::t('yii2mod.rbac', 'Assignments'), 'url' => ['assignment/index'], ], [ 'label' => Yii::t('yii2mod.rbac', 'Roles'), 'url' => ['role/index'], ], [ 'label' => Yii::t('yii2mod.rba...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/route/index.php
views/route/index.php
<?php use yii\helpers\Html; use yii\helpers\Json; use yii2mod\rbac\RbacRouteAsset; RbacRouteAsset::register($this); /* @var $this yii\web\View */ /* @var $routes array */ $this->title = Yii::t('yii2mod.rbac', 'Routes'); $this->params['breadcrumbs'][] = $this->title; $this->render('/layouts/_sidebar'); ?> <h1><?php ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/item/_form.php
views/item/_form.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model yii2mod\rbac\models\AuthItemModel */ ?> <div class="auth-item-form"> <?php $form = ActiveForm::begin(); ?> <?php echo $form->field($model, 'name')->textInput(['maxlength' => 64]); ?> <?php echo $form->f...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/item/view.php
views/item/view.php
<?php use yii\helpers\Html; use yii\helpers\Json; use yii\widgets\DetailView; use yii2mod\rbac\RbacAsset; RbacAsset::register($this); /* @var $this yii\web\View */ /* @var $model \yii2mod\rbac\models\AuthItemModel */ $labels = $this->context->getLabels(); $this->title = Yii::t('yii2mod.rbac', $labels['Item'] . ' : ...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/item/index.php
views/item/index.php
<?php use yii\grid\GridView; use yii\helpers\ArrayHelper; use yii\helpers\Html; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $dataProvider \yii\data\ArrayDataProvider */ /* @var $searchModel \yii2mod\rbac\models\search\AuthItemSearch */ $labels = $this->context->getLabels(); $this->title = Yii::t('yii...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/item/update.php
views/item/update.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model \yii2mod\rbac\models\AuthItemModel */ $context = $this->context; $labels = $this->context->getLabels(); $this->title = Yii::t('yii2mod.rbac', 'Update ' . $labels['Item'] . ' : {0}', $model->name); $this->params['breadcrumbs'][] = ['label' => Yi...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/views/item/create.php
views/item/create.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model \yii2mod\rbac\models\AuthItemModel */ $labels = $this->context->getLabels(); $this->title = Yii::t('yii2mod.rbac', 'Create ' . $labels['Item']); $this->params['breadcrumbs'][] = ['label' => Yii::t('yii2mod.rbac', $labels['Items']), 'url' => ['i...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/migrations/Migration.php
migrations/Migration.php
<?php namespace yii2mod\rbac\migrations; use yii\base\Component; use yii\base\InvalidParamException; use yii\db\MigrationInterface; use yii\di\Instance; use yii\rbac\DbManager; use yii\rbac\Item; use yii\rbac\Permission; use yii\rbac\Role; use yii\rbac\Rule; /** * Class Migration * * @package yii2mod\rbac\migrati...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
yii2mod/yii2-rbac
https://github.com/yii2mod/yii2-rbac/blob/76e4bd094a6a36e23184d8511c0cd1f978449b74/filters/AccessControl.php
filters/AccessControl.php
<?php namespace yii2mod\rbac\filters; use Yii; use yii\base\Action; use yii\base\Module; use yii\helpers\ArrayHelper; use yii\helpers\Url; /** * Class AccessControl * * @package yii2mod\rbac\filters */ class AccessControl extends \yii\filters\AccessControl { /** * @var array */ public $params =...
php
MIT
76e4bd094a6a36e23184d8511c0cd1f978449b74
2026-01-05T04:20:09.995942Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/.php_cs.dist.php
.php_cs.dist.php
<?php $finder = Symfony\Component\Finder\Finder::create() ->in([ __DIR__ . '/src', __DIR__ . '/tests', ]) ->name('*.php') ->notName('*.blade.php') ->ignoreDotFiles(true) ->ignoreVCS(true); return (new PhpCsFixer\Config()) ->setRules([ '@PSR12' => true, 'arra...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/src/DiscordAlertsServiceProvider.php
src/DiscordAlertsServiceProvider.php
<?php namespace Spatie\DiscordAlerts; use Spatie\LaravelPackageTools\Package; use Spatie\LaravelPackageTools\PackageServiceProvider; class DiscordAlertsServiceProvider extends PackageServiceProvider { public function configurePackage(Package $package): void { $package ->name('laravel-disc...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/src/Config.php
src/Config.php
<?php namespace Spatie\DiscordAlerts; use Spatie\DiscordAlerts\Exceptions\AvatarUrlNotValid; use Spatie\DiscordAlerts\Exceptions\JobClassDoesNotExist; use Spatie\DiscordAlerts\Exceptions\WebhookDoesNotExist; use Spatie\DiscordAlerts\Exceptions\WebhookUrlNotValid; use Spatie\DiscordAlerts\Jobs\SendToDiscordChannelJob;...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/src/DiscordAlert.php
src/DiscordAlert.php
<?php namespace Spatie\DiscordAlerts; use Spatie\DiscordAlerts\Exceptions\UsernameNotValid; class DiscordAlert { protected string $webhookUrlName = 'default'; protected int $delay = 0; protected ?string $username = null; protected bool $tts = false; protected ?string $avatarUrl = null; publi...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/src/Jobs/SendToDiscordChannelJob.php
src/Jobs/SendToDiscordChannelJob.php
<?php namespace Spatie\DiscordAlerts\Jobs; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Facades\Http; class SendToDiscordChannelJob implement...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/src/Exceptions/WebhookUrlNotValid.php
src/Exceptions/WebhookUrlNotValid.php
<?php namespace Spatie\DiscordAlerts\Exceptions; use RuntimeException; class WebhookUrlNotValid extends RuntimeException { public static function make(string $name, string $url): self { return new self("The name `{$name}` webhook contains an invalid url `{$url}`. Make sure you specify a valid URL in ...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/src/Exceptions/WebhookDoesNotExist.php
src/Exceptions/WebhookDoesNotExist.php
<?php namespace Spatie\DiscordAlerts\Exceptions; use RuntimeException; class WebhookDoesNotExist extends RuntimeException { public static function make(string $name): self { return new self("There is no webhook URL configured with the name `{$name}` make sure you specify one in the `webhook_urls` key...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/src/Exceptions/AvatarUrlNotValid.php
src/Exceptions/AvatarUrlNotValid.php
<?php namespace Spatie\DiscordAlerts\Exceptions; use Exception; class AvatarUrlNotValid extends Exception { public static function invalidUrl(string $url): self { return new self("Invalid avatar URL: {$url}"); } public static function invalidProtocol(string $url): self { return n...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/src/Exceptions/JobClassDoesNotExist.php
src/Exceptions/JobClassDoesNotExist.php
<?php namespace Spatie\DiscordAlerts\Exceptions; use RuntimeException; class JobClassDoesNotExist extends RunTimeException { public static function make(?string $name): self { return new self("The configured job class `{$name}` does not exist. Make sure you specific a valid class name in the job key ...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/src/Exceptions/UsernameNotValid.php
src/Exceptions/UsernameNotValid.php
<?php namespace Spatie\DiscordAlerts\Exceptions; use RuntimeException; class UsernameNotValid extends RunTimeException { public static function make(string $name): self { return new self("Invalid username `{$name}`. Allowed: letters, numbers, spaces, underscores, dashes (max 32 chars)."); } }
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/src/Facades/DiscordAlert.php
src/Facades/DiscordAlert.php
<?php namespace Spatie\DiscordAlerts\Facades; use Illuminate\Support\Facades\Facade; /** * @method static self to(string $text) * @method static self delayMinutes(int $minutes) * @method static self delayHours(int $hours) * @method static void message(string $text, array $embeds = null) * * @see \Spatie\Discor...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/tests/DiscordAlertsTest.php
tests/DiscordAlertsTest.php
<?php use Illuminate\Support\Facades\Bus; use Spatie\DiscordAlerts\Exceptions\AvatarUrlNotValid; use Spatie\DiscordAlerts\Exceptions\JobClassDoesNotExist; use Spatie\DiscordAlerts\Exceptions\UsernameNotValid; use Spatie\DiscordAlerts\Exceptions\WebhookUrlNotValid; use Spatie\DiscordAlerts\Facades\DiscordAlert; use Spa...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/tests/Pest.php
tests/Pest.php
<?php use Spatie\DiscordAlerts\Tests\TestCase; uses(TestCase::class)->in(__DIR__);
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/tests/TestCase.php
tests/TestCase.php
<?php namespace Spatie\DiscordAlerts\Tests; use Orchestra\Testbench\TestCase as Orchestra; use Spatie\DiscordAlerts\DiscordAlertsServiceProvider; class TestCase extends Orchestra { protected function getPackageProviders($app): array { return [ DiscordAlertsServiceProvider::class, ...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
spatie/laravel-discord-alerts
https://github.com/spatie/laravel-discord-alerts/blob/575d72b117e117186e481a731ffe7c0aa3f60351/config/discord-alerts.php
config/discord-alerts.php
<?php return [ /* * The webhook URLs that we'll use to send a message to Discord. */ 'webhook_urls' => [ 'default' => env('DISCORD_ALERT_WEBHOOK'), ], /* * Default avatar is an empty string '' which means it will not be included in the payload. * You can add multiple custom...
php
MIT
575d72b117e117186e481a731ffe7c0aa3f60351
2026-01-05T04:20:16.472121Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/server.php
server.php
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.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. Thi...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/.php-cs-fixer.dist.php
.php-cs-fixer.dist.php
<?php require __DIR__.'/vendor/autoload.php'; require __DIR__.'/bootstrap/app.php'; return (new MattAllan\LaravelCodeStyle\Config()) ->setFinder( PhpCsFixer\Finder::create() ->in(app_path()) ->in(config_path()) ->in(database_path('factories')) ->in(database_...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Exceptions/Handler.php
app/Exceptions/Handler.php
<?php namespace App\Exceptions; use Exception; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Http\Request; use Symfony\Component\HttpFoundation\Response; use Throwable; class Handler extends ExceptionHandler { /** * A list of the exception types that are not reported. ...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Exceptions/VerifyEmailException.php
app/Exceptions/VerifyEmailException.php
<?php namespace App\Exceptions; use App\Models\User; use Illuminate\Validation\ValidationException; class VerifyEmailException extends ValidationException { /** * @param User $user * @return static */ public static function forUser(User $user) { return static::withMessages([ ...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/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
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/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 BaseController; class Controller extends BaseController { use AuthorizesReques...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Http/Middleware/Authenticate.php
app/Http/Middleware/Authenticate.php
<?php namespace App\Http\Middleware; use Illuminate\Auth\Middleware\Authenticate as Middleware; class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. * * @param \Illuminate\Http\Request $request * @return string|null ...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Http/Middleware/RedirectIfAuthenticated.php
app/Http/Middleware/RedirectIfAuthenticated.php
<?php namespace App\Http\Middleware; use App\Providers\RouteServiceProvider; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null ...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Http/Middleware/TrustProxies.php
app/Http/Middleware/TrustProxies.php
<?php namespace App\Http\Middleware; use Fideloper\Proxy\TrustProxies as Middleware; use Illuminate\Http\Request; class TrustProxies extends Middleware { /** * The trusted proxies for this application. * * @var array|string */ protected $proxies; /** * The headers that should be...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Http/Middleware/TrimStrings.php
app/Http/Middleware/TrimStrings.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware; class TrimStrings extends Middleware { /** * The names of the attributes that should not be trimmed. * * @var array */ protected $except = [ 'password', 'password_conf...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Http/Middleware/CheckForMaintenanceMode.php
app/Http/Middleware/CheckForMaintenanceMode.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode as Middleware; class CheckForMaintenanceMode extends Middleware { /** * The URIs that should be reachable while maintenance mode is enabled. * * @var array */ protected $except = [ ...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Http/Middleware/EncryptCookies.php
app/Http/Middleware/EncryptCookies.php
<?php namespace App\Http\Middleware; use Illuminate\Cookie\Middleware\EncryptCookies as Middleware; class EncryptCookies extends Middleware { /** * The names of the cookies that should not be encrypted. * * @var array */ protected $except = [ // ]; }
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Http/Middleware/VerifyCsrfToken.php
app/Http/Middleware/VerifyCsrfToken.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * Indicates whether the XSRF-TOKEN cookie should be set on the response. * * @var bool */ protected $addHttpCookie = true; /** ...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Modules/Setting/routes_api.php
app/Modules/Setting/routes_api.php
<?php use Illuminate\Support\Facades\Route; Route::prefix('settings')->group(function () { Route::patch('profile', 'ProfileController@update')->name('profile.update'); });
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Modules/Setting/Requests/ProfileRequest.php
app/Modules/Setting/Requests/ProfileRequest.php
<?php namespace App\Modules\Setting\Requests; use App\Models\User; use Illuminate\Foundation\Http\FormRequest; class ProfileRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return tr...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Modules/Setting/Controllers/ProfileController.php
app/Modules/Setting/Controllers/ProfileController.php
<?php namespace App\Modules\Setting\Controllers; use App\Http\Controllers\Controller; use App\Models\User; use App\Modules\Setting\Requests\ProfileRequest; use Illuminate\Http\JsonResponse; class ProfileController extends Controller { /** * Update the user's profile information. * * @param Profile...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Modules/Auth/routes_api.php
app/Modules/Auth/routes_api.php
<?php use Illuminate\Support\Facades\Route; Route::prefix('auth')->group(function () { Route::withoutMiddleware('auth:sanctum')->group(function () { Route::post('login', 'LoginController@login')->name('login'); Route::post('register', 'RegisterController@register')->name('register'); Rout...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Modules/Auth/Controllers/UserController.php
app/Modules/Auth/Controllers/UserController.php
<?php namespace App\Modules\Auth\Controllers; use App\Http\Controllers\Controller; use Illuminate\Http\JsonResponse; class UserController extends Controller { /** * Get the authenticated User. * * @return JsonResponse */ public function me() { return response()->json([ ...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Modules/Auth/Controllers/LoginController.php
app/Modules/Auth/Controllers/LoginController.php
<?php namespace App\Modules\Auth\Controllers; use App\Exceptions\VerifyEmailException; use App\Http\Controllers\Controller; use App\Models\User; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illumina...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Modules/Auth/Controllers/VerificationController.php
app/Modules/Auth/Controllers/VerificationController.php
<?php namespace App\Modules\Auth\Controllers; use App\Http\Controllers\Controller; use App\Models\User; use Illuminate\Auth\Events\Verified; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Support\Facades\URL; use Illuminate\Validation\ValidationException; class VerificationController e...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Modules/Auth/Controllers/ForgotPasswordController.php
app/Modules/Auth/Controllers/ForgotPasswordController.php
<?php namespace App\Modules\Auth\Controllers; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\SendsPasswordResetEmails; use Illuminate\Http\Request; class ForgotPasswordController extends Controller { use SendsPasswordResetEmails; /** * Create a new controller instance. * ...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false
Yurich84/laravel-vue-spa-skeleton
https://github.com/Yurich84/laravel-vue-spa-skeleton/blob/fed0b2fa6ea26a0ee17858d67117a8b6639531f9/app/Modules/Auth/Controllers/ResetPasswordController.php
app/Modules/Auth/Controllers/ResetPasswordController.php
<?php namespace App\Modules\Auth\Controllers; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; use Illuminate\Http\Request; class ResetPasswordController extends Controller { use ResetsPasswords; /** * Create a new controller instance. * * @return void ...
php
MIT
fed0b2fa6ea26a0ee17858d67117a8b6639531f9
2026-01-05T04:20:20.402310Z
false