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
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/config.php
src/config.php
<?php return [ /* |-------------------------------------------------------------------------- | Application Base Layout View |-------------------------------------------------------------------------- | | Default Laravel view layout | */ 'default_layout_view' => 'layouts.app', ...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/GeneratorCommand.php
src/GeneratorCommand.php
<?php namespace Luthfi\CrudGenerator; use Illuminate\Console\Command; use Illuminate\Container\Container; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; abstract class GeneratorCommand extends Command { /** * The injected Filesystem class * * @var Filesystem */ private ...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/ServiceProvider.php
src/ServiceProvider.php
<?php namespace Luthfi\CrudGenerator; use Illuminate\Support\ServiceProvider as BaseServiceProvider; /** * Crud Generator Service Provider Class. */ class ServiceProvider extends BaseServiceProvider { public function register() { if ($this->app->runningInConsole()) { $this->commands([ ...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/CrudSimpleMake.php
src/CrudSimpleMake.php
<?php namespace Luthfi\CrudGenerator; class CrudSimpleMake extends GeneratorCommand { /** * The name and signature of the console command. * * @var string */ protected $signature = 'make:crud-simple {name : The model name} {--p|parent= : The generated controller...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/ControllerGenerator.php
src/Generators/ControllerGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Controller Generator Class */ class ControllerGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $modelName = $this->modelNames['model_name']; $parentControllerDirecto...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/IndexViewGenerator.php
src/Generators/IndexViewGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Index View Generator Class */ class IndexViewGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $viewPath = $this->makeDirectory(resource_path('views/'.$this->modelNames['tabl...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/ModelGenerator.php
src/Generators/ModelGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Model Generator Class */ class ModelGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $modelPath = $this->modelNames['model_path']; $modelDirectory = $this->makeDirec...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/FormRequestGenerator.php
src/Generators/FormRequestGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Form Request Generator Class */ class FormRequestGenerator extends BaseGenerator { /** * Generate class file content. * * @param string $type Type of crud * @return void */ public function generate(string $type = 'full') {...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/MigrationGenerator.php
src/Generators/MigrationGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Migration Generator Class */ class MigrationGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $prefix = date('Y_m_d_His'); $tableName = $this->modelNames['table_name'...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/RouteGenerator.php
src/Generators/RouteGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Route Generator Class */ class RouteGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'web') { $webRoutePath = $this->makeRouteFile(base_path('routes'), $type.'.php'); $this->...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/ModelFactoryGenerator.php
src/Generators/ModelFactoryGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Model Factory Generator Class */ class ModelFactoryGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $modelFactoryPath = database_path('factories'); if ($this->modelN...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/ModelPolicyTestGenerator.php
src/Generators/ModelPolicyTestGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Model Test Generator Class */ class ModelPolicyTestGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $modelPolicyTestPath = $this->makeDirectory(base_path('tests/Unit/Policie...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/FeatureTestGenerator.php
src/Generators/FeatureTestGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Feature Test Generator Class */ class FeatureTestGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $this->createBrowserKitBaseTestClass(); $featureTestPath = 'tests/...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/BaseGenerator.php
src/Generators/BaseGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; use Illuminate\Container\Container; use Illuminate\Filesystem\Filesystem; use Luthfi\CrudGenerator\Contracts\Generator as GeneratorContract; use Luthfi\CrudGenerator\GeneratorCommand; /** * Base Generator Class */ abstract class BaseGenerator implements GeneratorCon...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/LangFileGenerator.php
src/Generators/LangFileGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; use Illuminate\Support\Str; /** * Lang File Generator Class */ class LangFileGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $locale = config('app.locale'); $langPath = ...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/ShowViewGenerator.php
src/Generators/ShowViewGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Show View Generator Class */ class ShowViewGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $viewPath = $this->makeDirectory(resource_path('views/'.$this->modelNames['table_...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/ModelTestGenerator.php
src/Generators/ModelTestGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Model Test Generator Class */ class ModelTestGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $unitTestPath = $this->makeDirectory(base_path('tests/Unit/Models')); ...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/FormViewGenerator.php
src/Generators/FormViewGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Form View Generator Class */ class FormViewGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $viewPath = $this->makeDirectory(resource_path('views/'.$this->modelNames['table_...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Generators/ModelPolicyGenerator.php
src/Generators/ModelPolicyGenerator.php
<?php namespace Luthfi\CrudGenerator\Generators; /** * Model Policy Generator Class */ class ModelPolicyGenerator extends BaseGenerator { /** * {@inheritDoc} */ public function generate(string $type = 'full') { $parentDirectory = ''; if (!is_null($this->command->option('parent'...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/src/Contracts/Generator.php
src/Contracts/Generator.php
<?php namespace Luthfi\CrudGenerator\Contracts; interface Generator { /** * Generate class file content. * * @param string $type Type of crud * @return void */ public function generate(string $type = 'full'); /** * Get class file content. * * @param string $stu...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CrudSimpleMakeCommandTest.php
tests/CrudSimpleMakeCommandTest.php
<?php namespace Tests; use Illuminate\Contracts\Console\Kernel; class CrudSimpleMakeCommandTest extends TestCase { /** @test */ public function it_can_generate_simple_crud_files() { $this->artisan('make:crud-simple', ['name' => $this->model_name, '--no-interaction' => true]); $this->asse...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CrudMakeCommandTest.php
tests/CrudMakeCommandTest.php
<?php namespace Tests; use Illuminate\Contracts\Console\Kernel; class CrudMakeCommandTest extends TestCase { /** @test */ public function it_can_generate_simple_crud_files() { $this->artisan('make:crud', ['name' => $this->model_name, '--no-interaction' => true]); $this->assertStringNotCo...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CrudApiMakeCommandTest.php
tests/CrudApiMakeCommandTest.php
<?php namespace Tests; use Illuminate\Contracts\Console\Kernel; class CrudApiMakeCommandTest extends TestCase { /** @test */ public function it_can_generate_api_crud_files() { $this->artisan('make:crud-api', ['name' => $this->model_name, '--no-interaction' => true]); $this->assertStringN...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/TestCase.php
tests/TestCase.php
<?php namespace Tests; use Illuminate\Support\Str; use Orchestra\Testbench\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { protected $full_model_name; protected $model_name; protected $plural_model_name; protected $table_name; protected $lang_name; protected $collecti...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CrudMakeClassPropertiesTest.php
tests/CrudMakeClassPropertiesTest.php
<?php namespace Tests; use Luthfi\CrudGenerator\CrudMake; class CrudMakeClassPropertiesTest extends TestCase { public function setUp(): void { parent::setUp(); $this->crudMaker = app(CrudMake::class); } /** @test */ public function it_has_stub_model_names_property() { ...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/ConfigTest.php
tests/ConfigTest.php
<?php namespace Tests; class ConfigTest extends TestCase { /** @test */ public function it_has_config_file() { $this->assertTrue(is_array(config('simple-crud'))); } /** @test */ public function it_has_default_layout_view_config() { $this->assertEquals('layouts.app', config...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/FullControllerGeneratorTest.php
tests/Generators/FullControllerGeneratorTest.php
<?php namespace Tests\Generators; use Tests\TestCase; class FullControllerGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_controller_class_content() { $this->artisan('make:crud', ['name' => $this->model_name, '--no-interaction' => true]); $this->assertFil...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/LangGeneratorTest.php
tests/Generators/LangGeneratorTest.php
<?php namespace Tests\Generators; use Illuminate\Support\Str; use Tests\TestCase; class LangGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_model_lang_content() { $this->artisan('make:crud', ['name' => $this->model_name, '--no-interaction' => true]); $loc...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/ModelTestGeneratorTest.php
tests/Generators/ModelTestGeneratorTest.php
<?php namespace Tests\Generators; use Tests\TestCase; class ModelTestGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_unit_test_class_content() { config(['auth.providers.users.model' => 'App\Models\User']); $this->artisan('make:crud', ['name' => $this->mode...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/ViewsGeneratorTest.php
tests/Generators/ViewsGeneratorTest.php
<?php namespace Tests\Generators; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class ViewsGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_index_view_content() { $this->artisan('make:crud', ['name' => $this->model_name, '--no-interaction' => true]);...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/FeatureTestGeneratorTest.php
tests/Generators/FeatureTestGeneratorTest.php
<?php namespace Tests\Generators; use Tests\TestCase; class FeatureTestGeneratorTest extends TestCase { /** @test */ public function it_creates_browser_kit_base_test_class() { $this->artisan('make:crud', ['name' => $this->model_name, '--no-interaction' => true]); $this->assertFileExists(...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/RouteWebGeneratorTest.php
tests/Generators/RouteWebGeneratorTest.php
<?php namespace Tests\Generators; use Tests\TestCase; class RouteWebGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_web_route_content() { $this->artisan('make:crud', ['name' => $this->model_name, '--no-interaction' => true]); $routeWebPath = base_path('ro...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/ModelPolicyGeneratorTest.php
tests/Generators/ModelPolicyGeneratorTest.php
<?php namespace Tests\Generators; use Tests\TestCase; class ModelPolicyGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_model_policy_content() { $userModel = config('auth.providers.users.model'); $this->artisan('make:crud', ['name' => $this->model_name, '-...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/ModelFactoryGeneratorTest.php
tests/Generators/ModelFactoryGeneratorTest.php
<?php namespace Tests\Generators; use Tests\TestCase; class ModelFactoryGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_model_factory_content() { config(['auth.providers.users.model' => 'App\Models\User']); $this->artisan('make:crud', ['name' => $this->mod...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/MigrationGeneratorTest.php
tests/Generators/MigrationGeneratorTest.php
<?php namespace Tests\Generators; use Tests\TestCase; class MigrationGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_migration_class_content() { $this->artisan('make:crud', ['name' => $this->model_name, '--no-interaction' => true]); $migrationFilePath = d...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/ModelGeneratorTest.php
tests/Generators/ModelGeneratorTest.php
<?php namespace Tests\Generators; use Tests\TestCase; class ModelGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_model_class_content() { config(['auth.providers.users.model' => 'App\Models\User']); $this->artisan('make:crud', ['name' => $this->model_name, ...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/ModelPolicyTestGeneratorTest.php
tests/Generators/ModelPolicyTestGeneratorTest.php
<?php namespace Tests\Generators; use Tests\TestCase; class ModelPolicyTestGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_model_policy_test_content() { $userModel = config('auth.providers.users.model'); $this->artisan('make:crud', ['name' => $this->model...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/Api/RouteApiGeneratorTest.php
tests/Generators/Api/RouteApiGeneratorTest.php
<?php namespace Tests\Generators\Api; use Tests\TestCase; class RouteApiGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_api_route_content() { $this->artisan('make:crud-api', ['name' => $this->model_name, '--no-interaction' => true]); $routeApiPath = base_...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/Api/ApiControllerGeneratorTest.php
tests/Generators/Api/ApiControllerGeneratorTest.php
<?php namespace Tests\Generators\Api; use Tests\TestCase; class ApiControllerGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_controller_class_content() { $this->artisan('make:crud-api', ['name' => $this->model_name, '--no-interaction' => true]); $this->as...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/Api/ApiFeatureTestGeneratorTest.php
tests/Generators/Api/ApiFeatureTestGeneratorTest.php
<?php namespace Tests\Generators\Api; use Tests\TestCase; class ApiFeatureTestGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_feature_test_class_content() { $this->artisan('make:crud-api', ['name' => $this->model_name, '--no-interaction' => true]); $this-...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/Simple/ViewsGeneratorTest.php
tests/Generators/Simple/ViewsGeneratorTest.php
<?php namespace Tests\Generators\Simple; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class ViewsGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_index_view_content() { $this->artisan('make:crud-simple', ['name' => $this->model_name, '--no-interacti...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/Simple/SimpleControllerGeneratorTest.php
tests/Generators/Simple/SimpleControllerGeneratorTest.php
<?php namespace Tests\Generators\Simple; use Tests\TestCase; class SimpleControllerGeneratorTest extends TestCase { /** @test */ public function it_creates_correct_controller_class_content() { $this->artisan('make:crud-simple', ['name' => $this->model_name, '--no-interaction' => true]); ...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/Generators/Simple/FeatureTestGeneratorTest.php
tests/Generators/Simple/FeatureTestGeneratorTest.php
<?php namespace Tests\Generators\Simple; use Tests\TestCase; class FeatureTestGeneratorTest extends TestCase { /** @test */ public function it_creates_browser_kit_base_test_class() { $this->artisan('make:crud-simple', ['name' => $this->model_name, '--no-interaction' => true]); $this->ass...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/FullCrudBs4OptionsTest.php
tests/CommandOptions/FullCrudBs4OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class FullCrudBs4OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_bootstrap4_for_full_crud() { $this->artisan('make:crud', ['name' => $this->model_name, '--bs4'...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/TestsOnlyOptionsTest.php
tests/CommandOptions/TestsOnlyOptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class TestsOnlyOptionsTest extends TestCase { /** @test */ public function it_can_generate_only_tests_files() { $this->artisan('make:crud', [ 'name' => $this->model_name, ...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/FullCrudFormfieldBs4OptionsTest.php
tests/CommandOptions/FullCrudFormfieldBs4OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class FullCrudFormfieldBs4OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_formfield_and_bootstrap4_for_full_crud() { $this->artisan('make:crud', ['name' => $th...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/SimpleCrudFormfieldBs3OptionsTest.php
tests/CommandOptions/SimpleCrudFormfieldBs3OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class SimpleCrudFormfieldBs3OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_formfield_for_simple_crud() { $this->artisan('make:crud-simple', ['name' => $this->...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/FullCrudBs3OptionsTest.php
tests/CommandOptions/FullCrudBs3OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class FullCrudBs3OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_bootstrap3_for_full_crud() { $this->artisan('make:crud', ['name' => $this->model_name, '--bs3'...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/SimpleCrudFormfieldBs4OptionsTest.php
tests/CommandOptions/SimpleCrudFormfieldBs4OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class SimpleCrudFormfieldBs4OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_formfield_for_simple_crud() { $this->artisan('make:crud-simple', ['name' => $this->...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/UuidOptionsTest.php
tests/CommandOptions/UuidOptionsTest.php
<?php namespace Tests\CommandOptions; use Tests\TestCase; class UuidOptionsTest extends TestCase { /** @test */ public function it_creates_correct_migration_class_content_for_uuid_primary_key() { $this->artisan('make:crud', ['name' => $this->model_name, '--uuid' => true, '--no-interaction' => tru...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/SimpleCrudBs4OptionsTest.php
tests/CommandOptions/SimpleCrudBs4OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class SimpleCrudBs4OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_bootstrap4_for_simple_crud() { $this->artisan('make:crud-simple', ['name' => $this->model_na...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/FullCrudFormRequestOptionsTest.php
tests/CommandOptions/FullCrudFormRequestOptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class FullCrudFormRequestOptionsTest extends TestCase { /** @test */ public function it_can_generate_form_request_classes() { $this->artisan('make:crud', ['name' => $this->model_name, '--no-interact...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/FullCrudFormfieldBs5OptionsTest.php
tests/CommandOptions/FullCrudFormfieldBs5OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class FullCrudFormfieldBs5OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_formfield_and_bootstrap5_for_full_crud() { $this->artisan('make:crud', ['name' => $th...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/SimpleCrudBs3OptionsTest.php
tests/CommandOptions/SimpleCrudBs3OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class SimpleCrudBs3OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_bootstrap3_for_simple_crud() { $this->artisan('make:crud-simple', ['name' => $this->model_na...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/SimpleCrudFormfieldBs5OptionsTest.php
tests/CommandOptions/SimpleCrudFormfieldBs5OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class SimpleCrudFormfieldBs5OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_formfield_for_simple_crud() { $this->artisan('make:crud-simple', ['name' => $this->...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/FullCrudFormfieldOptionsTest.php
tests/CommandOptions/FullCrudFormfieldOptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class FullCrudFormfieldOptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_formfield_for_full_crud() { $this->artisan('make:crud', ['name' => $this->model_name, '-...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/FullCrudFormfieldBs3OptionsTest.php
tests/CommandOptions/FullCrudFormfieldBs3OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class FullCrudFormfieldBs3OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_formfield_and_bootstrap3_for_full_crud() { $this->artisan('make:crud', ['name' => $th...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/SimpleCrudBs5OptionsTest.php
tests/CommandOptions/SimpleCrudBs5OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class SimpleCrudBs5OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_bootstrap5_for_simple_crud() { $this->artisan('make:crud-simple', ['name' => $this->model_na...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/SimpleCrudFormfieldOptionsTest.php
tests/CommandOptions/SimpleCrudFormfieldOptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class SimpleCrudFormfieldOptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_formfield_for_simple_crud() { $this->artisan('make:crud-simple', ['name' => $this->mod...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
nafiesl/SimpleCrudGenerator
https://github.com/nafiesl/SimpleCrudGenerator/blob/9a33b8e42b2e237758bc03d5fdffdae118a5edac/tests/CommandOptions/FullCrudBs5OptionsTest.php
tests/CommandOptions/FullCrudBs5OptionsTest.php
<?php namespace Tests\CommandOptions; use Illuminate\Contracts\Console\Kernel; use Tests\TestCase; class FullCrudBs5OptionsTest extends TestCase { /** @test */ public function it_can_generate_views_with_bootstrap5_for_full_crud() { $this->artisan('make:crud', ['name' => $this->model_name, '--bs5'...
php
MIT
9a33b8e42b2e237758bc03d5fdffdae118a5edac
2026-01-05T03:51:21.213093Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/_ide_helper.php
_ide_helper.php
<?php // @formatter:off // phpcs:ignoreFile /** * A helper file for Laravel, to provide autocomplete information to your IDE * Generated for Laravel 10.3.3. * * This file should not be included in your code, only analyzed by your IDE! * * @author Barry vd. Heuvel <barryvdh@gmail.com> * @see https://github.com/b...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
true
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/lang/zh_CN/passwords.php
lang/zh_CN/passwords.php
<?php declare(strict_types=1); return [ 'reset' => '密码重置成功!', 'sent' => '密码重置邮件已发送!', 'throttled' => '请稍候再试。', 'token' => '密码重置令牌无效。', 'user' => '找不到该邮箱对应的用户。', ];
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/lang/zh_CN/pagination.php
lang/zh_CN/pagination.php
<?php declare(strict_types=1); return [ 'next' => '下一页 &raquo;', 'previous' => '&laquo; 上一页', ];
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/lang/zh_CN/http-statuses.php
lang/zh_CN/http-statuses.php
<?php declare(strict_types=1); return [ '0' => '未知错误', '100' => '继续请求', '101' => '切换协议', '102' => '处理中', '200' => '请求成功', '201' => '已创建', '202' => '已接受', '203' => '非权威信息', '204' => '无内容', '205' ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/lang/zh_CN/validation.php
lang/zh_CN/validation.php
<?php declare(strict_types=1); return [ 'accepted' => '您必须接受 :attribute。', 'accepted_if' => '当 :other 为 :value 时,必须接受 :attribute。', 'active_url' => ':Attribute 不是一个有效的网址。', 'after' => ':Attribute 必须要晚于 :date。', 'after_or_equal' => ':Attribute 必须要...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/lang/zh_CN/auth.php
lang/zh_CN/auth.php
<?php declare(strict_types=1); return [ 'failed' => '用户名或密码错误。', 'password' => '密码错误', 'throttle' => '您尝试的登录次数过多,请 :seconds 秒后再试。', ];
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/helper.php
app/helper.php
<?php use App\Models\User; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Auth; if (!function_exists('user')) { function user() { return Auth::user(); } } if (!function_exists('isAdministrator')) { function isAdministrator() { return Auth::check() && Auth::...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Exceptions/Handler.php
app/Exceptions/Handler.php
<?php namespace App\Exceptions; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Throwable; class Handler extends ExceptionHandler { /** * A list of exception types with their corresponding custom log levels. * * @var array<class-string<\Throwable>, \Psr\Log\LogLevel::*> ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Kernel.php
app/Http/Kernel.php
<?php namespace App\Http; use App\Http\Middleware\Cors; use App\Http\Middleware\SiteMiddleware; 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 app...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreFavourRequest.php
app/Http/Requests/StoreFavourRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreFavourRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return false; } /** * G...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateFavourRequest.php
app/Http/Requests/UpdateFavourRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateFavourRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return false; } /** * ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreWechatMenuRequest.php
app/Http/Requests/StoreWechatMenuRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreWechatMenuRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreSignCountRequest.php
app/Http/Requests/StoreSignCountRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreSignCountRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return false; } /** ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateSoftSecretRequest.php
app/Http/Requests/UpdateSoftSecretRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateSoftSecretRequest extends FormRequest { /** * Determine if the user is authorized to make this request. */ public function authorize(): bool { return false; } /** * Get the validatio...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateFavoriteRequest.php
app/Http/Requests/UpdateFavoriteRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateFavoriteRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return false; } /** ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreSystemRequest.php
app/Http/Requests/StoreSystemRequest.php
<?php namespace App\Http\Requests; use Auth; use Illuminate\Foundation\Http\FormRequest; class StoreSystemRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return Auth::user()->is_adm...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreMorningRequest.php
app/Http/Requests/StoreMorningRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreMorningRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * G...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateQuestionAnswerRequest.php
app/Http/Requests/UpdateQuestionAnswerRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateQuestionAnswerRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return false; } /**...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreModuleRequest.php
app/Http/Requests/StoreModuleRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreModuleRequest extends FormRequest { /** * Determine if the user is authorized to make this request. */ public function authorize(): bool { return false; } /** * Get the validation rul...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateSoftRequest.php
app/Http/Requests/UpdateSoftRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateSoftRequest extends FormRequest { public function authorize(): bool { return isAdministrator(); } public function rules(): array { return [ 'title' => ['required', 'max:50'], ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateTopicRequest.php
app/Http/Requests/UpdateTopicRequest.php
<?php namespace App\Http\Requests; use Auth; use Illuminate\Foundation\Http\FormRequest; class UpdateTopicRequest extends FormRequest { public function authorize() { return Auth::check(); } public function rules() { return [ 'title' => ['required', 'between:4,100'], ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateSignRequest.php
app/Http/Requests/UpdateSignRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateSignRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return false; } /** * Ge...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreTopicRequest.php
app/Http/Requests/StoreTopicRequest.php
<?php namespace App\Http\Requests; // use App\Models\Tag; use Auth; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Rule; class StoreTopicRequest extends FormRequest { public function authorize() { return Auth::check(); } public function rules() { return [ ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreFavoriteRequest.php
app/Http/Requests/StoreFavoriteRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreFavoriteRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return false; } /** *...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreQuestionAnswerRequest.php
app/Http/Requests/StoreQuestionAnswerRequest.php
<?php namespace App\Http\Requests; use Auth; use Illuminate\Foundation\Http\FormRequest; class StoreQuestionAnswerRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return Auth::check(...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateMorningRequest.php
app/Http/Requests/UpdateMorningRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateMorningRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateVideoRequest.php
app/Http/Requests/UpdateVideoRequest.php
<?php namespace App\Http\Requests; use Auth; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Rule; class UpdateVideoRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreQuestionRequest.php
app/Http/Requests/StoreQuestionRequest.php
<?php namespace App\Http\Requests; use Auth; use Illuminate\Foundation\Http\FormRequest; class StoreQuestionRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return Auth::check(); ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreVideoRequest.php
app/Http/Requests/StoreVideoRequest.php
<?php namespace App\Http\Requests; use Auth; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Rule; class StoreVideoRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreVideoPlayHistoryRequest.php
app/Http/Requests/StoreVideoPlayHistoryRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreVideoPlayHistoryRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return false; } /*...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreConfigRequest.php
app/Http/Requests/StoreConfigRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreConfigRequest extends FormRequest { /** * Determine if the user is authorized to make this request. */ public function authorize(): bool { return false; } /** * Get the validation rul...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreCommentRequest.php
app/Http/Requests/StoreCommentRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Auth; class StoreCommentRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreModuleConfigRequest.php
app/Http/Requests/StoreModuleConfigRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreModuleConfigRequest extends FormRequest { /** * Determine if the user is authorized to make this request. */ public function authorize(): bool { return false; } /** * Get the validati...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreSoftRequest.php
app/Http/Requests/StoreSoftRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreSoftRequest extends FormRequest { public function authorize(): bool { return isAdministrator(); } public function rules(): array { return [ 'title' => ['required', 'max:50'], ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateModuleConfigRequest.php
app/Http/Requests/UpdateModuleConfigRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateModuleConfigRequest extends FormRequest { /** * Determine if the user is authorized to make this request. */ public function authorize(): bool { return false; } /** * Get the validat...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateWechatMenuRequest.php
app/Http/Requests/UpdateWechatMenuRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateWechatMenuRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return false; } /** ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateSystemRequest.php
app/Http/Requests/UpdateSystemRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Auth; class UpdateSystemRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdatePackageRequest.php
app/Http/Requests/UpdatePackageRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdatePackageRequest extends FormRequest { public function authorize(): bool { return isAdministrator(); } public function rules(): array { return [ 'title' => ['required'], ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/StoreSignRequest.php
app/Http/Requests/StoreSignRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Auth; class StoreSignRequest extends FormRequest { public function authorize() { return Auth::check(); } public function rules() { return [ 'mood' => ['required'], 'content'...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false
houdunwang/houdunren
https://github.com/houdunwang/houdunren/blob/f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f/app/Http/Requests/UpdateShortVideoRequest.php
app/Http/Requests/UpdateShortVideoRequest.php
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class UpdateShortVideoRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return isAdministrator(); } ...
php
MIT
f0763bca4e8da0c13cb3f5acab9b2f603d15cb8f
2026-01-05T03:51:59.355209Z
false