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
beyondcode/github-now
https://github.com/beyondcode/github-now/blob/255823440a10a95301f9e4c169f6db7477534449/resources/views/preview.blade.php
resources/views/preview.blade.php
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/4.0.0/github-markdown.min.css" integrity="sha512-Oy18vBnbSJkXTndr2n6lDMO5NN31UljR8e/ICzVPrGpSud4Gkckb8yUpqhKuUNoE+o9gAb4O/rAxxw1ojyUVzg==" cr...
php
MIT
255823440a10a95301f9e4c169f6db7477534449
2026-01-05T04:25:16.181261Z
false
beyondcode/github-now
https://github.com/beyondcode/github-now/blob/255823440a10a95301f9e4c169f6db7477534449/resources/views/profile.blade.php
resources/views/profile.blade.php
# My GitHub profile <x-currently-playing-on-spotify /> <x-upcoming-events :redact-name="true" />
php
MIT
255823440a10a95301f9e4c169f6db7477534449
2026-01-05T04:25:16.181261Z
false
beyondcode/github-now
https://github.com/beyondcode/github-now/blob/255823440a10a95301f9e4c169f6db7477534449/resources/views/components/currently-playing-on-spotify.blade.php
resources/views/components/currently-playing-on-spotify.blade.php
## Currently Playing ♬ @if (!is_null($currentTrack)) [<img align="left" width="100" src="{{ array_shift($currentTrack->item->album->images)->url }}">]({{ $currentTrack->item->external_urls->spotify }}) {{ collect($currentTrack->item->album->artists)->pluck('name')->join(' ') }} - {{ $currentTrack->item->name }} **Alb...
php
MIT
255823440a10a95301f9e4c169f6db7477534449
2026-01-05T04:25:16.181261Z
false
beyondcode/github-now
https://github.com/beyondcode/github-now/blob/255823440a10a95301f9e4c169f6db7477534449/resources/views/components/upcoming-events.blade.php
resources/views/components/upcoming-events.blade.php
## Upcoming Events Event | When | Duration ----|----|---- @foreach($events as $event) {{ $redactName ? 'Redacted' : $event->name }} | {{ $event->startDate->diffForHumans() }} | {{ $event->startDate->diffInHours($event->endDate) }} {{ \Illuminate\Support\Str::plural('hour', $event->startDate->diffInHours($event->endDat...
php
MIT
255823440a10a95301f9e4c169f6db7477534449
2026-01-05T04:25:16.181261Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/ListensForStorageOpportunities.php
src/ListensForStorageOpportunities.php
<?php namespace TobiasDierich\Gauge; use TobiasDierich\Gauge\Contracts\EntriesRepository; trait ListensForStorageOpportunities { /** * Register listeners that store the recorded Gauge entries. * * @param \Illuminate\Foundation\Application $app * * @return void */ public static f...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/GaugeApplicationServiceProvider.php
src/GaugeApplicationServiceProvider.php
<?php namespace TobiasDierich\Gauge; use Illuminate\Support\Facades\Gate; use Illuminate\Support\ServiceProvider; class GaugeApplicationServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { $this->autho...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/GaugeServiceProvider.php
src/GaugeServiceProvider.php
<?php namespace TobiasDierich\Gauge; use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\Route; use Illuminate\Support\ServiceProvider; use TobiasDierich\Gauge\Contracts\ClearableRepository; use TobiasDierich\Gauge\Contracts\EntriesRepository; use TobiasDierich\Gauge\Contracts\PrunableRepository; use...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/IncomingEntry.php
src/IncomingEntry.php
<?php namespace TobiasDierich\Gauge; use Illuminate\Support\Str; class IncomingEntry { /** * The entry's UUID. * * @var string */ public $uuid; /** * The entry's type. * * @var string */ public $type; /** * The entry's family hash. * * @var...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/RegistersWatchers.php
src/RegistersWatchers.php
<?php namespace TobiasDierich\Gauge; trait RegistersWatchers { /** * The class names of the registered watchers. * * @var array */ protected static $watchers = []; /** * Determine if a given watcher has been registered. * * @param string $class * * @return boo...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/EntryResult.php
src/EntryResult.php
<?php namespace TobiasDierich\Gauge; use Carbon\Carbon; use JsonSerializable; class EntryResult implements JsonSerializable { /** * The entry's type. * * @var string */ public $type; /** * The family hash. * * @var string|null */ public $familyHash; /** ...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/AuthorizesRequests.php
src/AuthorizesRequests.php
<?php namespace TobiasDierich\Gauge; trait AuthorizesRequests { /** * The callback that should be used to authenticate Gauge users. * * @var \Closure */ public static $authUsing; /** * Register the Gauge authentication callback. * * @param \Closure $callback * ...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/FamilyResult.php
src/FamilyResult.php
<?php namespace TobiasDierich\Gauge; use Carbon\Carbon; use JsonSerializable; class FamilyResult implements JsonSerializable { /** * The family's type. * * @var string */ public $type; /** * The family hash. * * @var string|null */ public $familyHash; /**...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Gauge.php
src/Gauge.php
<?php namespace TobiasDierich\Gauge; use Exception; use Illuminate\Contracts\Debug\ExceptionHandler; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Testing\Fakes\EventFake; use Throwable; use TobiasDierich\Gauge\Contracts\EntriesRepository; class Gauge { use AuthorizesRequests, ListensForSto...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/EntryType.php
src/EntryType.php
<?php namespace TobiasDierich\Gauge; class EntryType { public const QUERY = 'query'; public const REQUEST = 'request'; }
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/FormatModel.php
src/FormatModel.php
<?php namespace TobiasDierich\Gauge; use Illuminate\Support\Arr; class FormatModel { /** * Format the given model to a readable string. * * @param \Illuminate\Database\Eloquent\Model $model * * @return string */ public static function given($model) { return get_class...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/GaugeHelper.php
src/GaugeHelper.php
<?php namespace TobiasDierich\Gauge; class GaugeHelper { /** * @param int $nanoseconds * * @return string */ public static function formatNanoseconds(int $nanoseconds) { $units = ['ns', 'ms', 's']; $precision = 0; $pow = floor(($nanoseconds ? log($nanoseconds) ...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Http/routes.php
src/Http/routes.php
<?php use Illuminate\Support\Facades\Route; Route::group(['as' => 'gauge.'], function () { Route::prefix('gauge-api')->group(function () { Route::post('requests/metrics', 'Api\RequestMetricsController@show'); Route::post('queries/metrics', 'Api\QueryMetricsController@show'); }); Route::g...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Http/Controllers/QueriesController.php
src/Http/Controllers/QueriesController.php
<?php namespace TobiasDierich\Gauge\Http\Controllers; use Illuminate\Routing\Controller; use TobiasDierich\Gauge\Contracts\EntriesRepository; use TobiasDierich\Gauge\Storage\FamilyQueryOptions; class QueriesController extends Controller { /** * Display the queries overview. * * @param \TobiasDieri...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Http/Controllers/RequestsController.php
src/Http/Controllers/RequestsController.php
<?php namespace TobiasDierich\Gauge\Http\Controllers; use Illuminate\Routing\Controller; use TobiasDierich\Gauge\Contracts\EntriesRepository; use TobiasDierich\Gauge\Storage\FamilyQueryOptions; class RequestsController extends Controller { /** * Display the requests overview. * * @param \TobiasDie...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Http/Controllers/DashboardController.php
src/Http/Controllers/DashboardController.php
<?php namespace TobiasDierich\Gauge\Http\Controllers; use Illuminate\Routing\Controller; use TobiasDierich\Gauge\Contracts\EntriesRepository; use TobiasDierich\Gauge\Storage\FamilyQueryOptions; class DashboardController extends Controller { /** * Display the Gauge dashboard. * * @param \TobiasDier...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Http/Controllers/Api/RequestMetricsController.php
src/Http/Controllers/Api/RequestMetricsController.php
<?php namespace TobiasDierich\Gauge\Http\Controllers\Api; use TobiasDierich\Gauge\EntryType; class RequestMetricsController extends MetricController { /** * @return string */ protected function entryType() { return EntryType::REQUEST; } }
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Http/Controllers/Api/MetricController.php
src/Http/Controllers/Api/MetricController.php
<?php namespace TobiasDierich\Gauge\Http\Controllers\Api; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use TobiasDierich\Gauge\Storage\MetricQueryOptions; use TobiasDierich\Gauge\Storage\MetricsRepository; abstract class MetricController extends Controller { /** * The entry type for the c...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Http/Controllers/Api/QueryMetricsController.php
src/Http/Controllers/Api/QueryMetricsController.php
<?php namespace TobiasDierich\Gauge\Http\Controllers\Api; use TobiasDierich\Gauge\EntryType; class QueryMetricsController extends MetricController { /** * @return string */ protected function entryType() { return EntryType::QUERY; } }
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Http/Middleware/Authorize.php
src/Http/Middleware/Authorize.php
<?php namespace TobiasDierich\Gauge\Http\Middleware; use TobiasDierich\Gauge\Gauge; class Authorize { /** * Handle the incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * * @return \Illuminate\Http\Response */ public func...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Storage/MetricQueryOptions.php
src/Storage/MetricQueryOptions.php
<?php namespace TobiasDierich\Gauge\Storage; use Illuminate\Http\Request; use Illuminate\Support\Carbon; class MetricQueryOptions { /** * @var string */ public $unit; /** * @var int */ public $unitStep = 1; /** * @var \Illuminate\Support\Carbon */ public $start...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Storage/FamilyQueryOptions.php
src/Storage/FamilyQueryOptions.php
<?php namespace TobiasDierich\Gauge\Storage; use Illuminate\Http\Request; class FamilyQueryOptions { /** * The family hash that must belong to retrieved entries. * * @var string */ public $familyHash; /** * The column by which the results should be sorted. * * @var str...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Storage/DatabaseEntriesRepository.php
src/Storage/DatabaseEntriesRepository.php
<?php namespace TobiasDierich\Gauge\Storage; use Carbon\Carbon; use DateTimeInterface; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; use TobiasDierich\Gauge\Contracts\ClearableRepository; use TobiasDierich\Gauge\Contracts\EntriesRepository as Contract; use TobiasDierich\Gauge\Contracts\Prunabl...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Storage/MetricsRepository.php
src/Storage/MetricsRepository.php
<?php namespace TobiasDierich\Gauge\Storage; use Carbon\CarbonPeriod; use Illuminate\Support\Carbon; use Illuminate\Support\Str; class MetricsRepository { /** * The database connection name that should be used. * * @var string */ protected $connection; /** * Create a new metrics...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Storage/EntryModel.php
src/Storage/EntryModel.php
<?php namespace TobiasDierich\Gauge\Storage; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class EntryModel extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'gauge_entries'; /** * The name of the "updat...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Storage/factories/EntryModelFactory.php
src/Storage/factories/EntryModelFactory.php
<?php use TobiasDierich\Gauge\EntryType; use TobiasDierich\Gauge\Storage\EntryModel; /* @var \Illuminate\Database\Eloquent\Factory $factory */ $factory->define(EntryModel::class, function (Faker\Generator $faker) { return [ 'sequence' => random_int(1, 10000), 'uuid' => $faker->uuid, 't...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Storage/migrations/2018_08_08_100000_create_gauge_entries_table.php
src/Storage/migrations/2018_08_08_100000_create_gauge_entries_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateGaugeEntriesTable extends Migration { /** * The database schema. * * @var \Illuminate\Database\Schema\Builder */ protected $schema; /** ...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Contracts/ClearableRepository.php
src/Contracts/ClearableRepository.php
<?php namespace TobiasDierich\Gauge\Contracts; interface ClearableRepository { /** * Clear all of the entries. * * @return void */ public function clear(); }
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Contracts/EntriesRepository.php
src/Contracts/EntriesRepository.php
<?php namespace TobiasDierich\Gauge\Contracts; use Illuminate\Support\Collection; use TobiasDierich\Gauge\Storage\FamilyQueryOptions; interface EntriesRepository { /** * Return one family of a given type. * * @param string $type * @param string $options * * @return \TobiasDierich\Ga...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Contracts/PrunableRepository.php
src/Contracts/PrunableRepository.php
<?php namespace TobiasDierich\Gauge\Contracts; use DateTimeInterface; interface PrunableRepository { /** * Prune all of the entries older than the given date. * * @param \DateTimeInterface $before * * @return void */ public function prune(DateTimeInterface $before); }
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Console/InstallCommand.php
src/Console/InstallCommand.php
<?php namespace TobiasDierich\Gauge\Console; use Illuminate\Console\Command; use Illuminate\Support\Str; class InstallCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'gauge:install'; /** * The console comma...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Console/ClearCommand.php
src/Console/ClearCommand.php
<?php namespace TobiasDierich\Gauge\Console; use Illuminate\Console\Command; use TobiasDierich\Gauge\Contracts\ClearableRepository; class ClearCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'gauge:clear'; /** ...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Console/PruneCommand.php
src/Console/PruneCommand.php
<?php namespace TobiasDierich\Gauge\Console; use Illuminate\Console\Command; use TobiasDierich\Gauge\Contracts\PrunableRepository; class PruneCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'gauge:prune {--hours=168 ...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Console/PublishCommand.php
src/Console/PublishCommand.php
<?php namespace TobiasDierich\Gauge\Console; use Illuminate\Console\Command; class PublishCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'gauge:publish {--force : Overwrite any existing files}'; /** * The ...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Watchers/Watcher.php
src/Watchers/Watcher.php
<?php namespace TobiasDierich\Gauge\Watchers; abstract class Watcher { /** * The configured watcher options. * * @var array */ public $options = []; /** * Create a new watcher instance. * * @param array $options * * @return void */ public function __c...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Watchers/RequestWatcher.php
src/Watchers/RequestWatcher.php
<?php namespace TobiasDierich\Gauge\Watchers; use Illuminate\Database\Eloquent\Model; use Illuminate\Foundation\Http\Events\RequestHandled; use Illuminate\Http\Request; use Illuminate\Http\Response as IlluminateResponse; use Illuminate\Support\Arr; use Illuminate\Support\Str; use Illuminate\View\View; use Symfony\Com...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Watchers/FetchesStackTrace.php
src/Watchers/FetchesStackTrace.php
<?php namespace TobiasDierich\Gauge\Watchers; use Illuminate\Support\Str; trait FetchesStackTrace { /** * Find the first frame in the stack trace outside of Gauge/Laravel. * * @return array */ protected function getCallerFromStackTrace() { $trace = collect(debug_backtrace(DEBU...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/src/Watchers/QueryWatcher.php
src/Watchers/QueryWatcher.php
<?php namespace TobiasDierich\Gauge\Watchers; use Illuminate\Database\Events\QueryExecuted; use TobiasDierich\Gauge\Gauge; use TobiasDierich\Gauge\IncomingEntry; class QueryWatcher extends Watcher { use FetchesStackTrace; /** * Register the watcher. * * @param \Illuminate\Contracts\Foundation...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/config/gauge.php
config/gauge.php
<?php use TobiasDierich\Gauge\Http\Middleware\Authorize; use TobiasDierich\Gauge\Watchers; return [ /* |-------------------------------------------------------------------------- | Gauge Domain |-------------------------------------------------------------------------- | | This is the subdoma...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/dashboard.blade.php
resources/views/dashboard.blade.php
@extends('gauge::layouts.default') @section('body') <div class="flex flex-wrap space-y-8 md:flex-no-wrap md:space-y-0 md:space-x-8"> <div class="w-full md:w-1/2"> <div id="requestsChart"> <chart :title="title" :endpoint="endpoint"></chart> </div> </div> ...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/requests.blade.php
resources/views/requests.blade.php
@extends('gauge::layouts.default') @section('body') <div class="bg-white rounded-lg shadow-lg overflow-scroll"> <table class="min-w-full divide-y divide-gray-200 text-xs md:text-sm"> <thead> <tr> <th class="px-4 md:px-6 py-2 md:py-3 text-left leading-4 font-medium te...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/queries.blade.php
resources/views/queries.blade.php
@extends('gauge::layouts.default') @section('body') <div class="bg-white rounded-lg shadow-lg overflow-scroll"> <table class="min-w-full divide-y divide-gray-200 text-xs md:text-sm"> <thead> <tr> <th class="px-4 md:px-6 py-2 md:py-3 text-left leading-4 font-medium te...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/request.blade.php
resources/views/request.blade.php
@extends('gauge::layouts.default') @section('body') <div class="bg-white py-3 rounded-lg shadow-lg"> <h2 class="px-4 md:px-6 md:text-lg text-gray-600 tracking-wider">Request Details</h2> <div class="py-2 w-full border-b border-gray-200"></div> <div class="mx-4 md:mx-6 mt-6"> <...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/components/method-badge.blade.php
resources/views/components/method-badge.blade.php
@switch($request->content['method']) @case('GET') <span class="px-2 leading-5 font-semibold rounded-full bg-blue-100 text-blue-800"> {{ $request->content['method'] }} </span> @break @case('POST') <span class="px-2 leading-5 font-semibold rounded-full bg-green-100 text-gr...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/components/status-badge.blade.php
resources/views/components/status-badge.blade.php
@switch(substr($request->content['response_status'], 0, 1)) @case('1') <span class="px-2 leading-5 font-semibold rounded-full bg-gray-100 text-gray-800"> {{ $request->content['response_status'] }} </span> @break @case('2') <span class="px-2 leading-5 font-semibold ro...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/partials/pagination.blade.php
resources/views/partials/pagination.blade.php
<nav role="navigation" aria-label="{{ __('Pagination Navigation') }}" class="flex items-center justify-between"> @if ($paginator->hasPages()) <div class="flex justify-between flex-1 sm:hidden"> @if ($paginator->onFirstPage()) <span class="relative inline-flex items-center px-4 py-2 text-sm t...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/partials/header.blade.php
resources/views/partials/header.blade.php
<div class="w-full flex space-x-4"> <div class="w-64 px-4"> <div class="py-4"> <a class="px-2 font-bold text-3xl tracking-wide hover:text-indigo-600" href="{{ route('gauge.dashboard') }}"> Gauge </a> </div> </div> </div>
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/partials/sidebar.blade.php
resources/views/partials/sidebar.blade.php
<nav class="flex flex-col md:space-y-8 px-4"> <div> <a class="flex px-2 py-2 items-center hover:bg-gray-300 rounded {{ Route::is('gauge.dashboard') ? 'font-semibold text-indigo-600 bg-gray-300' : '' }}" href="{{ route('gauge.dashboard') }}" > <svg class="h-5" xmln...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/partials/dashboard/queries-table.blade.php
resources/views/partials/dashboard/queries-table.blade.php
<table class="min-w-full divide-y divide-gray-200 text-xs"> <thead> <tr> <th class="px-4 py-1 text-left leading-4 font-medium text-gray-600 uppercase tracking-wider"> SQL </th> <th class="px-2 md:px-4 py-1 text-left leading-4 font-medium text-gray-600 uppercase tracking-wider...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/partials/dashboard/requests-table.blade.php
resources/views/partials/dashboard/requests-table.blade.php
<table class="min-w-full divide-y divide-gray-200 text-xs"> <thead> <tr> <th class="px-4 py-1 text-left leading-4 font-medium text-gray-600 uppercase tracking-wider"> Action </th> <th class="px-2 md:px-4 py-1 text-left leading-4 font-medium text-gray-600 uppercase tracking-wi...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
tobiasdierich/gauge
https://github.com/tobiasdierich/gauge/blob/9769c6f9f5b0f51abbd0babd676a17f67fabe999/resources/views/layouts/default.blade.php
resources/views/layouts/default.blade.php
<!DOCTYPE html> <html lang="en"> <head> <!-- Meta Information --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="robots" content="noindex, nofollow"> <title>Gauge{{ ...
php
MIT
9769c6f9f5b0f51abbd0babd676a17f67fabe999
2026-01-05T04:25:24.719626Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/src/TenantScope.php
src/TenantScope.php
<?php namespace AuraIsHere\LaravelMultiTenant; use AuraIsHere\LaravelMultiTenant\Exceptions\TenantColumnUnknownException; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\ScopeInterface; class TenantScope implements ScopeInterface { /** * @va...
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/src/LaravelMultiTenantServiceProvider.php
src/LaravelMultiTenantServiceProvider.php
<?php namespace AuraIsHere\LaravelMultiTenant; use AuraIsHere\LaravelMultiTenant\Facades\TenantScopeFacade; use Illuminate\Contracts\Foundation\Application; use Illuminate\Foundation\AliasLoader; use Illuminate\Support\ServiceProvider; class LaravelMultiTenantServiceProvider extends ServiceProvider { /** * ...
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/src/Exceptions/TenantNotSetException.php
src/Exceptions/TenantNotSetException.php
<?php namespace AuraIsHere\LaravelMultiTenant\Exceptions; use Exception; class TenantNotSetException extends Exception implements TenantExceptionInterface { // }
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/src/Exceptions/TenantBadFormatException.php
src/Exceptions/TenantBadFormatException.php
<?php namespace AuraIsHere\LaravelMultiTenant\Exceptions; use Exception; class TenantBadFormatException extends Exception implements TenantExceptionInterface { // }
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/src/Exceptions/TenantColumnUnknownException.php
src/Exceptions/TenantColumnUnknownException.php
<?php namespace AuraIsHere\LaravelMultiTenant\Exceptions; use Exception; class TenantColumnUnknownException extends Exception implements TenantExceptionInterface { // }
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/src/Exceptions/TenantModelNotFoundException.php
src/Exceptions/TenantModelNotFoundException.php
<?php namespace AuraIsHere\LaravelMultiTenant\Exceptions; use Illuminate\Database\Eloquent\ModelNotFoundException; class TenantModelNotFoundException extends ModelNotFoundException implements TenantExceptionInterface { /** * @param string $model * * @return $this */ public function setMod...
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/src/Exceptions/TenantExceptionInterface.php
src/Exceptions/TenantExceptionInterface.php
<?php namespace AuraIsHere\LaravelMultiTenant\Exceptions; interface TenantExceptionInterface { // }
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/src/Traits/TenantScopedModelTrait.php
src/Traits/TenantScopedModelTrait.php
<?php namespace AuraIsHere\LaravelMultiTenant\Traits; use AuraIsHere\LaravelMultiTenant\Exceptions\TenantModelNotFoundException; use AuraIsHere\LaravelMultiTenant\TenantScope; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\ModelNotFoundException; /** * Class TenantScopedModelTrait. * * @...
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/src/Facades/TenantScopeFacade.php
src/Facades/TenantScopeFacade.php
<?php namespace AuraIsHere\LaravelMultiTenant\Facades; use Illuminate\Support\Facades\Facade; class TenantScopeFacade extends Facade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'AuraIsHere\Larav...
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/tests/TenantScopeTest.php
tests/TenantScopeTest.php
<?php use AuraIsHere\LaravelMultiTenant\TenantScope; use Mockery as m; class TenantScopeTest extends PHPUnit_Framework_TestCase { public function tearDown() { m::close(); } public function testAccessors() { $tenantScope = new TenantScope(); $tenantScope->addTenant('column...
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/tests/TenantScopedModelTraitTest.php
tests/TenantScopedModelTraitTest.php
<?php use AuraIsHere\LaravelMultiTenant\Traits\TenantScopedModelTrait; use Illuminate\Database\Eloquent\ModelNotFoundException; use Mockery as m; class TenantScopedModelTraitTest extends PHPUnit_Framework_TestCase { public function tearDown() { m::close(); } public function testAllTenants() ...
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
hipsterjazzbo/laravel-multi-tenant
https://github.com/hipsterjazzbo/laravel-multi-tenant/blob/626c34520dfa088917c577307eb7b903a40df803/config/laravel-multi-tenant.php
config/laravel-multi-tenant.php
<?php return [ /* |-------------------------------------------------------------------------- | Tenant Column |-------------------------------------------------------------------------- | | Every model that needs to be scoped by tenant (company, user, etc.) | should have one or more column...
php
MIT
626c34520dfa088917c577307eb7b903a40df803
2026-01-05T04:25:28.441458Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/SinglePHP.class.php
SinglePHP.class.php
<?php /** * 获取和设置配置参数 支持批量定义 * 如果$key是关联型数组,则会按K-V的形式写入配置 * 如果$key是数字索引数组,则返回对应的配置数组 * @param string|array $key 配置变量 * @param array|null $value 配置值 * @return array|null */ function C($key,$value=null){ static $_config = array(); $args = func_num_args(); if($args == 1){ if(is_string($key)){ /...
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/demo/index.php
demo/index.php
<?php include '../SinglePHP.class.php'; $config = array('APP_PATH' => './App/'); SinglePHP::getInstance($config)->run();
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/demo/App/common.php
demo/App/common.php
<?php function testFunction(){ return 'from test function'; }
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/demo/App/Controller/BaseController.class.php
demo/App/Controller/BaseController.class.php
<?php class BaseController extends Controller{ protected function _init(){ header("Content-Type:text/html; charset=utf-8"); } }
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/demo/App/Controller/IndexController.class.php
demo/App/Controller/IndexController.class.php
<?php class IndexController extends BaseController { public function IndexAction(){ $this->assign('title', 'SinglePHP'); $this->display(); } public function UrlAction(){ echo 'url测试成功'; } public function RedirectAction(){ $this->redirect('http://www.baidu.com'); //302...
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/demo/App/Lib/Test.class.php
demo/App/Lib/Test.class.php
<?php class Test{ public function hello(){ echo 'greet from test class'; } }
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/demo/App/Widget/TestWidget.class.php
demo/App/Widget/TestWidget.class.php
<?php class TestWidget extends Widget { public function invoke($data){ $this->assign('data', $data); $this->display(); } }
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/demo/App/Widget/Tpl/TestWidget.php
demo/App/Widget/Tpl/TestWidget.php
this is from TestWidget, the data is <?php echo $data;?>
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/demo/App/View/Index/Widget.php
demo/App/View/Index/Widget.php
this is tpl file.<br/> <?php W('Test', 'abc');
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/demo/App/View/Index/Index.php
demo/App/View/Index/Index.php
<?php $data = array( 'title' => $title, 'body_class' => 'bs-docs-home', ); View::tplInclude('Public/header', $data); ?> <main class="bs-docs-masthead" id="content" role="main"> <div class="container"> <h1><?php echo $title;?></h1> <p class="lead">单文件PHP框架,羽量级网站开发首选</p> <p>本项目由<a href='http://leo108.com'...
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/demo/App/View/Public/footer.php
demo/App/View/Public/footer.php
<script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="http://cdn.bootcss.com/holder/2.0/holder.min.js"></script> <script src="http://cdn.bootcss.com/highlight.js/7.3/highlight.min.js"></script> <script >hljs.initHighlightingOnLoad();</script> <script src="http://v3.bootcss.com/...
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
leo108/SinglePHP
https://github.com/leo108/SinglePHP/blob/479ddf38c69b5723ee3c40c7378db0d5e7e62dc5/demo/App/View/Public/header.php
demo/App/View/Public/header.php
<!DOCTYPE html> <head> <meta charset="utf-8" /> <meta name="author" content="leo108"> <title><?php echo $title;?></title> <meta name="description" content="SinglePHP" /> <link href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"> <link href="http://v3.bootcss.com/...
php
MIT
479ddf38c69b5723ee3c40c7378db0d5e7e62dc5
2026-01-05T04:25:28.249634Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/RemoteEvent/MailgunPayloadConverter.php
RemoteEvent/MailgunPayloadConverter.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\RemoteEvent; use Symfony\Compon...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Transport/MailgunHeadersTrait.php
Transport/MailgunHeadersTrait.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\Transport; use Symfony\Componen...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Transport/MailgunTransportFactory.php
Transport/MailgunTransportFactory.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\Transport; use Symfony\Componen...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Transport/MailgunHttpTransport.php
Transport/MailgunHttpTransport.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\Transport; use Psr\EventDispatc...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Transport/MailgunSmtpTransport.php
Transport/MailgunSmtpTransport.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\Transport; use Psr\EventDispatc...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Transport/MailgunApiTransport.php
Transport/MailgunApiTransport.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\Transport; use Psr\EventDispatc...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Webhook/MailgunRequestParser.php
Webhook/MailgunRequestParser.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\Webhook; use Symfony\Component\...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Transport/MailgunApiTransportTest.php
Tests/Transport/MailgunApiTransportTest.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\Tests\Transport; use PHPUnit\Fr...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Transport/MailgunTransportFactoryTest.php
Tests/Transport/MailgunTransportFactoryTest.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\Tests\Transport; use Psr\Log\Nu...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Transport/MailgunHttpTransportTest.php
Tests/Transport/MailgunHttpTransportTest.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\Tests\Transport; use PHPUnit\Fr...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Transport/MailgunSmtpTransportTest.php
Tests/Transport/MailgunSmtpTransportTest.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\Tests\Transport; use PHPUnit\Fr...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Webhook/MailgunRequestParserTest.php
Tests/Webhook/MailgunRequestParserTest.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Mailgun\Tests\Webhook; use Symfony\Comp...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Webhook/Fixtures/permanent_failure.php
Tests/Webhook/Fixtures/permanent_failure.php
<?php use Symfony\Component\RemoteEvent\Event\Mailer\MailerDeliveryEvent; $wh = new MailerDeliveryEvent(MailerDeliveryEvent::BOUNCE, 'G9Bn5sl1TC6nu79C8C0bwg', json_decode(file_get_contents(str_replace('.php', '.json', __FILE__)), true, flags: JSON_THROW_ON_ERROR)['event-data']); $wh->setRecipientEmail('alice@example....
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Webhook/Fixtures/permanent_failure_no_description.php
Tests/Webhook/Fixtures/permanent_failure_no_description.php
<?php use Symfony\Component\RemoteEvent\Event\Mailer\MailerDeliveryEvent; $wh = new MailerDeliveryEvent(MailerDeliveryEvent::BOUNCE, 'G9Bn5sl1TC6nu79C8C0bwg', json_decode(file_get_contents(str_replace('.php', '.json', __FILE__)), true, flags: JSON_THROW_ON_ERROR)['event-data']); $wh->setRecipientEmail('alice@example....
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Webhook/Fixtures/temporary_failure.php
Tests/Webhook/Fixtures/temporary_failure.php
<?php use Symfony\Component\RemoteEvent\Event\Mailer\MailerDeliveryEvent; $wh = new MailerDeliveryEvent(MailerDeliveryEvent::DEFERRED, 'Fs7-5t81S2ispqxqDw2U4Q', json_decode(file_get_contents(str_replace('.php', '.json', __FILE__)), true, flags: JSON_THROW_ON_ERROR)['event-data']); $wh->setRecipientEmail('alice@exampl...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Webhook/Fixtures/accepted.php
Tests/Webhook/Fixtures/accepted.php
<?php use Symfony\Component\RemoteEvent\Event\Mailer\MailerDeliveryEvent; $wh = new MailerDeliveryEvent(MailerDeliveryEvent::RECEIVED, '4o7-z86dSkSI54c6IudeuA', json_decode(file_get_contents(str_replace('.php', '.json', __FILE__)), true, flags: JSON_THROW_ON_ERROR)['event-data']); $wh->setRecipientEmail('alice@exampl...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Webhook/Fixtures/opens.php
Tests/Webhook/Fixtures/opens.php
<?php use Symfony\Component\RemoteEvent\Event\Mailer\MailerEngagementEvent; $wh = new MailerEngagementEvent(MailerEngagementEvent::OPEN, 'Ase7i2zsRYeDXztHGENqRA', json_decode(file_get_contents(str_replace('.php', '.json', __FILE__)), true, flags: JSON_THROW_ON_ERROR)['event-data']); $wh->setRecipientEmail('alice@exam...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Webhook/Fixtures/spam_complaints.php
Tests/Webhook/Fixtures/spam_complaints.php
<?php use Symfony\Component\RemoteEvent\Event\Mailer\MailerEngagementEvent; $wh = new MailerEngagementEvent(MailerEngagementEvent::SPAM, '-Agny091SquKnsrW2NEKUA', json_decode(file_get_contents(str_replace('.php', '.json', __FILE__)), true, flags: JSON_THROW_ON_ERROR)['event-data']); $wh->setRecipientEmail('alice@exam...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Webhook/Fixtures/delivered_messages.php
Tests/Webhook/Fixtures/delivered_messages.php
<?php use Symfony\Component\RemoteEvent\Event\Mailer\MailerDeliveryEvent; $wh = new MailerDeliveryEvent(MailerDeliveryEvent::DELIVERED, 'CPgfbmQMTCKtHW6uIWtuVe', json_decode(file_get_contents(str_replace('.php', '.json', __FILE__)), true, flags: JSON_THROW_ON_ERROR)['event-data']); $wh->setRecipientEmail('alice@examp...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Webhook/Fixtures/unsubscribes.php
Tests/Webhook/Fixtures/unsubscribes.php
<?php use Symfony\Component\RemoteEvent\Event\Mailer\MailerEngagementEvent; $wh = new MailerEngagementEvent(MailerEngagementEvent::UNSUBSCRIBE, 'Ase7i2zsRYeDXztHGENqRA', json_decode(file_get_contents(str_replace('.php', '.json', __FILE__)), true, flags: JSON_THROW_ON_ERROR)['event-data']); $wh->setRecipientEmail('ali...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false
symfony/mailgun-mailer
https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Webhook/Fixtures/clicks.php
Tests/Webhook/Fixtures/clicks.php
<?php use Symfony\Component\RemoteEvent\Event\Mailer\MailerEngagementEvent; $wh = new MailerEngagementEvent(MailerEngagementEvent::CLICK, 'Ase7i2zsRYeDXztHGENqRA', json_decode(file_get_contents(str_replace('.php', '.json', __FILE__)), true, flags: JSON_THROW_ON_ERROR)['event-data']); $wh->setRecipientEmail('alice@exa...
php
MIT
8c18f2bff4e70ed5669ab8228302edd2fecd689b
2026-01-05T04:25:33.146056Z
false