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 |
|---|---|---|---|---|---|---|---|---|
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/src/Actions/CreateAlert.php | src/Actions/CreateAlert.php | <?php
namespace SaeedVaziry\Monitoring\Actions;
use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\ValidationException;
class CreateAlert
{
/**
* @param array $input
*
* @throws ValidationException
*
* @return mixed
*/
public function create(array $input)
{
... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/src/Facades/Monitoring.php | src/Facades/Monitoring.php | <?php
namespace SaeedVaziry\Monitoring\Facades;
use Illuminate\Support\Facades\Facade;
use SaeedVaziry\Monitoring\System\SystemResource;
/**
* Class Monitoring.
*
*
* @method static SystemResource cpu()
* @method static SystemResource memory()
* @method static SystemResource disk()
*/
class Monitoring extends... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/src/Models/MonitoringAlert.php | src/Models/MonitoringAlert.php | <?php
namespace SaeedVaziry\Monitoring\Models;
use Illuminate\Database\Eloquent\Model;
class MonitoringAlert extends Model
{
/**
* @var string[]
*/
protected $fillable = [
'instance_name',
'cpu',
'memory',
'disk',
'occurred',
];
/**
* @var strin... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/src/Models/MonitoringRecord.php | src/Models/MonitoringRecord.php | <?php
namespace SaeedVaziry\Monitoring\Models;
use Illuminate\Database\Eloquent\Model;
class MonitoringRecord extends Model
{
/**
* @var string[]
*/
protected $fillable = [
'instance_name',
'cpu',
'memory',
'disk',
];
/**
* @var string[]
*/
pro... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/src/Commands/PurgeCommand.php | src/Commands/PurgeCommand.php | <?php
namespace SaeedVaziry\Monitoring\Commands;
use Exception;
use Illuminate\Console\Command;
class PurgeCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'monitoring:purge';
/**
* The console command descr... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/src/Commands/RecordCommand.php | src/Commands/RecordCommand.php | <?php
namespace SaeedVaziry\Monitoring\Commands;
use Exception;
use Illuminate\Console\Command;
use SaeedVaziry\Monitoring\Actions\CheckForAlerts;
use SaeedVaziry\Monitoring\Actions\RecordUsage;
use SaeedVaziry\Monitoring\Facades\Monitoring;
class RecordCommand extends Command
{
/**
* The name and signature... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/src/Commands/PublishCommand.php | src/Commands/PublishCommand.php | <?php
namespace SaeedVaziry\Monitoring\Commands;
use Illuminate\Console\Command;
class PublishCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'monitoring:publish {--force : Overwrite any existing files}';
/**
... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/src/System/CPU.php | src/System/CPU.php | <?php
namespace SaeedVaziry\Monitoring\System;
class CPU implements SystemResource
{
/**
* @return float|mixed
*/
public function usage()
{
if (app()->environment() === 'testing') {
return 50;
}
$usage = str_replace("\n", '', shell_exec(file_get_contents(__DI... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/src/System/Memory.php | src/System/Memory.php | <?php
namespace SaeedVaziry\Monitoring\System;
class Memory implements SystemResource
{
/**
* @return float|mixed
*/
public function usage()
{
if (app()->environment() === 'testing') {
return 50;
}
$usage = str_replace("\n", '', shell_exec(file_get_contents(_... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/src/System/Disk.php | src/System/Disk.php | <?php
namespace SaeedVaziry\Monitoring\System;
class Disk implements SystemResource
{
/**
* @return float|mixed
*/
public function usage()
{
if (app()->environment() === 'testing') {
return 50;
}
$usage = str_replace("\n", '', shell_exec(file_get_contents(__D... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/src/System/SystemResource.php | src/System/SystemResource.php | <?php
namespace SaeedVaziry\Monitoring\System;
interface SystemResource
{
/**
* @return mixed
*/
public function usage();
}
| php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/tests/TestCase.php | tests/TestCase.php | <?php
namespace SaeedVaziry\Monitoring\Tests;
class TestCase extends \Orchestra\Testbench\TestCase
{
/**
* @param \Illuminate\Foundation\Application $app
*
* @return array|string[]
*/
protected function getPackageProviders($app)
{
return ['SaeedVaziry\Monitoring\MonitoringServi... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/tests/Http/MonitoringAlertControllerTest.php | tests/Http/MonitoringAlertControllerTest.php | <?php
namespace SaeedVaziry\Monitoring\Tests\Http;
use Illuminate\Foundation\Testing\RefreshDatabase;
use SaeedVaziry\Monitoring\Tests\TestCase;
class MonitoringAlertControllerTest extends TestCase
{
use RefreshDatabase;
public function testCreateAlert()
{
$this->post(config('monitoring.routes.p... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/tests/Http/MonitoringRecordControllerTest.php | tests/Http/MonitoringRecordControllerTest.php | <?php
namespace SaeedVaziry\Monitoring\Tests\Http;
use Illuminate\Foundation\Testing\RefreshDatabase;
use SaeedVaziry\Monitoring\Database\Factories\MonitoringAlertFactory;
use SaeedVaziry\Monitoring\Database\Factories\MonitoringRecordFactory;
use SaeedVaziry\Monitoring\Tests\TestCase;
class MonitoringRecordControlle... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/tests/Channels/EmailTest.php | tests/Channels/EmailTest.php | <?php
namespace SaeedVaziry\Monitoring\Tests\Channels;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Mail;
use SaeedVaziry\Monitoring\Channels\Email;
use SaeedVaziry\Monitoring\Database\Factories\MonitoringRecordFactory;
use SaeedVaziry\Monitoring\Mail\ResourceUsageMail;
use SaeedV... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/tests/Channels/SlackTest.php | tests/Channels/SlackTest.php | <?php
namespace SaeedVaziry\Monitoring\Tests\Channels;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Http\Client\Request;
use Illuminate\Support\Facades\Http;
use SaeedVaziry\Monitoring\Channels\Slack;
use SaeedVaziry\Monitoring\Database\Factories\MonitoringRecordFactory;
use SaeedVaziry\Monitorin... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/tests/Channels/DiscordTest.php | tests/Channels/DiscordTest.php | <?php
namespace SaeedVaziry\Monitoring\Tests\Channels;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Http\Client\Request;
use Illuminate\Support\Facades\Http;
use SaeedVaziry\Monitoring\Channels\Discord;
use SaeedVaziry\Monitoring\Database\Factories\MonitoringRecordFactory;
use SaeedVaziry\Monitor... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/tests/Actions/RecordUsageTest.php | tests/Actions/RecordUsageTest.php | <?php
namespace SaeedVaziry\Monitoring\Tests\Actions;
use Illuminate\Foundation\Testing\RefreshDatabase;
use SaeedVaziry\Monitoring\Actions\RecordUsage;
use SaeedVaziry\Monitoring\Tests\TestCase;
class RecordUsageTest extends TestCase
{
use RefreshDatabase;
public function testRecord()
{
config(... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/tests/Actions/CheckForAlertsTest.php | tests/Actions/CheckForAlertsTest.php | <?php
namespace SaeedVaziry\Monitoring\Tests\Actions;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Mail;
use SaeedVaziry\Monitoring\Channels\Email;
use SaeedVaziry\Monitoring\Mail\ResourceUsageMail;
use SaeedVaziry\Monitoring\Models\MonitoringAlert;
use SaeedVaziry\Monitoring\Test... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/tests/Actions/CreateAlertTest.php | tests/Actions/CreateAlertTest.php | <?php
namespace SaeedVaziry\Monitoring\Tests\Actions;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Validation\ValidationException;
use SaeedVaziry\Monitoring\Actions\CreateAlert;
use SaeedVaziry\Monitoring\Tests\TestCase;
class CreateAlertTest extends TestCase
{
use RefreshDatabase;
pub... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/tests/Commands/PurgeCommandTest.php | tests/Commands/PurgeCommandTest.php | <?php
namespace SaeedVaziry\Monitoring\Tests\Commands;
use Illuminate\Foundation\Testing\RefreshDatabase;
use SaeedVaziry\Monitoring\Database\Factories\MonitoringRecordFactory;
use SaeedVaziry\Monitoring\Tests\TestCase;
class PurgeCommandTest extends TestCase
{
use RefreshDatabase;
public function testPurge... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/tests/Commands/RecordCommandTest.php | tests/Commands/RecordCommandTest.php | <?php
namespace SaeedVaziry\Monitoring\Tests\Commands;
use Illuminate\Foundation\Testing\RefreshDatabase;
use SaeedVaziry\Monitoring\Tests\TestCase;
class RecordCommandTest extends TestCase
{
use RefreshDatabase;
public function testRecord()
{
$this->artisan('monitoring:record');
$this-... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/config/monitoring.php | config/monitoring.php | <?php
return [
/*
* The monitoring data will be collected under this name.
* If you have running same source code on multiple servers then
* you need to define a unique name per instance by using
* environment variables on each server.
*/
'instance_name' => env('MONITORING_INSTANCE_NAM... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/database/factories/MonitoringRecordFactory.php | database/factories/MonitoringRecordFactory.php | <?php
namespace SaeedVaziry\Monitoring\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use SaeedVaziry\Monitoring\Models\MonitoringRecord;
class MonitoringRecordFactory extends Factory
{
/**
* @var string
*/
protected $model = MonitoringRecord::class;
/**
* Define ... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/database/factories/MonitoringAlertFactory.php | database/factories/MonitoringAlertFactory.php | <?php
namespace SaeedVaziry\Monitoring\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use SaeedVaziry\Monitoring\Models\MonitoringAlert;
class MonitoringAlertFactory extends Factory
{
/**
* @var string
*/
protected $model = MonitoringAlert::class;
/**
* Define the... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/database/migrations/2022_01_04_202626_create_monitoring_alerts_table.php | database/migrations/2022_01_04_202626_create_monitoring_alerts_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMonitoringAlertsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('monito... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/database/migrations/2022_01_04_202625_create_monitoring_records_table.php | database/migrations/2022_01_04_202625_create_monitoring_records_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMonitoringRecordsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('monit... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/resources/views/index.blade.php | resources/views/index.blade.php | <html lang="{{ app()->getLocale() }}">
<head>
<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>{{ __('Monitoring') }}</title>
... | php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
saeedvaziry/laravel-monitoring | https://github.com/saeedvaziry/laravel-monitoring/blob/cf8bc7c57235b5dac407e0c0de18dc8de0667c25/resources/views/emails/resource-usage.blade.php | resources/views/emails/resource-usage.blade.php | @component('mail::message')
# {{ $subject }}
**CPU:** {{ $record->cpu }}
**Memory:** {{ $record->memory }}
**Disk:** {{ $record->disk }}
Regards,<br>
{{ config('app.name') }}
@endcomponent
| php | MIT | cf8bc7c57235b5dac407e0c0de18dc8de0667c25 | 2026-01-05T03:32:42.920782Z | false |
joedawson/youtube | https://github.com/joedawson/youtube/blob/fa8bccfe3801559142b92e931efa24a52f605610/src/YoutubeServiceProvider.php | src/YoutubeServiceProvider.php | <?php
namespace Dawson\Youtube;
use Illuminate\Support\ServiceProvider;
class YoutubeServiceProvider extends ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* Bootstrap the application events.
*/
p... | php | MIT | fa8bccfe3801559142b92e931efa24a52f605610 | 2026-01-05T03:33:06.113571Z | false |
joedawson/youtube | https://github.com/joedawson/youtube/blob/fa8bccfe3801559142b92e931efa24a52f605610/src/Youtube.php | src/Youtube.php | <?php
namespace Dawson\Youtube;
use Exception;
use Google_Client;
use Google_Service_YouTube;
use Illuminate\Support\Facades\DB;
class Youtube
{
/**
* Application Container
*
* @var Application
*/
private $app;
/**
* Google Client
*
* @var \Google_Client
*/
pr... | php | MIT | fa8bccfe3801559142b92e931efa24a52f605610 | 2026-01-05T03:33:06.113571Z | false |
joedawson/youtube | https://github.com/joedawson/youtube/blob/fa8bccfe3801559142b92e931efa24a52f605610/src/Facades/Youtube.php | src/Facades/Youtube.php | <?php
namespace Dawson\Youtube\Facades;
use Illuminate\Support\Facades\Facade;
class Youtube extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'youtube';
}
} | php | MIT | fa8bccfe3801559142b92e931efa24a52f605610 | 2026-01-05T03:33:06.113571Z | false |
joedawson/youtube | https://github.com/joedawson/youtube/blob/fa8bccfe3801559142b92e931efa24a52f605610/routes/web.php | routes/web.php | <?php
/**
* Route URI's
*/
Route::group(['prefix' => config('youtube.routes.prefix')], function() {
/**
* Authentication
*/
Route::get(config('youtube.routes.authentication_uri'), function()
{
return redirect()->to(Youtube::createAuthUrl());
});
/**
* Redirect
*/
... | php | MIT | fa8bccfe3801559142b92e931efa24a52f605610 | 2026-01-05T03:33:06.113571Z | false |
joedawson/youtube | https://github.com/joedawson/youtube/blob/fa8bccfe3801559142b92e931efa24a52f605610/migrations/2015_05_06_194030_create_youtube_access_tokens_table.php | migrations/2015_05_06_194030_create_youtube_access_tokens_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateYoutubeAccessTokensTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('youtube_access_tokens', function(Blueprint... | php | MIT | fa8bccfe3801559142b92e931efa24a52f605610 | 2026-01-05T03:33:06.113571Z | false |
joedawson/youtube | https://github.com/joedawson/youtube/blob/fa8bccfe3801559142b92e931efa24a52f605610/config/youtube.php | config/youtube.php | <?php
return [
/**
* Client ID.
*/
'client_id' => env('GOOGLE_CLIENT_ID', null),
/**
* Client Secret.
*/
'client_secret' => env('GOOGLE_CLIENT_SECRET', null),
/**
* Scopes.
*/
'scopes' => [
'https://www.googleapis.com/auth/youtube',
'https://www.... | php | MIT | fa8bccfe3801559142b92e931efa24a52f605610 | 2026-01-05T03:33:06.113571Z | false |
medz/id-card-of-china | https://github.com/medz/id-card-of-china/blob/107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1/src/IdentityInterface.php | src/IdentityInterface.php | <?php
declare(strict_types=1);
namespace Medz\IdentityCard\China;
use Medz\IdentityCard\China\Region\RegionInterface;
interface IdentityInterface
{
/**
* Check The ID Card is legal.
*
* @return bool
* @author Seven Du <shiweidu@outlook.com>
*/
public function legal(): bool;
/*... | php | MIT | 107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1 | 2026-01-05T03:33:09.031238Z | false |
medz/id-card-of-china | https://github.com/medz/id-card-of-china/blob/107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1/src/Identity.php | src/Identity.php | <?php
declare(strict_types=1);
namespace Medz\IdentityCard\China;
use Medz\IdentityCard\China\Region\Region;
use Medz\IdentityCard\China\Region\RegionInterface;
class Identity implements IdentityInterface
{
protected $identityCardNumber;
public function __construct(string $identityCardNumber)
{
... | php | MIT | 107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1 | 2026-01-05T03:33:09.031238Z | false |
medz/id-card-of-china | https://github.com/medz/id-card-of-china/blob/107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1/src/Region/RegionInterface.php | src/Region/RegionInterface.php | <?php
declare(strict_types=1);
namespace Medz\IdentityCard\China\Region;
interface RegionInterface
{
/**
* Get the Region Code.
*
* @return int
* @author Seven Du <shiweidu@outlook.com>
*/
public function code(): int;
/**
* Get Province Of The Region.
*
* @retur... | php | MIT | 107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1 | 2026-01-05T03:33:09.031238Z | false |
medz/id-card-of-china | https://github.com/medz/id-card-of-china/blob/107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1/src/Region/Region.php | src/Region/Region.php | <?php
declare(strict_types=1);
namespace Medz\IdentityCard\China\Region;
use Medz\GBT2260\Getter;
class Region implements RegionInterface
{
/**
* The Init Region Code.
*
* @var int
*/
protected $code;
/**
* Create A Region instance.
*
* @param int $regionCode The In... | php | MIT | 107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1 | 2026-01-05T03:33:09.031238Z | false |
medz/id-card-of-china | https://github.com/medz/id-card-of-china/blob/107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1/tests/TestCase.php | tests/TestCase.php | <?php
declare(strict_types=1);
namespace Medz\IdentityCard\China\Tests;
class TestCase extends \PHPUnit\Framework\TestCase
{
// TODO.
}
| php | MIT | 107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1 | 2026-01-05T03:33:09.031238Z | false |
medz/id-card-of-china | https://github.com/medz/id-card-of-china/blob/107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1/tests/IdentityTest.php | tests/IdentityTest.php | <?php
declare(strict_types=1);
namespace Medz\IdentityCard\China\Tests;
use Medz\IdentityCard\China\Identity;
use Medz\IdentityCard\China\IdentityInterface;
use Medz\IdentityCard\China\Region\RegionInterface;
class IdentityTest extends TestCase
{
/**
* Test Identity instance of IdentityInterface.
*/
... | php | MIT | 107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1 | 2026-01-05T03:33:09.031238Z | false |
medz/id-card-of-china | https://github.com/medz/id-card-of-china/blob/107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1/tests/Region/RegionTest.php | tests/Region/RegionTest.php | <?php
declare(strict_types=1);
namespace Medz\IdentityCard\China\Tests\Region;
use Medz\IdentityCard\China\Tests\TestCase;
use Medz\IdentityCard\China\Region\Region;
use Medz\IdentityCard\China\Region\RegionInterface;
class RegionTest extends TestCase
{
/**
* Test instance of RegionInterface
*/
pu... | php | MIT | 107ffb1f81aa563c93bb7e6d2eae7cc0e78bb7c1 | 2026-01-05T03:33:09.031238Z | false |
larapack/doctrine-support | https://github.com/larapack/doctrine-support/blob/ab6e821c467704ae91a9a944e6ebdaad6a99a294/src/DoctrineSupportServiceProvider.php | src/DoctrineSupportServiceProvider.php | <?php
namespace Larapack\DoctrineSupport;
use Doctrine\DBAL\Types\Type;
use Illuminate\Database\Connection;
use Illuminate\Support\Arr;
use Illuminate\Support\ServiceProvider;
use Larapack\DoctrineSupport\Connections\MySqlConnection;
use Larapack\DoctrineSupport\Types\EnumType;
class DoctrineSupportServiceProvider e... | php | MIT | ab6e821c467704ae91a9a944e6ebdaad6a99a294 | 2026-01-05T03:33:25.073869Z | false |
larapack/doctrine-support | https://github.com/larapack/doctrine-support/blob/ab6e821c467704ae91a9a944e6ebdaad6a99a294/src/Column.php | src/Column.php | <?php
namespace Larapack\DoctrineSupport;
use Doctrine\DBAL\Schema\Column as DoctrineColumn;
class Column extends DoctrineColumn
{
/**
* Set allowed enum options.
*
* @param array $options
*
* @return $this
*/
public function setAllowed(array $options)
{
$this->setCu... | php | MIT | ab6e821c467704ae91a9a944e6ebdaad6a99a294 | 2026-01-05T03:33:25.073869Z | false |
larapack/doctrine-support | https://github.com/larapack/doctrine-support/blob/ab6e821c467704ae91a9a944e6ebdaad6a99a294/src/Types/EnumType.php | src/Types/EnumType.php | <?php
namespace Larapack\DoctrineSupport\Types;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\Type;
use Illuminate\Support\Arr;
class EnumType extends Type
{
const ENUM = 'enum';
/**
* {@inheritdoc}
*/
public function getSQLDeclaration(array $fieldDeclaration, AbstractP... | php | MIT | ab6e821c467704ae91a9a944e6ebdaad6a99a294 | 2026-01-05T03:33:25.073869Z | false |
larapack/doctrine-support | https://github.com/larapack/doctrine-support/blob/ab6e821c467704ae91a9a944e6ebdaad6a99a294/src/Drivers/MySqlDriver.php | src/Drivers/MySqlDriver.php | <?php
namespace Larapack\DoctrineSupport\Drivers;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver\PDOMySql\Driver;
use Larapack\DoctrineSupport\Managers\MySqlSchemaManager;
class MySqlDriver extends Driver
{
/**
* {@inheritdoc}
*/
public function getSchemaManager(Connection $conn)
{
... | php | MIT | ab6e821c467704ae91a9a944e6ebdaad6a99a294 | 2026-01-05T03:33:25.073869Z | false |
larapack/doctrine-support | https://github.com/larapack/doctrine-support/blob/ab6e821c467704ae91a9a944e6ebdaad6a99a294/src/Managers/MySqlSchemaManager.php | src/Managers/MySqlSchemaManager.php | <?php
namespace Larapack\DoctrineSupport\Managers;
use Doctrine\DBAL\Schema\MySqlSchemaManager as DoctrineMySqlSchemaManager;
use Doctrine\DBAL\Types\Type;
use Illuminate\Support\Str;
use Larapack\DoctrineSupport\Column;
class MySqlSchemaManager extends DoctrineMySqlSchemaManager
{
/**
* Gets Table Column D... | php | MIT | ab6e821c467704ae91a9a944e6ebdaad6a99a294 | 2026-01-05T03:33:25.073869Z | false |
larapack/doctrine-support | https://github.com/larapack/doctrine-support/blob/ab6e821c467704ae91a9a944e6ebdaad6a99a294/src/Connections/MySqlConnection.php | src/Connections/MySqlConnection.php | <?php
namespace Larapack\DoctrineSupport\Connections;
use Illuminate\Database\MySqlConnection as IlluminateMySqlConnection;
use Larapack\DoctrineSupport\Drivers\MySqlDriver;
class MySqlConnection extends IlluminateMySqlConnection
{
/**
* {@inheritdoc}
*/
protected function getDoctrineDriver()
{... | php | MIT | ab6e821c467704ae91a9a944e6ebdaad6a99a294 | 2026-01-05T03:33:25.073869Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/src/Ko/Process.php | src/Ko/Process.php | <?php
/**
* The MIT License
*
* Copyright (c) 2015 Nikolay Bondarenko <misterionkell@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/src/Ko/ProcessManager.php | src/Ko/ProcessManager.php | <?php
/**
* The MIT License
*
* Copyright (c) 2015 Nikolay Bondarenko <misterionkell@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/src/Ko/SharedMemory.php | src/Ko/SharedMemory.php | <?php
/**
* The MIT License
*
* Copyright (c) 2015 Nikolay Bondarenko <misterionkell@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/src/Ko/Semaphore.php | src/Ko/Semaphore.php | <?php
/**
* The MIT License
*
* Copyright (c) 2015 Nikolay Bondarenko <misterionkell@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/src/Ko/SignalHandler.php | src/Ko/SignalHandler.php | <?php
/**
* The MIT License
*
* Copyright (c) 2015 Nikolay Bondarenko <misterionkell@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/src/Ko/Mixin/ProcessTitle.php | src/Ko/Mixin/ProcessTitle.php | <?php
/**
* The MIT License
*
* Copyright (c) 2015 Nikolay Bondarenko <misterionkell@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/src/Ko/Mixin/EventEmitter.php | src/Ko/Mixin/EventEmitter.php | <?php
/**
* The MIT License
*
* Copyright (c) 2015 Nikolay Bondarenko <misterionkell@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/tests/Ko/SignalHandlerTest.php | tests/Ko/SignalHandlerTest.php | <?php
/**
* The MIT License
*
* Copyright (c) 2014 Nikolay Bondarenko
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* ... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/tests/Ko/ProcessManagerTest.php | tests/Ko/ProcessManagerTest.php | <?php
/**
* The MIT License
*
* Copyright (c) 2014 Nikolay Bondarenko
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* ... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/tests/Ko/SharedMemoryTest.php | tests/Ko/SharedMemoryTest.php | <?php
namespace Ko;
/**
* Class ProcessTest
*
* @category Tests
* @package Ko
* @author Nikolay Bondarenko <misterionkell@gmail.com>
* @version 1.0
*
* @small
* @covers Ko\SharedMemory
* @covers Ko\Semaphore
*/
class SharedMemoryTest extends \PHPUnit_Framework_TestCase
{
public function testArrayAccessE... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/tests/Ko/ProcessTest.php | tests/Ko/ProcessTest.php | <?php
/**
* The MIT License
*
* Copyright (c) 2014 Nikolay Bondarenko
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* ... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/tests/Ko/Fixtures/demonize.php | tests/Ko/Fixtures/demonize.php | <?php
/**
* @category Tests
* @package Ko
* @author Nikolay Bondarenko <misterionkell@gmail.com>
* @version 1.0
*/
require_once __DIR__ . '/../../../vendor/autoload.php';
$title = $argv[1];
$m = new \Ko\ProcessManager();
$m->setProcessTitle($title);
$m->demonize();
$m->setProcessTitle($title . '_afterDemonize'... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/tests/Ko/Mixin/ProcessTitleTest.php | tests/Ko/Mixin/ProcessTitleTest.php | <?php
namespace Ko\Mixin;
/**
* Class ProcessTitleTest
*
* @category Tests
* @package Ko\Mixin
* @author Nikolay Bondarenko <misterionkell@gmail.com>
* @version 1.0
*
* @group ProcessTitle
*/
class ProcessTitleTest extends \PHPUnit_Framework_TestCase
{
public function testSetProcessTitle()
{
/... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
misterion/ko-process | https://github.com/misterion/ko-process/blob/36fc6742c57d8fd6fea8aace95bb585b946af649/tests/Ko/Mixin/EventEmitterTest.php | tests/Ko/Mixin/EventEmitterTest.php | <?php
namespace Ko\Mixin;
/**
* Class EventEmitterTest
*
* @category Tests
* @package Ko\Mixin
* @author Nikolay Bondarenko <misterionkell@gmail.com>
* @version 1.0
*/
class EventEmitterTest extends \PHPUnit_Framework_TestCase
{
public function testEmit()
{
$emittedData = '';
/** @var \... | php | MIT | 36fc6742c57d8fd6fea8aace95bb585b946af649 | 2026-01-05T03:33:33.812739Z | false |
LeaVerou/rgba.php | https://github.com/LeaVerou/rgba.php/blob/72556a0f6d55407378282119bdf0811cda12420e/rgba.php | rgba.php | <?php
/***************************************************************************************
* Script for automatic generation of one pixel
* alpha-transparent images for non-RGBA browsers.
* @author Lea Verou
* @version 1.2
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
*... | php | MIT | 72556a0f6d55407378282119bdf0811cda12420e | 2026-01-05T03:33:44.516806Z | false |
douyasi/identity-card | https://github.com/douyasi/identity-card/blob/6d118916407a548c1af695f536d8672bde24102b/ID.php | ID.php | <?php
namespace Douyasi\IdentityCard;
use PDO;
use PDOException;
/**
* Class ID
* 中国大陆地区身份证类
* 根据 GB/T 2260-2007 (基准) 中华人民共和国行政区划代码 来验证国内公民身份证证号合法性.
*
* 310107 19970507 055 6
* [6位地区码][8位生日码][3位随机码][1位校验码]
*
* @author raoyc <raoyc2009@gmail.com>
*/
class ID
{
/**
* PDO 对象
*
* @var null
... | php | MIT | 6d118916407a548c1af695f536d8672bde24102b | 2026-01-05T03:33:43.026266Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Client.php | src/Client.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient;
use GoetasWebservices\SoapServices\Metadata\Arguments\ArgumentsReader;
use GoetasWebservices\SoapServices\Metadata\Arguments\ArgumentsReaderInterface;
use GoetasWebservices\SoapServices\Metadata\Envelope\SoapEnvelope\Messages\Fault a... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/ClientFactory.php | src/ClientFactory.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient;
use GoetasWebservices\SoapServices\Metadata\Loader\MetadataLoaderInterface;
use GoetasWebservices\SoapServices\Metadata\MetadataUtils;
use Http\Discovery\Psr17FactoryDiscovery;
use Http\Discovery\Psr18ClientDiscovery;
use JMS\Seriali... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Builder/SoapContainerBuilder.php | src/Builder/SoapContainerBuilder.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Builder;
use GoetasWebservices\SoapServices\Metadata\Builder\SoapContainerBuilder as BaseSoapContainerBuilder;
use GoetasWebservices\SoapServices\SoapClient\DependencyInjection\SoapClientExtension;
class SoapContainerBuilder extends ... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/StubGeneration/ClientStubGenerator.php | src/StubGeneration/ClientStubGenerator.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\StubGeneration;
use Doctrine\Inflector\Inflector;
use Doctrine\Inflector\InflectorFactory;
use GoetasWebservices\SoapServices\Metadata\Headers\Header;
use GoetasWebservices\SoapServices\SoapClient\StubGeneration\Tag\MethodTag;
use Goe... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/StubGeneration/Tag/ParamTag.php | src/StubGeneration/Tag/ParamTag.php | <?php
declare(strict_types=1);
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
*/
namespace GoetasWebservices\SoapServices\SoapClient\StubGeneration\Tag;
use Laminas\Code\Generator\DocBlock\Tag\ParamTag as ParamTagTag;
cla... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/StubGeneration/Tag/MethodTag.php | src/StubGeneration/Tag/MethodTag.php | <?php
declare(strict_types=1);
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
*/
namespace GoetasWebservices\SoapServices\SoapClient\StubGeneration\Tag;
use GoetasWebservices\SoapServices\SoapClient\StubGeneration\Tag\Para... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/DependencyInjection/Configuration.php | src/DependencyInjection/Configuration.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
class Configuration implements ConfigurationInterface
{
/**
* Generates the co... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/DependencyInjection/SoapClientExtension.php | src/DependencyInjection/SoapClientExtension.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\DependencyInjection;
use Psr\Log\NullLogger;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\Alias;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInject... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Exception/Fault12Exception.php | src/Exception/Fault12Exception.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Exception;
use GoetasWebservices\SoapServices\Metadata\Envelope\SoapEnvelope12\Messages\Fault;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
class Fault12Exception extends FaultException
{
/**
... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Exception/UnexpectedFormatException.php | src/Exception/UnexpectedFormatException.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Exception;
class UnexpectedFormatException extends ServerException
{
}
| php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Exception/ServerException.php | src/Exception/ServerException.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Exception;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
class ServerException extends SoapException
{
/**
* @var RequestInterface
*/
private $request;
/**
* @var ResponseI... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Exception/Fault11Exception.php | src/Exception/Fault11Exception.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Exception;
use GoetasWebservices\SoapServices\Metadata\Envelope\SoapEnvelope\Messages\Fault;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
class Fault11Exception extends FaultException
{
/**
... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Exception/FaultException.php | src/Exception/FaultException.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Exception;
abstract class FaultException extends ServerException
{
}
| php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Exception/SoapException.php | src/Exception/SoapException.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Exception;
class SoapException extends \Exception
{
}
| php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Exception/ClientException.php | src/Exception/ClientException.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Exception;
class ClientException extends SoapException
{
}
| php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Result/ResultCreatorInterface.php | src/Result/ResultCreatorInterface.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Result;
interface ResultCreatorInterface
{
/**
* @return mixed
*/
public function prepareResult(object $object, array $output);
}
| php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Result/ResultCreator.php | src/Result/ResultCreator.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Result;
use GoetasWebservices\SoapServices\Metadata\SerializerUtils;
use JMS\Serializer\Serializer;
use Metadata\PropertyMetadata;
class ResultCreator implements ResultCreatorInterface
{
/**
* @var bool
*/
private $... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/src/Command/Generate.php | src/Command/Generate.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Command;
use GoetasWebservices\SoapServices\SoapClient\Builder\SoapContainerBuilder;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/tests/example.php | tests/example.php | <?php
declare(strict_types=1);
namespace Example;
/**
* @var $loader \Composer\Autoload\ClassLoader
*/
use GoetasWebservices\SoapServices\SoapClient\Builder\SoapContainerBuilder;
use GoetasWebservices\SoapServices\SoapClient\ClientFactory;
use GuzzleHttp\Client;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\H... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/tests/bootstrap.php | tests/bootstrap.php | <?php
declare(strict_types=1);
$loader = require __DIR__ . '/../vendor/autoload.php';
| php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/tests/Client/RequestResponsesTest.php | tests/Client/RequestResponsesTest.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Tests\Client;
use GoetasWebservices\SoapServices\Metadata\Envelope\SoapEnvelope12\Messages\Fault;
use GoetasWebservices\SoapServices\Metadata\Generator\MetadataGenerator;
use GoetasWebservices\SoapServices\Metadata\Headers\Handler\Hea... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/tests/Client/Client11RequestResponsesTest.php | tests/Client/Client11RequestResponsesTest.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Tests\Client;
use Ex\GetMultiParam;
use Ex\GetReturnMultiParam;
use Ex\GetReturnMultiParamResponse;
use GoetasWebservices\SoapServices\Metadata\Envelope\Fault as FaultBase;
use GoetasWebservices\SoapServices\Metadata\Envelope\SoapEnve... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/tests/Client/Client12RequestResponsesTest.php | tests/Client/Client12RequestResponsesTest.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Tests\Client;
use Ex\GetMultiParam;
use Ex\GetReturnMultiParam;
use Ex\GetReturnMultiParamResponse;
use GoetasWebservices\SoapServices\Metadata\Envelope\Fault as FaultBase;
use GoetasWebservices\SoapServices\Metadata\Envelope\SoapEnve... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/tests/Client/BuildClientTest.php | tests/Client/BuildClientTest.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Tests\Client;
use GoetasWebservices\SoapServices\Metadata\Generator\MetadataGenerator;
use GoetasWebservices\SoapServices\Metadata\Loader\DevMetadataLoader;
use GoetasWebservices\SoapServices\SoapClient\ClientFactory;
use GoetasWebser... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/tests/DependencyInjection/ConfigurationTest.php | tests/DependencyInjection/ConfigurationTest.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Tests\DependencyInjection;
use GoetasWebservices\SoapServices\SoapClient\Builder\SoapContainerBuilder;
use PHPUnit\Framework\TestCase;
class ConfigurationTest extends TestCase
{
public function testDI(): void
{
$build... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
goetas-webservices/soap-client | https://github.com/goetas-webservices/soap-client/blob/29b0d402ec1c51cafbfb43679d6ea5d171493e6a/tests/Stub/StubGeneratorTest.php | tests/Stub/StubGeneratorTest.php | <?php
declare(strict_types=1);
namespace GoetasWebservices\SoapServices\SoapClient\Tests\Stub;
use GoetasWebservices\SoapServices\SoapClient\Builder\SoapContainerBuilder;
use PHPUnit\Framework\TestCase;
class StubGeneratorTest extends TestCase
{
public function testDI(): void
{
$builder = new SoapCo... | php | MIT | 29b0d402ec1c51cafbfb43679d6ea5d171493e6a | 2026-01-05T03:34:08.945548Z | false |
Rarst/release-belt | https://github.com/Rarst/release-belt/blob/119e8b78e6ae2f110167fd8c42d1e426c292a7e0/index.php | index.php | <?php
/**
* @deprecated 0.2:1.0 Use of package root as web root is deprecated in favor of `public/` directory.
*/
declare(strict_types=1);
trigger_error('Use of package root as web root is deprecated in favor of `public/` directory.', E_USER_DEPRECATED);
require __DIR__ . '/public/index.php';
| php | MIT | 119e8b78e6ae2f110167fd8c42d1e426c292a7e0 | 2026-01-05T03:34:19.964419Z | false |
Rarst/release-belt | https://github.com/Rarst/release-belt/blob/119e8b78e6ae2f110167fd8c42d1e426c292a7e0/src/UrlGenerator.php | src/UrlGenerator.php | <?php
declare(strict_types=1);
namespace Rarst\ReleaseBelt;
use Psr\Http\Message\UriInterface;
use Slim\Interfaces\RouteParserInterface;
/**
* Concrete implementation for the absolute URL generation.
*/
class UrlGenerator implements UrlGeneratorInterface
{
private RouteParserInterface $routeParser;
priva... | php | MIT | 119e8b78e6ae2f110167fd8c42d1e426c292a7e0 | 2026-01-05T03:34:19.964419Z | false |
Rarst/release-belt | https://github.com/Rarst/release-belt/blob/119e8b78e6ae2f110167fd8c42d1e426c292a7e0/src/definitions.php | src/definitions.php | <?php
declare(strict_types=1);
use League\Fractal\Manager as Fractal;
use League\Fractal\Resource\Collection;
use Psr\Container\ContainerInterface;
use Rarst\ReleaseBelt\Controller\JsonController;
use Rarst\ReleaseBelt\Fractal\PackageSerializer;
use Rarst\ReleaseBelt\Fractal\ReleaseTransformer;
use Rarst\ReleaseBelt\... | php | MIT | 119e8b78e6ae2f110167fd8c42d1e426c292a7e0 | 2026-01-05T03:34:19.964419Z | false |
Rarst/release-belt | https://github.com/Rarst/release-belt/blob/119e8b78e6ae2f110167fd8c42d1e426c292a7e0/src/Release.php | src/Release.php | <?php
declare(strict_types=1);
namespace Rarst\ReleaseBelt;
use Symfony\Component\Finder\SplFileInfo;
/**
* Release instance, based on a file data.
*/
class Release
{
protected const SEPARATORS = '.-_';
// From https://github.com/composer/semver/blob/master/src/VersionParser.php
/** @var string */
... | php | MIT | 119e8b78e6ae2f110167fd8c42d1e426c292a7e0 | 2026-01-05T03:34:19.964419Z | false |
Rarst/release-belt | https://github.com/Rarst/release-belt/blob/119e8b78e6ae2f110167fd8c42d1e426c292a7e0/src/UrlGeneratorInterface.php | src/UrlGeneratorInterface.php | <?php
declare(strict_types=1);
namespace Rarst\ReleaseBelt;
/**
* Declares a way to generate absolute URLs to the app routes.
*/
interface UrlGeneratorInterface
{
/**
* Generates the absolute public URL for the given route and data.
*
* @param string $name Route name.
* @param array $data ... | php | MIT | 119e8b78e6ae2f110167fd8c42d1e426c292a7e0 | 2026-01-05T03:34:19.964419Z | false |
Rarst/release-belt | https://github.com/Rarst/release-belt/blob/119e8b78e6ae2f110167fd8c42d1e426c292a7e0/src/ReleaseParser.php | src/ReleaseParser.php | <?php
declare(strict_types=1);
namespace Rarst\ReleaseBelt;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\SplFileInfo;
/**
* Finds and processes releases in a file system.
*/
class ReleaseParser
{
/** @var Finder $finder */
protected $finder;
/**
* ReleaseParser constructor.
... | php | MIT | 119e8b78e6ae2f110167fd8c42d1e426c292a7e0 | 2026-01-05T03:34:19.964419Z | false |
Rarst/release-belt | https://github.com/Rarst/release-belt/blob/119e8b78e6ae2f110167fd8c42d1e426c292a7e0/src/Fractal/PackageSerializer.php | src/Fractal/PackageSerializer.php | <?php
declare(strict_types=1);
namespace Rarst\ReleaseBelt\Fractal;
use League\Fractal\Serializer\ArraySerializer;
/**
* Serializes package data into repository representation.
*/
class PackageSerializer extends ArraySerializer
{
/**
* Serializes the data into the needed array structure.
*/
publ... | php | MIT | 119e8b78e6ae2f110167fd8c42d1e426c292a7e0 | 2026-01-05T03:34:19.964419Z | false |
Rarst/release-belt | https://github.com/Rarst/release-belt/blob/119e8b78e6ae2f110167fd8c42d1e426c292a7e0/src/Fractal/ReleaseTransformer.php | src/Fractal/ReleaseTransformer.php | <?php
declare(strict_types=1);
namespace Rarst\ReleaseBelt\Fractal;
use League\Fractal\TransformerAbstract;
use Rarst\ReleaseBelt\UrlGeneratorInterface;
use Rarst\ReleaseBelt\Release;
/**
* Prepares release data for the repository format.
*/
class ReleaseTransformer extends TransformerAbstract
{
/** @var UrlG... | php | MIT | 119e8b78e6ae2f110167fd8c42d1e426c292a7e0 | 2026-01-05T03:34:19.964419Z | false |
Rarst/release-belt | https://github.com/Rarst/release-belt/blob/119e8b78e6ae2f110167fd8c42d1e426c292a7e0/src/Model/FileModel.php | src/Model/FileModel.php | <?php
declare(strict_types=1);
namespace Rarst\ReleaseBelt\Model;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\SplFileInfo;
/**
* Implements file lookup.
*/
class FileModel
{
/** @var Finder */
protected $finder;
/**
* FileModel constructor.
*/
public function __con... | php | MIT | 119e8b78e6ae2f110167fd8c42d1e426c292a7e0 | 2026-01-05T03:34:19.964419Z | false |
Rarst/release-belt | https://github.com/Rarst/release-belt/blob/119e8b78e6ae2f110167fd8c42d1e426c292a7e0/src/Model/IndexModel.php | src/Model/IndexModel.php | <?php
declare(strict_types=1);
namespace Rarst\ReleaseBelt\Model;
use Rarst\ReleaseBelt\UrlGeneratorInterface;
/**
* Provides data context for the index page.
*/
class IndexModel
{
/** @var array<string, array> */
protected $packages;
/** @var UrlGeneratorInterface */
protected $urlGenerator;
... | php | MIT | 119e8b78e6ae2f110167fd8c42d1e426c292a7e0 | 2026-01-05T03:34:19.964419Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.