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
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/routes/console.php
Chapter08/backend/routes/console.php
<?php use Illuminate\Foundation\Inspiring; use Illuminate\Support\Facades\Artisan; /* |-------------------------------------------------------------------------- | Console Routes |-------------------------------------------------------------------------- | | This file is where you may define all of your Closure based...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/public/index.php
Chapter08/backend/public/index.php
<?php use Illuminate\Contracts\Http\Kernel; use Illuminate\Http\Request; define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- | Check If Application Is Under Maintenance |-------------------------------------------------------------------------- | |...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/app.php
Chapter08/backend/config/app.php
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/logging.php
Chapter08/backend/config/logging.php
<?php use Monolog\Handler\NullHandler; use Monolog\Handler\StreamHandler; use Monolog\Handler\SyslogUdpHandler; return [ /* |-------------------------------------------------------------------------- | Default Log Channel |-------------------------------------------------------------------------- ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/session.php
Chapter08/backend/config/session.php
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Session Driver |-------------------------------------------------------------------------- | | This option controls the default session "driver" that will be use...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/queue.php
Chapter08/backend/config/queue.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Queue Connection Name |-------------------------------------------------------------------------- | | Laravel's queue API supports an assortment of back-ends via a single | API, giving y...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/jwt.php
Chapter08/backend/config/jwt.php
<?php /* * This file is part of jwt-auth. * * (c) Sean Tymon <tymon148@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ /* |-------------------------------------------------------------------------- ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/cache.php
Chapter08/backend/config/cache.php
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Cache Store |-------------------------------------------------------------------------- | | This option controls the default cache connection that gets used whil...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/hashing.php
Chapter08/backend/config/hashing.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Hash Driver |-------------------------------------------------------------------------- | | This option controls the default hash driver that will be used to hash | passwords for your ap...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/view.php
Chapter08/backend/config/view.php
<?php return [ /* |-------------------------------------------------------------------------- | View Storage Paths |-------------------------------------------------------------------------- | | Most templating systems load templates from disk. Here you may specify | an array of paths that...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/database.php
Chapter08/backend/config/database.php
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections b...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/services.php
Chapter08/backend/config/services.php
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Mailgun, Postmark...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/filesystems.php
Chapter08/backend/config/filesystems.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. T...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/mail.php
Chapter08/backend/config/mail.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Mailer |-------------------------------------------------------------------------- | | This option controls the default mailer that is used to send any email | messages sent by your appl...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/cors.php
Chapter08/backend/config/cors.php
<?php return [ /* |-------------------------------------------------------------------------- | Cross-Origin Resource Sharing (CORS) Configuration |-------------------------------------------------------------------------- | | Here you may configure your settings for cross-origin resource shar...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/broadcasting.php
Chapter08/backend/config/broadcasting.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Broadcaster |-------------------------------------------------------------------------- | | This option controls the default broadcaster that will be used by the | framework when an even...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/config/auth.php
Chapter08/backend/config/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/database/factories/UserFactory.php
Chapter08/backend/database/factories/UserFactory.php
<?php namespace Database\Factories; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; class UserFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = User::class; /** ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/database/migrations/2020_09_20_001440_create_chats_table.php
Chapter08/backend/database/migrations/2020_09_20_001440_create_chats_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateChatsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('chats', function ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/database/migrations/2014_10_12_000000_create_users_table.php
Chapter08/backend/database/migrations/2014_10_12_000000_create_users_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/database/migrations/2020_09_20_001452_create_messages_table.php
Chapter08/backend/database/migrations/2020_09_20_001452_create_messages_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateMessagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('messages', fun...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/database/migrations/2014_10_12_100000_create_password_resets_table.php
Chapter08/backend/database/migrations/2014_10_12_100000_create_password_resets_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePasswordResetsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('password...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/database/migrations/2019_08_19_000000_create_failed_jobs_table.php
Chapter08/backend/database/migrations/2019_08_19_000000_create_failed_jobs_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFailedJobsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('failed_jobs'...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/database/seeders/DatabaseSeeder.php
Chapter08/backend/database/seeders/DatabaseSeeder.php
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Str; use App\Models\User; use App\Models\Chat; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return v...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/resources/lang/en/passwords.php
Chapter08/backend/resources/lang/en/passwords.php
<?php return [ /* |-------------------------------------------------------------------------- | Password Reset Language Lines |-------------------------------------------------------------------------- | | The following language lines are the default lines which match reasons | that are gi...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/resources/lang/en/pagination.php
Chapter08/backend/resources/lang/en/pagination.php
<?php return [ /* |-------------------------------------------------------------------------- | Pagination Language Lines |-------------------------------------------------------------------------- | | The following language lines are used by the paginator library to build | the simple pag...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/resources/lang/en/validation.php
Chapter08/backend/resources/lang/en/validation.php
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/resources/lang/en/auth.php
Chapter08/backend/resources/lang/en/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/resources/views/welcome.blade.php
Chapter08/backend/resources/views/welcome.blade.php
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css2?family=Nunito...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/src/LapseServiceProvider.php
src/LapseServiceProvider.php
<?php namespace Pyaesone17\Lapse; use Illuminate\Support\ServiceProvider; use Route; class LapseServiceProvider extends ServiceProvider { /** * Perform post-registration booting of services. * * @return void */ public function boot() { app('router')->aliasMiddleware('cors', \P...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/src/ErrorNotifiable.php
src/ErrorNotifiable.php
<?php namespace Pyaesone17\Lapse; use Pyaesone17\Lapse\Notifications\RemindExceptionNotification; use Illuminate\Notifications\Notifiable; use Illuminate\Notifications\AnonymousNotifiable; use Pyaesone17\Lapse\Models\Lapse; use Notification; use Throwable; use Exception; trait ErrorNotifiable { /** * Send n...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/src/Lapse.php
src/Lapse.php
<?php namespace Pyaesone17\Lapse; use Closure; class Lapse { /** * The callback that should be used to authenticate Lapse users. * * @var \Closure */ public static $authUsing; /** * Determine if the given request can access the Lapse dashboard. * * @param \Illuminate\...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/src/Exceptions/NotificationFormatterException.php
src/Exceptions/NotificationFormatterException.php
<?php namespace Pyaesone17\Lapse\Notifications; use Exception; class NotificationFormatterException extends Exception { public function __construct($message, $code = 0, Exception $previous = null) { parent::__construct($message, $code, $previous); } public function __toString() { ...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/src/Http/Controllers/LapseController.php
src/Http/Controllers/LapseController.php
<?php namespace Pyaesone17\Lapse\Http\Controllers; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Pyaesone17\Lapse\Http\Middleware\Authenticate; use Pyaesone17\Lapse\Models\Lapse; class LapseController extends Controller { /** * Create a new controller instance. * * @return v...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/src/Http/Middleware/Authenticate.php
src/Http/Middleware/Authenticate.php
<?php namespace Pyaesone17\Lapse\Http\Middleware; use Pyaesone17\Lapse\Lapse; class Authenticate { /** * Handle the incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return \Illuminate\Http\Response */ public function handle($request, ...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/src/Http/Middleware/CORS.php
src/Http/Middleware/CORS.php
<?php namespace Pyaesone17\Lapse\Http\Middleware; use Closure; class CORS { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { header("Acces...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/src/Notifications/RemindExceptionNotification.php
src/Notifications/RemindExceptionNotification.php
<?php namespace Pyaesone17\Lapse\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Messages\SlackMessage; use Exception; class RemindExceptionNotification ...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/src/Models/Lapse.php
src/Models/Lapse.php
<?php namespace Pyaesone17\Lapse\Models; use Illuminate\Database\Eloquent\Model; use Carbon\Carbon; use Exception; class Lapse extends Model { protected $fillable = [ 'class', 'title', 'user_id', 'content', 'url', 'payload', 'method' ]; // public function scopeSearch($query, $reques...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/src/Commands/ClearLapse.php
src/Commands/ClearLapse.php
<?php namespace Pyaesone17\Lapse\Commands; use Illuminate\Console\Command; use Pyaesone17\Lapse\Models\Lapse; use DB; class ClearLapse extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'clear:lapse'; /** * The consol...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/routes/web.php
routes/web.php
<?php Route::get('/', 'LapseController@index')->name('index'); Route::get('/detail/{id?}', 'LapseController@detail')->name('detail'); Route::delete('/clear', 'LapseController@clear')->name('clear'); Route::delete('/{id}', 'LapseController@destroy')->name('destroy'); Route::get('/{id}', 'LapseController@index');
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/config/lapse.php
config/lapse.php
<?php return [ 'prefix' => '', 'channels' => [ 'slack' => 'https://hooks.slack.com/services/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', 'mail' => 'blahblah@gmail.com', ], // Currently three notification channels supported // Those are database, slack and email 'via' => ['sla...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/database/migrations/2018_07_20_174106_create_lapses_table.php
database/migrations/2018_07_20_174106_create_lapses_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLapsesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('lapses', functio...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/resources/views/detail.blade.php
resources/views/detail.blade.php
@extends("lapse::app") @section('content') <style> .container-table100{ background: #c4d3f6 } </style> <div class="wrap-table"> <div class="table" style="border-radius: 0"> <div> <h3>{{ $lapse->title }}</h3> <br/> <h6>Class : <span style="color: #666666"> {{ $lapse-...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/resources/views/index.blade.php
resources/views/index.blade.php
@extends("lapse::app") @section('content') <div class="lapse-body"> <br/> <div> <h3 style="text-align: center; margin-bottom: 20px"> LARAVEL LAPSE</h3> <h4 style="text-align: center; margin-bottom: 50px">Laravel Self Hosted Error Tracking System</h4> </div> <div> <form class="fo...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/resources/views/css.blade.php
resources/views/css.blade.php
<style> .input-group>.form-control:not(:last-child) { border-top-right-radius: 3px; border-bottom-right-radius: 3px; } .input-group>.form-control:not(:first-child) { border-top-left-radius: 3px; border-bottom-left-radius: 3px; } .container { max-width: 960px; } /* * Custom translucent site header...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
pyaesone17/lapse
https://github.com/pyaesone17/lapse/blob/a9c5ab19ed683bd234201487362ad64b3b197a39/resources/views/app.blade.php
resources/views/app.blade.php
<html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Laravel Lapse</title> <!-- Bootstrap core CSS --> <link rel="stylesheet" href="...
php
MIT
a9c5ab19ed683bd234201487362ad64b3b197a39
2026-01-05T03:43:46.910650Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/rector.php
rector.php
<?php declare(strict_types=1); use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector; use Rector\Config\RectorConfig; use Rector\Set\ValueObject\LevelSetList; return static function (RectorConfig $rectorConfig): void { $rectorConfig->paths([ // __DIR__.'/config', // __DIR_...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/ModularServiceProvider.php
src/ModularServiceProvider.php
<?php namespace Modular\Modular; use Modular\Modular\Components\Translations; use Modular\Modular\Console\InstallCommand; use Modular\Modular\Console\MakeComponentCommand; use Modular\Modular\Console\MakeComposableCommand; use Modular\Modular\Console\MakeControllerCommand; use Modular\Modular\Console\MakeFactoryComma...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Components/Translations.php
src/Components/Translations.php
<?php namespace Modular\Modular\Components; use Closure; use Illuminate\Contracts\View\View; use Illuminate\Support\Arr; use Illuminate\Support\Facades\File; use Illuminate\View\Component; class Translations extends Component { public function render(): View|Closure|string { $locale = app()->getLocal...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeMigrationCommand.php
src/Console/MakeMigrationCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakeMigrationCommand extends Command { use ModuleExists; protected $signature = 'modular:make-migration {...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeValidateCommand.php
src/Console/MakeValidateCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakeValidateCommand extends Command { use ModuleExists; protected $signature = 'modular:make-validate {moduleName} {resourceName}'; protec...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeFactoryCommand.php
src/Console/MakeFactoryCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakeFactoryCommand extends Command { use ModuleExists; protected $signature = 'modular:make-factory {modu...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakePageCommand.php
src/Console/MakePageCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakePageCommand extends Command { use ModuleExists; protected $signature = 'modular:make-page {moduleName...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeServiceCommand.php
src/Console/MakeServiceCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakeServiceCommand extends Command { use ModuleExists; protected $signature = 'modular:make-service {modu...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/PublishLaravelTranslationsCommand.php
src/Console/PublishLaravelTranslationsCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; class PublishLaravelTranslationsCommand extends Command { protected $signature = 'modular:publish-laravel-translations {--lang=}'; protected $description = 'Publishes Laravel native\'s translation ...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeControllerCommand.php
src/Console/MakeControllerCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakeControllerCommand extends Command { use ModuleExists; protected $signature = 'modular:make-controller...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/InstallCommand.php
src/Console/InstallCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Modular\Modular\Console\InstallerTraits\BackendPackages; use Modular\Modular\Console\InstallerTraits\CoreModules; use Modular\Modular\Console\InstallerTraits\FrontendPackages; use Modular\Modular\Console\InstallerTraits\PestTests; use Symfon...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeSeederCommand.php
src/Console/MakeSeederCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakeSeederCommand extends Command { use ModuleExists; protected $signature = 'modular:make-seeder {module...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeModuleCommand.php
src/Console/MakeModuleCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Facades\File; use Illuminate\Support\Str; class MakeModuleCommand extends Command { protected $signature = 'modular:make-module {name}'; protected $description = 'Create a ne...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeComposableCommand.php
src/Console/MakeComposableCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakeComposableCommand extends Command { use ModuleExists; protected $signature = 'modular:make-composable...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeModelCommand.php
src/Console/MakeModelCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakeModelCommand extends Command { use ModuleExists; protected $signature = 'modular:make-model {moduleName} {resourceName}'; protected $d...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/RegisterServiceProviderCommand.php
src/Console/RegisterServiceProviderCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; class RegisterServiceProviderCommand extends Command { protected $signature = 'modular:register-provider {name}'; protected $description = 'Register a module service provider'; public function handle(): int { $moduleNa...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/PublishSiteFilesCommand.php
src/Console/PublishSiteFilesCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Modular\Modular\Console\SiteTraits\ConfigureViews; use Modular\Modular\Console\SiteTraits\CopySiteFiles; use Modular\Modular\Console\SiteTraits\PublishConfigFile; class PublishSiteFilesCommand extends Command { use ConfigureViews, CopyS...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeRouteCommand.php
src/Console/MakeRouteCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakeRouteCommand extends Command { use ModuleExists; protected $signature = 'modular:make-route {moduleName} {resourceName}'; protected $d...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeComponentCommand.php
src/Console/MakeComponentCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakeComponentCommand extends Command { use ModuleExists; protected $signature = 'modular:make-component {...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/MakeTestCommand.php
src/Console/MakeTestCommand.php
<?php namespace Modular\Modular\Console; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; use Modular\Modular\Console\InstallerTraits\ModuleExists; class MakeTestCommand extends Command { use ModuleExists; protected $signature = 'modular:make-test {moduleName...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/InstallerTraits/ModuleExists.php
src/Console/InstallerTraits/ModuleExists.php
<?php namespace Modular\Modular\Console\InstallerTraits; trait ModuleExists { private function moduleExists(): bool { if (! is_dir(base_path("modules/{$this->moduleName}"))) { $this->components->error("Module {$this->moduleName} does not exist."); return false; } ...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/InstallerTraits/FrontendPackages.php
src/Console/InstallerTraits/FrontendPackages.php
<?php namespace Modular\Modular\Console\InstallerTraits; use Illuminate\Filesystem\Filesystem; use RuntimeException; use Symfony\Component\Process\Process; trait FrontendPackages { /** * Install the Inertia Vue Breeze stack. */ protected function installFrontendPackages(): void { stati...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/InstallerTraits/BackendPackages.php
src/Console/InstallerTraits/BackendPackages.php
<?php namespace Modular\Modular\Console\InstallerTraits; use Symfony\Component\Process\Process; trait BackendPackages { protected function setupBackendPackages(): void { $this->components->info('Publishing vendor files...'); $this->publishVendorFiles(); } protected function publishVe...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/InstallerTraits/PestTests.php
src/Console/InstallerTraits/PestTests.php
<?php namespace Modular\Modular\Console\InstallerTraits; use Illuminate\Filesystem\Filesystem; use Symfony\Component\Process\Process; trait PestTests { protected function setupPestTests(): void { $this->components->info('Configuring Pest tests...'); $this->configureTests(); } protect...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/InstallerTraits/CoreModules.php
src/Console/InstallerTraits/CoreModules.php
<?php namespace Modular\Modular\Console\InstallerTraits; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Arr; use Illuminate\Support\Str; use Symfony\Component\Process\Process; trait CoreModules { protected function configureCoreModules(): void { $this->configureMiddlewares(); $...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/SiteTraits/PublishConfigFile.php
src/Console/SiteTraits/PublishConfigFile.php
<?php namespace Modular\Modular\Console\SiteTraits; trait PublishConfigFile { private function publishModularConfigFile(): void { if (file_exists(config_path('modular.php'))) { $this->info('The Modular config file already exists. Moving on...'); } else { $this->call('ve...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/SiteTraits/ConfigureViews.php
src/Console/SiteTraits/ConfigureViews.php
<?php namespace Modular\Modular\Console\SiteTraits; trait ConfigureViews { private function configureViews(): void { $configViewFilePath = config_path('view.php'); if (! file_exists($configViewFilePath)) { $this->call('config:publish', [ 'name' => 'view', ...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/src/Console/SiteTraits/CopySiteFiles.php
src/Console/SiteTraits/CopySiteFiles.php
<?php namespace Modular\Modular\Console\SiteTraits; use Illuminate\Filesystem\Filesystem; trait CopySiteFiles { private function copySupportModuleFiles(): void { $this->info('Copying Support Module files...'); copy(__DIR__.'/../../../stubs/site/modules/Support/SiteController.php', base_path(...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Pest.php
tests/Pest.php
<?php use Modular\Modular\Tests\TestCase; uses(TestCase::class)->in(__DIR__);
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/TestCase.php
tests/TestCase.php
<?php namespace Modular\Modular\Tests; use Illuminate\Filesystem\Filesystem; use Modular\Modular\ModularServiceProvider; use Orchestra\Testbench\TestCase as Orchestra; class TestCase extends Orchestra { protected function setUp(): void { parent::setUp(); (new Filesystem)->ensureDirectoryExis...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakePageCommandTest.php
tests/Console/MakePageCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); (new Filesystem)->deleteDirectory(resource_path('js/Pages')); }); it('can run modular:make-page comm...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeControllerCommandTest.php
tests/Console/MakeControllerCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); }); it('can run modular:make-controller command', function () { $this->artisan('modular:make-control...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeFactoryCommandTest.php
tests/Console/MakeFactoryCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); }); it('can run modular:make-factory command', function () { $this->artisan('modular:make-factory Mo...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/PublishSiteFilesCommandTest.php
tests/Console/PublishSiteFilesCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->configViewFilePath = config_path('view.php'); $this->viewConfig = file_get_contents($this->configViewFilePath); $this->artisan('modular:make-module Support'); }); afterEach(function () { (new Filesystem)->deleteDirectory(bas...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeComponentCommandTest.php
tests/Console/MakeComponentCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); (new Filesystem)->deleteDirectory(resource_path('js/Pages')); }); it('can run modular:make-component...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeMigrationCommandTest.php
tests/Console/MakeMigrationCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); }); it('can run modular:make-migration command', function () { $this->artisan('modular:make-migratio...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeTestCommandTest.php
tests/Console/MakeTestCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); }); it('can run modular:make-test command', function () { $this->artisan('modular:make-test ModuleNa...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeComposableCommandTest.php
tests/Console/MakeComposableCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); (new Filesystem)->deleteDirectory(resource_path('js/Pages')); }); it('can run modular:make-composabl...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeModelCommandTest.php
tests/Console/MakeModelCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); }); it('can run modular:make-model command', function () { $this->artisan('modular:make-model module...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeRouteCommandTest.php
tests/Console/MakeRouteCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); }); it('can run modular:make-route command', function () { $this->artisan('modular:make-route module...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeServiceCommandTest.php
tests/Console/MakeServiceCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); }); it('can run modular:make-service command', function () { $this->artisan('modular:make-service mo...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeValidateCommandTest.php
tests/Console/MakeValidateCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); }); it('can run modular:make-validate command', function () { $this->artisan('modular:make-validate ...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeModuleCommandTest.php
tests/Console/MakeModuleCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); }); it('can run modular:make-module command', function () { $this->artisan('modular:make-module moduleName')->assertSuccessful(); }); it('can set the module name', function () { $...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/RegisterServiceProviderCommandTest.php
tests/Console/RegisterServiceProviderCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; use Modular\Modular\Console\RegisterServiceProviderCommand; use Modular\Modular\ModularServiceProvider; // Store initial content as a variable in the closure scope $initialProvidersContent = <<<'PHP' <?php return [ App\Providers\AppServiceProvider::class, ]; PHP; befo...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/tests/Console/MakeSeederCommandTest.php
tests/Console/MakeSeederCommandTest.php
<?php use Illuminate\Filesystem\Filesystem; beforeEach(function () { $this->artisan('modular:make-module ModuleName'); }); afterEach(function () { (new Filesystem)->deleteDirectory(base_path('modules')); }); it('can run modular:make-seeder command', function () { $this->artisan('modular:make-seeder modu...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/config/modular.php
config/modular.php
<?php return [ 'login-url' => '/', 'default-logged-route' => 'dashboard.index', ];
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/stubs/site/resources-site/views/site-layout.blade.php
stubs/site/resources-site/views/site-layout.blade.php
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>@yield('meta-title', config('app.name', 'Modular'))</title> <meta name="description" content="@yield(...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/stubs/site/resources-site/views/pagination/tailwind.blade.php
stubs/site/resources-site/views/pagination/tailwind.blade.php
@if ($paginator->hasPages()) <nav role="navigation" aria-label="{{ __('Pagination Navigation') }}" class="flex items-center justify-between "> <div class="flex justify-between flex-1 sm:hidden"> @if ($paginator->onFirstPage()) <span class="relative inline-flex...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/stubs/site/resources-site/views/pagination/simple-tailwind.blade.php
stubs/site/resources-site/views/pagination/simple-tailwind.blade.php
@if ($paginator->hasPages()) <nav role="navigation" aria-label="Pagination Navigation" class="flex justify-between"> {{-- Previous Page Link --}} @if ($paginator->onFirstPage()) <span class="relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-500 bg-white border bor...
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/stubs/site/modules/Support/SiteController.php
stubs/site/modules/Support/SiteController.php
<?php namespace Modules\Support\Http\Controllers; use Illuminate\Routing\Controller; class SiteController extends Controller {}
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/stubs/site/modules/Support/SiteModel.php
stubs/site/modules/Support/SiteModel.php
<?php namespace Modules\Support\Models; use Illuminate\Database\Eloquent\Model; class SiteModel extends Model {}
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/stubs/site/modules/Index/IndexServiceProvider.php
stubs/site/modules/Index/IndexServiceProvider.php
<?php namespace Modules\Index; use Modules\Support\BaseServiceProvider; class IndexServiceProvider extends BaseServiceProvider { protected $namespace = 'Modules\Index\Http\Controllers'; public function boot() { parent::boot(); $this->loadViewsFrom(__DIR__.'/views', 'index'); } }
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/stubs/site/modules/Index/Http/Requests/IndexValidate.php
stubs/site/modules/Index/Http/Requests/IndexValidate.php
<?php namespace Modules\Index\Http\Requests; use Modular\Modular\Http\Requests\Request; class IndexValidate extends Request { public function rules(): array { return [ // 'name' => 'required', ]; } }
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false
ModularThink/modular
https://github.com/ModularThink/modular/blob/60a594b46f03aa8a9b223fea9862c3653199f0ee/stubs/site/modules/Index/Http/Controllers/IndexController.php
stubs/site/modules/Index/Http/Controllers/IndexController.php
<?php namespace Modules\Index\Http\Controllers; use Modules\Support\Http\Controllers\SiteController; class IndexController extends SiteController { public function index() { return view('index::index'); } }
php
MIT
60a594b46f03aa8a9b223fea9862c3653199f0ee
2026-01-05T03:43:49.233096Z
false