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
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/models/ContactForm.php
example/yii2-project/models/ContactForm.php
<?php namespace app\models; use Yii; use yii\base\Model; /** * ContactForm is the model behind the contact form. */ class ContactForm extends Model { public $name; public $email; public $subject; public $body; public $verifyCode; /** * @return array the validation rules. */ ...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/library/queue/YiiQueue.php
example/yii2-project/library/queue/YiiQueue.php
<?php namespace app\library\queue; use Littlesqx\AintQueue\Driver\DriverFactory; use Littlesqx\AintQueue\JobInterface; use Littlesqx\AintQueue\QueueInterface; use yii\base\Component; class YiiQueue extends Component { /** * @var QueueInterface */ private $queue; public $channel; public f...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/library/queue/Factory.php
example/yii2-project/library/queue/Factory.php
<?php namespace app\library\queue; use Littlesqx\AintQueue\Driver\DriverFactory; class Factory { public static function make(string $channel) { $config = require __DIR__.'/../../config/aint-queue.php'; $driverOption = $config[$channel]['driver'] ?? []; return DriverFactory::make($ch...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/library/queue/job/SimpleJob.php
example/yii2-project/library/queue/job/SimpleJob.php
<?php namespace app\library\queue\job; use Littlesqx\AintQueue\JobInterface; use Littlesqx\AintQueue\JobMiddlewareInterface; use Swoole\Coroutine; class SimpleJob implements JobInterface { private $payload; function __construct(...$payload) { $this->payload = $payload; } /** * Exec...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/views/site/about.php
example/yii2-project/views/site/about.php
<?php /* @var $this yii\web\View */ use yii\helpers\Html; $this->title = 'About'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="site-about"> <h1><?= Html::encode($this->title) ?></h1> <p> This is the About page. You may modify the following file to customize its content: </p> ...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/views/site/login.php
example/yii2-project/views/site/login.php
<?php /* @var $this yii\web\View */ /* @var $form yii\bootstrap\ActiveForm */ /* @var $model app\models\LoginForm */ use yii\helpers\Html; use yii\bootstrap\ActiveForm; $this->title = 'Login'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="site-login"> <h1><?= Html::encode($this->title) ?></h1> ...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/views/site/contact.php
example/yii2-project/views/site/contact.php
<?php /* @var $this yii\web\View */ /* @var $form yii\bootstrap\ActiveForm */ /* @var $model app\models\ContactForm */ use yii\helpers\Html; use yii\bootstrap\ActiveForm; use yii\captcha\Captcha; $this->title = 'Contact'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="site-contact"> <h1><?= Html::...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/views/site/error.php
example/yii2-project/views/site/error.php
<?php /* @var $this yii\web\View */ /* @var $name string */ /* @var $message string */ /* @var $exception Exception */ use yii\helpers\Html; $this->title = $name; ?> <div class="site-error"> <h1><?= Html::encode($this->title) ?></h1> <div class="alert alert-danger"> <?= nl2br(Html::encode($message)...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/views/layouts/main.php
example/yii2-project/views/layouts/main.php
<?php /* @var $this \yii\web\View */ /* @var $content string */ use app\widgets\Alert; use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use app\assets\AppAsset; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->lang...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/widgets/Alert.php
example/yii2-project/widgets/Alert.php
<?php namespace app\widgets; use Yii; /** * Alert widget renders a message from session flash. All flash messages are displayed * in the sequence they were assigned using setFlash. You can set message as following: * * ```php * Yii::$app->session->setFlash('error', 'This is the message'); * Yii::$app->session->...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/assets/AppAsset.php
example/yii2-project/assets/AppAsset.php
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace app\assets; use yii\web\AssetBundle; /** * Main application asset bundle. * * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class AppAsset ex...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/config/web.php
example/yii2-project/config/web.php
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $config = [ 'id' => 'basic', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset', ], 'components' => [ ...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/config/params.php
example/yii2-project/config/params.php
<?php return [ 'adminEmail' => 'admin@example.com', 'senderEmail' => 'noreply@example.com', 'senderName' => 'Example.com mailer', 'aint-queue' => [ 'example_channel' => 'example', ], ];
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/config/aint-queue.php
example/yii2-project/config/aint-queue.php
<?php /* * This file is part of the littlesqx/aint-queue. * * (c) littlesqx <littlesqx@gmail.com> * * This source file is subject to the MIT license that is bundled. */ use Littlesqx\AintQueue\Driver\Redis\Queue as RedisQueue; return [ 'example' => [ 'driver' => [ 'class' => RedisQueue:...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/config/test_db.php
example/yii2-project/config/test_db.php
<?php $db = require __DIR__ . '/db.php'; // test database! Important not to run tests on production or development databases $db['dsn'] = 'mysql:host=localhost;dbname=yii2_basic_tests'; return $db;
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/config/test.php
example/yii2-project/config/test.php
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/test_db.php'; /** * Application configuration shared by all test types */ return [ 'id' => 'basic-tests', 'basePath' => dirname(__DIR__), 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-a...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/config/db.php
example/yii2-project/config/db.php
<?php return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=yii2basic', 'username' => 'root', 'password' => '', 'charset' => 'utf8', // Schema cache options (for production environment) //'enableSchemaCache' => true, //'schemaCacheDuration' => 60, //'schema...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/config/console.php
example/yii2-project/config/console.php
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $config = [ 'id' => 'basic-console', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'controllerNamespace' => 'app\commands', 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
Littlesqx/aint-queue
https://github.com/Littlesqx/aint-queue/blob/44cac929ce5e57da9cefcbe843e9ba399d5e950f/example/yii2-project/web/index-test.php
example/yii2-project/web/index-test.php
<?php // NOTE: Make sure this file is not accessible when deployed to production if (!in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', '::1'])) { die('You are not allowed to access this file.'); } defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'test'); require __DIR__ ...
php
MIT
44cac929ce5e57da9cefcbe843e9ba399d5e950f
2026-01-05T03:25:20.539646Z
false
afreiday/php-waveform-png
https://github.com/afreiday/php-waveform-png/blob/fca29837103c753aa02393105d7215c697848fa1/php-waveform-png.php
php-waveform-png.php
<?php ini_set("max_execution_time", "30000"); // how much detail we want. Larger number means less detail // (basically, how many bytes/frames to skip processing) // the lower the number means longer processing time define("DETAIL", 5); define("DEFAULT_WIDTH", 500); define("DEFAULT_HEIGHT", 100);...
php
BSD-2-Clause
fca29837103c753aa02393105d7215c697848fa1
2026-01-05T03:25:32.586094Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/.php-cs-fixer.php
.php-cs-fixer.php
<?php return (new PhpCsFixer\Config()) ->setRules([ '@PSR2' => true, 'binary_operator_spaces' => true, 'blank_line_after_opening_tag' => true, 'compact_nullable_typehint' => true, 'declare_equal_normalize' => true, 'lowercase_cast' => true, 'lowercase_static_r...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/src/OssClientAdapter.php
src/OssClientAdapter.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun; use AlphaSnow\Flysystem\Aliyun\AliyunAdapter; use AlphaSnow\Flysystem\Aliyun\AliyunException; use Illuminate\Filesystem\FilesystemAdapter; use League\Flysystem\Config; use OSS\OssClient; class OssClientAdapter { /** * @var AliyunAdapter */ protect...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/src/AliyunServiceProvider.php
src/AliyunServiceProvider.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun; use AlphaSnow\Flysystem\Aliyun\AliyunAdapter; use AlphaSnow\Flysystem\Aliyun\AliyunFactory; use Illuminate\Contracts\Container\BindingResolutionException; use Illuminate\Contracts\Foundation\Application; use Illuminate\Contracts\Foundation\CachesConfiguration; use I...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/src/FilesystemMacroManager.php
src/FilesystemMacroManager.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun; use AlphaSnow\Flysystem\Aliyun\AliyunException; use AlphaSnow\LaravelFilesystem\Aliyun\Macros\AliyunMacro; use AlphaSnow\LaravelFilesystem\Aliyun\Macros\AppendFile; use AlphaSnow\LaravelFilesystem\Aliyun\Macros\AppendObject; use AlphaSnow\LaravelFilesystem\Aliyun\Ma...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/src/Macros/AliyunMacro.php
src/Macros/AliyunMacro.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun\Macros; use Closure; interface AliyunMacro { /** * @return string */ public function name(): string; /** * @return Closure */ public function macro(): Closure; }
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/src/Macros/ProcessObject.php
src/Macros/ProcessObject.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun\Macros; use AlphaSnow\Flysystem\Aliyun\AliyunException; use AlphaSnow\LaravelFilesystem\Aliyun\OssClientAdapter; use Closure; use Illuminate\Filesystem\FilesystemAdapter; use OSS\Core\OssException; class ProcessObject implements AliyunMacro { /** * @return ...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/src/Macros/AppendFile.php
src/Macros/AppendFile.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun\Macros; use AlphaSnow\Flysystem\Aliyun\AliyunException; use AlphaSnow\LaravelFilesystem\Aliyun\OssClientAdapter; use Closure; use Illuminate\Filesystem\FilesystemAdapter; use OSS\Core\OssException; class AppendFile implements AliyunMacro { /** * @return str...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/src/Macros/AppendObject.php
src/Macros/AppendObject.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun\Macros; use AlphaSnow\Flysystem\Aliyun\AliyunException; use AlphaSnow\LaravelFilesystem\Aliyun\OssClientAdapter; use Closure; use Illuminate\Filesystem\FilesystemAdapter; use OSS\Core\OssException; class AppendObject implements AliyunMacro { /** * @return s...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/tests/ProviderWithExistConfigTest.php
tests/ProviderWithExistConfigTest.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun\Tests; use AlphaSnow\LaravelFilesystem\Aliyun\AliyunServiceProvider; use Illuminate\Contracts\Filesystem\Filesystem; use Illuminate\Support\Facades\Storage; class ProviderWithExistConfigTest extends TestCase { protected function getPackageProviders($app) { ...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/tests/AdapterTest.php
tests/AdapterTest.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun\Tests; use AlphaSnow\LaravelFilesystem\Aliyun\OssClientAdapter; use Illuminate\Support\Facades\Storage; use OSS\OssClient; class AdapterTest extends TestCase { /** * @test */ public function use_client() { $adapter = new OssClientAdapte...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/tests/MacroTest.php
tests/MacroTest.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun\Tests; use AlphaSnow\Flysystem\Aliyun\AliyunFactory; use Illuminate\Support\Facades\Storage; use OSS\OssClient; class MacroTest extends TestCase { protected $ossClient; protected function setUp(): void { parent::setUp(); $client = \Mock...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/tests/TestCase.php
tests/TestCase.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun\Tests; use AlphaSnow\LaravelFilesystem\Aliyun\AliyunServiceProvider; use Orchestra\Testbench\TestCase as BaseTestCase; /** * @link https://github.com/orchestral/testbench */ class TestCase extends BaseTestCase { protected function getPackageAliases($app) {...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/tests/StorageTest.php
tests/StorageTest.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun\Tests; use Illuminate\Support\Facades\Storage; class StorageTest extends TestCase { /** * @test */ public function storage_methods() { $file = __DIR__."/stubs/file.txt"; $result = []; $result[] = Storage::disk("oss")->p...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/tests/ProviderTest.php
tests/ProviderTest.php
<?php namespace AlphaSnow\LaravelFilesystem\Aliyun\Tests; use Illuminate\Contracts\Filesystem\Filesystem; use Illuminate\Support\Facades\Storage; class ProviderTest extends TestCase { /** * @test */ public function merge_default_config() { $config = require __DIR__ . "/../config/config....
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
alphasnow/aliyun-oss-laravel
https://github.com/alphasnow/aliyun-oss-laravel/blob/b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf/config/config.php
config/config.php
<?php return [ "driver" => "oss", "access_key_id" => env("OSS_ACCESS_KEY_ID"), // Required, yourAccessKeyId "access_key_secret" => env("OSS_ACCESS_KEY_SECRET"), // Required, yourAccessKeySecret "endpoint" => env("OSS_ENDPOINT"), // Required, for example: oss-cn-shanghai.aliyuncs.com "bucket" => env...
php
MIT
b2ad6aca5dbf51d10625c3e2f63dd2bc5d0adfdf
2026-01-05T03:25:51.400155Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/FeatureFlagsServiceProvider.php
src/FeatureFlagsServiceProvider.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags; use Illuminate\Support\Facades\Blade; use Illuminate\Support\ServiceProvider; use JustSteveKing\Laravel\FeatureFlags\Console\AddFeature; use JustSteveKing\Laravel\FeatureFlags\Console\ExtendFeature; use JustSteveKing\Laravel\FeatureFlags\Co...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Exceptions/ExpiredFeatureException.php
src/Exceptions/ExpiredFeatureException.php
<?php namespace JustSteveKing\Laravel\FeatureFlags\Exceptions; use Exception; class ExpiredFeatureException extends Exception { public static function create(string $feature) { return new static("The Feature {$feature} has expired."); } }
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Http/Middleware/GroupMiddleware.php
src/Http/Middleware/GroupMiddleware.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Http\Middleware; use Closure; use Illuminate\Http\Request; class GroupMiddleware { public function handle(Request $request, Closure $next, string ...$groups): mixed { foreach ($groups as $group) { $group = str_re...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Http/Middleware/FeatureMiddleware.php
src/Http/Middleware/FeatureMiddleware.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Http\Middleware; use Closure; use Illuminate\Http\Request; class FeatureMiddleware { public function handle(Request $request, Closure $next, string ...$features): mixed { foreach ($features as $feature) { $featur...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Http/Middleware/API/GroupMiddleware.php
src/Http/Middleware/API/GroupMiddleware.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Http\Middleware\API; use Closure; use Illuminate\Http\Request; class GroupMiddleware { public function handle(Request $request, Closure $next, string ...$groups): mixed { foreach ($groups as $group) { $group = st...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Http/Middleware/API/FeatureMiddleware.php
src/Http/Middleware/API/FeatureMiddleware.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Http\Middleware\API; use Closure; use Illuminate\Http\Request; class FeatureMiddleware { public function handle(Request $request, Closure $next, string ...$features): mixed { foreach ($features as $feature) { $fe...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Console/ActivateFeatureGroup.php
src/Console/ActivateFeatureGroup.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Console; use Illuminate\Console\Command; use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; class ActivateFeatureGroup extends Command { protected $signature = 'feature-flags:activate-feature-group'; protected $description...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Console/ViewGroupsWithFeatures.php
src/Console/ViewGroupsWithFeatures.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Console; use Illuminate\Console\Command; use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; class ViewGroupsWithFeatures extends Command { protected $signature = 'feature-flags:view-groups-with-features'; protected $descri...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Console/AddFeatureToGroup.php
src/Console/AddFeatureToGroup.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Console; use Illuminate\Console\Command; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; class AddFeatureToGroup extends Command { protected $signature = 'feature-flags:...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Console/ViewFeatureGroups.php
src/Console/ViewFeatureGroups.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Console; use Illuminate\Console\Command; use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; class ViewFeatureGroups extends Command { protected $signature = 'feature-flags:view-feature-groups'; protected $description = 'Vi...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Console/ActivateFeature.php
src/Console/ActivateFeature.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Console; use Illuminate\Console\Command; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; class ActivateFeature extends Command { protected $signature = 'feature-flags:activate-feature'; protected $description = 'Activates a ...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Console/AddFeature.php
src/Console/AddFeature.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Console; use Illuminate\Console\Command; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; class AddFeature extends Command { protected $signature = 'feature-flags:add-feature'; protected $description = 'Add a new feature'; ...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Console/ExtendFeature.php
src/Console/ExtendFeature.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Console; use Illuminate\Console\Command; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; class ExtendFeature extends Command { protected $signature = 'feature-flags:extend-feature'; protected $description = 'Extend a feature...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Console/DeactivateFeatureGroup.php
src/Console/DeactivateFeatureGroup.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Console; use Illuminate\Console\Command; use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; class DeactivateFeatureGroup extends Command { protected $signature = 'feature-flags:deactivate-feature-group'; protected $descrip...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Console/ViewFeatures.php
src/Console/ViewFeatures.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Console; use Illuminate\Console\Command; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; class ViewFeatures extends Command { protected $signature = 'feature-flags:view-features'; protected $description = 'View features'; ...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Console/DeactivateFeature.php
src/Console/DeactivateFeature.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Console; use Illuminate\Console\Command; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; class DeactivateFeature extends Command { protected $signature = 'feature-flags:deactivate-feature'; protected $description = 'Deactiva...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Console/AddFeatureGroup.php
src/Console/AddFeatureGroup.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Console; use Illuminate\Console\Command; use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; class AddFeatureGroup extends Command { protected $signature = 'feature-flags:add-feature-group'; protected $description = 'Add a ...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Concerns/HasFeatures.php
src/Concerns/HasFeatures.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Concerns; use Illuminate\Support\Arr; use Illuminate\Database\Eloquent\Collection; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use JustSteveKing\Laravel\FeatureFlags\Models...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Models/FeatureGroup.php
src/Models/FeatureGroup.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Models; use Illuminate\Foundation\Auth\User; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use JustSteveKing\Laravel\FeatureFlags\Models\Concerns\NormaliseName; use JustSteveKing\Laravel\Fe...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Models/Feature.php
src/Models/Feature.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Models; use Carbon\Carbon; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use Illuminate\Support\Facades\App; use JustSteveKing\Laravel\FeatureFlags\Exceptions\ExpiredFeatureException; use J...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Models/Builders/FeatureGroupBuilder.php
src/Models/Builders/FeatureGroupBuilder.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Models\Builders; use Illuminate\Database\Eloquent\Builder; use JustSteveKing\Laravel\FeatureFlags\Models\Builders\Concerns\QueryByName; use JustSteveKing\Laravel\FeatureFlags\Models\Builders\Concerns\HasActiveAndInactive; class FeatureGroup...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Models/Builders/FeatureBuilder.php
src/Models/Builders/FeatureBuilder.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Models\Builders; use Illuminate\Database\Eloquent\Builder; use JustSteveKing\Laravel\FeatureFlags\Models\Builders\Concerns\QueryByName; use JustSteveKing\Laravel\FeatureFlags\Models\Builders\Concerns\HasActiveAndInactive; class FeatureBuild...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Models/Builders/Concerns/QueryByName.php
src/Models/Builders/Concerns/QueryByName.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Models\Builders\Concerns; trait QueryByName { public function name(string $name): self { $this->where('name', $name); return $this; } }
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Models/Builders/Concerns/HasActiveAndInactive.php
src/Models/Builders/Concerns/HasActiveAndInactive.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Models\Builders\Concerns; trait HasActiveAndInactive { public function active(): self { $this->where('active', true); return $this; } public function inactive(): self { $this->where('active', fal...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/src/Models/Concerns/NormaliseName.php
src/Models/Concerns/NormaliseName.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Models\Concerns; use Illuminate\Database\Eloquent\Model; trait NormaliseName { public static function bootNormaliseName() { static::creating(function(Model $model) { $model->name = strtolower($model->name); ...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/Pest.php
tests/Pest.php
<?php declare(strict_types=1); use JustSteveKing\Laravel\FeatureFlags\Tests\TestCase; uses(TestCase::class)->in('Feature', 'Unit');
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/TestCase.php
tests/TestCase.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Tests; use Orchestra\Testbench\TestCase as Orchestra; use Illuminate\Foundation\Testing\RefreshDatabase; use JustSteveKing\Laravel\FeatureFlags\FeatureFlagsServiceProvider; class TestCase extends Orchestra { use RefreshDatabase; pr...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/TestRoutes.php
tests/TestRoutes.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Tests; use Illuminate\Http\Response; use Illuminate\Routing\Router; use JustSteveKing\Laravel\FeatureFlags\Http\Middleware\API\FeatureMiddleware as ApiFeatureMiddleware; use JustSteveKing\Laravel\FeatureFlags\Http\Middleware\API\GroupMiddlew...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/Feature/ApiMiddlewareTest.php
tests/Feature/ApiMiddlewareTest.php
<?php declare(strict_types=1); use Illuminate\Support\Facades\Hash; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; use JustSteveKing\Laravel\FeatureFlags\Tests\TestRoutes; use JustSteveKing\Laravel\FeatureFlags\Tests\Stubs\User; use function Pest\La...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/Feature/MiddlewareTest.php
tests/Feature/MiddlewareTest.php
<?php declare(strict_types=1); use Illuminate\Support\Facades\Hash; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; use JustSteveKing\Laravel\FeatureFlags\Tests\TestRoutes; use JustSteveKing\Laravel\FeatureFlags\Tests\Stubs\User; use function Pest\La...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/Unit/FeatureGroupArtisanTest.php
tests/Unit/FeatureGroupArtisanTest.php
<?php declare(strict_types=1); use Illuminate\Foundation\Testing\Concerns\InteractsWithConsole; use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; uses(InteractsWithConsole::class); it('can create a new feature group', function(): void { $this->art...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/Unit/BladeDirectivesTest.php
tests/Unit/BladeDirectivesTest.php
<?php declare(strict_types=1); use Illuminate\Foundation\Testing\Concerns\InteractsWithViews; use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; use JustSteveKing\Laravel\FeatureFlags\Tests\Stubs\User; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; use Illuminate\Support\Facades\Hash; uses(Interacts...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/Unit/FeatureGroupTest.php
tests/Unit/FeatureGroupTest.php
<?php declare(strict_types=1); use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; use JustSteveKing\Laravel\FeatureFlags\Tests\Stubs\User; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; use Illuminate\Support\Facades\Hash; beforeEach(function(): void { $this->group = FeatureGroup::create([ ...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/Unit/FeatureArtisanTest.php
tests/Unit/FeatureArtisanTest.php
<?php declare(strict_types=1); use Illuminate\Foundation\Testing\Concerns\InteractsWithConsole; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; use Illuminate\Support\Facades\Config; uses(InteractsWithConsole::class); it('can add a new feature', function(): void { $this->artisan('feature-flags:add-featur...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/Unit/FeatureTimeBombTest.php
tests/Unit/FeatureTimeBombTest.php
<?php declare(strict_types=1); use Carbon\Carbon; use JustSteveKing\Laravel\FeatureFlags\Exceptions\ExpiredFeatureException; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; use Illuminate\Support\Facades\Config; beforeEach(function(): void { Config::set('feature-flags.enable_time_bombs', true); Config...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/Unit/FeatureTest.php
tests/Unit/FeatureTest.php
<?php declare(strict_types=1); use JustSteveKing\Laravel\FeatureFlags\Models\FeatureGroup; use JustSteveKing\Laravel\FeatureFlags\Tests\Stubs\User; use JustSteveKing\Laravel\FeatureFlags\Models\Feature; use Illuminate\Support\Facades\Hash; beforeEach(function(): void { $this->feature = Feature::create([ ...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/tests/Stubs/User.php
tests/Stubs/User.php
<?php declare(strict_types=1); namespace JustSteveKing\Laravel\FeatureFlags\Tests\Stubs; use Illuminate\Foundation\Auth\User as AuthUser; use JustSteveKing\Laravel\FeatureFlags\Concerns\HasFeatures; class User extends AuthUser { use HasFeatures; public $guarded = []; public $table = 'users'; }
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/config/feature-flags.php
config/feature-flags.php
<?php return [ 'middleware' => [ /* |-------------------------------------------------------------------------- | Default Return Mode |-------------------------------------------------------------------------- | | This option controls the default return mode from the...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/database/migrations/2021_04_15_094248_create_feature_feature_group_table.php
database/migrations/2021_04_15_094248_create_feature_feature_group_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFeatureFeatureGroupTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('fea...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/database/migrations/2021_04_15_094286_create_feature_group_user_table.php
database/migrations/2021_04_15_094286_create_feature_group_user_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFeatureGroupUserTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('featur...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/database/migrations/2021_04_15_093138_create_feature_groups_table.php
database/migrations/2021_04_15_093138_create_feature_groups_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFeatureGroupsTable extends Migration { public function up() { Schema::create('feature_groups', function (Blueprint $table) { $table->id(); ...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/database/migrations/2021_04_15_084248_create_feature_flags_table.php
database/migrations/2021_04_15_084248_create_feature_flags_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFeatureFlagsTable extends Migration { public function up() { Schema::create('features', function (Blueprint $table) { $table->id(); $...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/database/migrations/2022_04_27_090000_add_feature_flag_expiry.php
database/migrations/2022_04_27_090000_add_feature_flag_expiry.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up() { if (Schema::hasTable('features')) { Schema::table('features', function (Blueprint $table) { ...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
JustSteveKing/laravel-feature-flags
https://github.com/JustSteveKing/laravel-feature-flags/blob/a76cda7b4a1e2d94cd6ab010a586a22a206eafbb/database/migrations/2021_04_15_094256_create_feature_user_table.php
database/migrations/2021_04_15_094256_create_feature_user_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFeatureUserTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('feature_use...
php
MIT
a76cda7b4a1e2d94cd6ab010a586a22a206eafbb
2026-01-05T03:26:15.403154Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/server.php
server.php
<?php require_once './cli/includes/require-drivers.php'; require_once './cli/Valet/Server.php'; use Valet\Drivers\ValetDriver; use Valet\Server; /** * Define the user's "~/.config/valet" path. */ define('VALET_HOME_PATH', posix_getpwuid(fileowner(__FILE__))['dir'].'/.config/valet'); define('VALET_STATIC_PREFIX', '...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/.php-cs-fixer.dist.php
.php-cs-fixer.dist.php
<?php $finder = (new PhpCsFixer\Finder()) ->in([ __DIR__.'/cli/', __DIR__.'/tests/' ]); $config = new PhpCsFixer\Config(); return $config ->setRiskyAllowed(true) ->setUsingCache(false) ->setRules([ '@PSR12' => true, 'list_syntax' => ['syntax' => 'short'], 'm...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/TestCase.php
tests/TestCase.php
<?php namespace Valet\Tests; use Illuminate\Container\Container; use PHPUnit\Framework\TestCase as PhpUnitTestCase; use Silly\Application; use Symfony\Component\Console\Tester\ApplicationTester; use Valet\Facades\Configuration; use Valet\Filesystem; class TestCase extends PhpUnitTestCase { protected Application ...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/CliTest.php
tests/CliTest.php
<?php namespace Valet\Tests; use ConsoleComponents\Writer; use Mockery; use Symfony\Component\Console\Output\BufferedOutput; use Valet\Configuration; use Valet\DnsMasq; use Valet\Facades\Configuration as ConfigurationFacade; use Valet\Filesystem; use Valet\Mysql; use Valet\Nginx; use Valet\Ngrok; use Valet\PhpFpm; us...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
true
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/MailpitTest.php
tests/Unit/MailpitTest.php
<?php namespace Valet\Tests\Unit; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Valet\CommandLine; use Valet\Configuration; use Valet\Contracts\PackageManager; use Valet\Contracts\ServiceManager; use Valet\Filesystem; use Valet\Mailpit; use Valet\SiteProxy; use Valet\SiteSecure; use Valet\Tests\TestCa...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/ValetRedisTest.php
tests/Unit/ValetRedisTest.php
<?php namespace Valet\Tests\Unit; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Valet\CommandLine; use Valet\Contracts\PackageManager; use Valet\Contracts\ServiceManager; use Valet\Tests\TestCase; use Valet\ValetRedis; class ValetRedisTest extends TestCase { private PackageManager|MockObject $pac...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/ConfigurationTest.php
tests/Unit/ConfigurationTest.php
<?php namespace Valet\Tests\Unit; use PHPUnit\Framework\MockObject\MockObject; use Valet\Configuration; use Valet\Filesystem; use Valet\Tests\TestCase; use function Valet\user; class ConfigurationTest extends TestCase { private Filesystem|MockObject $filesystem; private Configuration $configuration; pu...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/SiteTest.php
tests/Unit/SiteTest.php
<?php namespace Valet\Tests\Unit; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Valet\CommandLine; use Valet\Configuration; use Valet\Filesystem; use Valet\PhpFpm; use Valet\Site; use Valet\Tests\TestCase; use function Valet\swap; use function Valet\user; class SiteTest extends TestCase { privat...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/MysqlTest.php
tests/Unit/MysqlTest.php
<?php namespace Valet\Tests\Unit; use ConsoleComponents\Writer; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Valet\CommandLine; use Valet\Configuration; use Valet\Contracts\PackageManager; use Valet\Contracts\ServiceManager; use Valet\Filesystem; use Valet\Mysql; use Valet\PhpFpm; use Valet\Tests\Tes...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/DnsMasqTest.php
tests/Unit/DnsMasqTest.php
<?php namespace Valet\Tests\Unit; use ConsoleComponents\Writer; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Symfony\Component\Console\Output\BufferedOutput; use Valet\CommandLine; use Valet\Contracts\PackageManager; use Valet\Contracts\ServiceManager; use Valet\DnsMasq; use Valet\Filesystem; use Val...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/ValetTest.php
tests/Unit/ValetTest.php
<?php namespace Valet\Tests\Unit; use Httpful\Handlers\JsonHandler; use Httpful\Httpful; use Httpful\Mime; use Httpful\Response; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Valet\CommandLine; use Valet\Configuration; use Valet\Filesystem; use Valet\Request; use Valet\Tests\TestCase; use Valet\Valet;...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/RequirementsTest.php
tests/Unit/RequirementsTest.php
<?php namespace Valet\Tests\Unit; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Valet\CommandLine; use Valet\Requirements; use Valet\Tests\TestCase; class RequirementsTest extends TestCase { private CommandLine|MockObject $commandLine; private Requirements $requirements; public function ...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/DevToolsTest.php
tests/Unit/DevToolsTest.php
<?php namespace Valet\Tests\Unit; use ConsoleComponents\Writer; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Symfony\Component\Console\Output\BufferedOutput; use Valet\CommandLine; use Valet\Contracts\PackageManager; use Valet\Contracts\ServiceManager; use Valet\DevTools; use Valet\Filesystem; use Va...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/NginxTest.php
tests/Unit/NginxTest.php
<?php namespace Valet\Tests\Unit; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Valet\CommandLine; use Valet\Configuration; use Valet\Contracts\PackageManager; use Valet\Contracts\ServiceManager; use Valet\Filesystem; use Valet\Nginx; use Valet\PhpFpm; use Valet\SiteSecure; use Valet\Tests\TestCase; ...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/SiteSecureTest.php
tests/Unit/SiteSecureTest.php
<?php namespace Unit; use Mockery; use Mockery\MockInterface; use Valet\CommandLine; use Valet\Configuration; use Valet\Contracts\PackageManager; use Valet\Filesystem; use Valet\PhpFpm; use Valet\SiteSecure; use Valet\Tests\TestCase; use function Valet\resolve; use function Valet\swap; use function Valet\user; clas...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/PhpFpmTest.php
tests/Unit/PhpFpmTest.php
<?php namespace Valet\Tests\Unit; use ConsoleComponents\Writer; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Valet\CommandLine; use Valet\Configuration; use Valet\Contracts\PackageManager; use Valet\Contracts\ServiceManager; use Valet\DevTools; use Valet\Filesystem; use Valet\Nginx; use Valet\PhpFpm;...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/SiteLinkTest.php
tests/Unit/SiteLinkTest.php
<?php namespace Unit; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Valet\Configuration; use Valet\Filesystem; use Valet\SiteLink; use Valet\SiteSecure; use Valet\Tests\TestCase; use function Valet\user; class SiteLinkTest extends TestCase { private Configuration|MockObject $config; private ...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/SiteIsolateTest.php
tests/Unit/SiteIsolateTest.php
<?php namespace Unit; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Valet\Configuration; use Valet\Contracts\PackageManager; use Valet\DevTools; use Valet\Filesystem; use Valet\Nginx; use Valet\PhpFpm; use Valet\Site; use Valet\SiteIsolate; use Valet\SiteSecure; use Valet\Tests\TestCase; use function...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/NgrokTest.php
tests/Unit/NgrokTest.php
<?php namespace Valet\Tests\Unit; use ConsoleComponents\Writer; use Httpful\Handlers\JsonHandler; use Httpful\Httpful; use Httpful\Mime; use Httpful\Response; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Symfony\Component\Console\Output\BufferedOutput; use Valet\CommandLine; use Valet\Filesystem; use...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/tests/Unit/SiteProxyTest.php
tests/Unit/SiteProxyTest.php
<?php namespace Unit; use Mockery; use PHPUnit\Framework\MockObject\MockObject; use Valet\Configuration; use Valet\Filesystem; use Valet\SiteProxy; use Valet\SiteSecure; use Valet\Tests\TestCase; class SiteProxyTest extends TestCase { private Configuration|MockObject $config; private Filesystem|MockObject $f...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false
valet-linux-plus/valet-linux-plus
https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/app.php
cli/app.php
<?php use ConsoleComponents\Writer; use Illuminate\Container\Container; use Silly\Application; use Valet\Drivers\ValetDriver; use Valet\Facades\Configuration; use Valet\Facades\DevTools; use Valet\Facades\DnsMasq; use Valet\Facades\Filesystem; use Valet\Facades\Mailpit; use Valet\Facades\Mysql; use Valet\Facades\Nginx...
php
MIT
59a12a091f8c2c948f1961a38e3e675abd0346b3
2026-01-05T03:26:00.177852Z
false