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
icamys/php-sitemap-generator
https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/src/Extensions/GoogleImageExtension.php
src/Extensions/GoogleImageExtension.php
<?php namespace Icamys\SitemapGenerator\Extensions; use InvalidArgumentException; use XMLWriter; class GoogleImageExtension { /** * @var int Maximum number of images allowed per page. */ private const maxImageCount = 1000; /** * @var string */ private const maxImageCountRefLink =...
php
MIT
8ff1ae898cb67601bea07c22fa72d50add9f99ad
2026-01-05T03:47:25.219669Z
false
icamys/php-sitemap-generator
https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/test/Feature/SitemapGeneratorTest.php
test/Feature/SitemapGeneratorTest.php
<?php namespace Feature; use BadMethodCallException; use DateTime; use DOMDocument; use DOMXPath; use Exception; use Icamys\SitemapGenerator\Config; use Icamys\SitemapGenerator\Runtime; use Icamys\SitemapGenerator\SitemapGenerator; use InvalidArgumentException; use PHPUnit\Framework\TestCase; use ReflectionClass; use...
php
MIT
8ff1ae898cb67601bea07c22fa72d50add9f99ad
2026-01-05T03:47:25.219669Z
true
icamys/php-sitemap-generator
https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/test/Unit/RuntimeTest.php
test/Unit/RuntimeTest.php
<?php namespace Unit; use CurlHandle; use Icamys\SitemapGenerator\Runtime; use phpmock\phpunit\PHPMock; use phpmock\spy\Spy; use PHPUnit\Framework\TestCase; class RuntimeTest extends TestCase { use PHPMock; /** * @var CurlHandle */ private CurlHandle $curlHandle; /** * @var Runtime ...
php
MIT
8ff1ae898cb67601bea07c22fa72d50add9f99ad
2026-01-05T03:47:25.219669Z
false
icamys/php-sitemap-generator
https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/test/Unit/SitemapGeneratorTest.php
test/Unit/SitemapGeneratorTest.php
<?php namespace Unit; use BadMethodCallException; use DateTime; use Icamys\SitemapGenerator\Config; use Icamys\SitemapGenerator\FileSystem; use Icamys\SitemapGenerator\Runtime; use Icamys\SitemapGenerator\SitemapGenerator; use InvalidArgumentException; use OutOfRangeException; use phpmock\phpunit\PHPMock; use PHPUnit...
php
MIT
8ff1ae898cb67601bea07c22fa72d50add9f99ad
2026-01-05T03:47:25.219669Z
false
icamys/php-sitemap-generator
https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/test/Unit/Extensions/GoogleVideoExtensionTest.php
test/Unit/Extensions/GoogleVideoExtensionTest.php
<?php namespace Unit\Extensions; use Icamys\SitemapGenerator\Extensions\GoogleVideoExtension; use PHPUnit\Framework\TestCase; use \InvalidArgumentException; class GoogleVideoExtensionTest extends TestCase { public function testMissingFieldsException() { $this->expectException(InvalidArgumentException::cl...
php
MIT
8ff1ae898cb67601bea07c22fa72d50add9f99ad
2026-01-05T03:47:25.219669Z
false
icamys/php-sitemap-generator
https://github.com/icamys/php-sitemap-generator/blob/8ff1ae898cb67601bea07c22fa72d50add9f99ad/test/Unit/Extensions/GoogleImageExtensionTest.php
test/Unit/Extensions/GoogleImageExtensionTest.php
<?php namespace Unit\Extensions; use PHPUnit\Framework\TestCase; use function Icamys\SitemapGenerator\Extensions\has_string_keys; class GoogleImageExtensionTest extends TestCase { public function testHasStringKeys() { $this->assertTrue(has_string_keys(['foo' => 'bar'])); $this->assertTrue(has...
php
MIT
8ff1ae898cb67601bea07c22fa72d50add9f99ad
2026-01-05T03:47:25.219669Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/LaravelQuizServiceProvider.php
src/LaravelQuizServiceProvider.php
<?php namespace Harishdurga\LaravelQuiz; use Illuminate\Support\ServiceProvider; class LaravelQuizServiceProvider extends ServiceProvider { /** * Bootstrap the application services. */ public function boot() { /* * Optional methods to load your package assets */ ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/LaravelQuizFacade.php
src/LaravelQuizFacade.php
<?php namespace Harishdurga\LaravelQuiz; use Illuminate\Support\Facades\Facade; /** * @see \Harishdurga\LaravelQuiz\Skeleton\SkeletonClass */ class LaravelQuizFacade extends Facade { /** * Get the registered name of the component. * * @return string */ protected static function getFacad...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/LaravelQuiz.php
src/LaravelQuiz.php
<?php namespace Harishdurga\LaravelQuiz; class LaravelQuiz { }
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Traits/CanAuthorQuiz.php
src/Traits/CanAuthorQuiz.php
<?php namespace Harishdurga\LaravelQuiz\Traits; trait CanAuthorQuiz { public function quizzes() { return $this->morphMany(config('laravel-quiz.models.quiz_author'), 'author'); } }
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Traits/QuizParticipant.php
src/Traits/QuizParticipant.php
<?php namespace Harishdurga\LaravelQuiz\Traits; use Harishdurga\LaravelQuiz\Models\QuizAttempt; trait QuizParticipant { public function quiz_attempts() { return $this->morphMany(config('laravel-quiz.models.quiz_attempt'), 'participant'); } }
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Models/QuizAuthor.php
src/Models/QuizAuthor.php
<?php namespace Harishdurga\LaravelQuiz\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Database\Eloquent\Factories\HasFactory; class QuizAuthor extends Model { use HasFactory, SoftDeletes; /** * The attributes that aren't mass assignable. ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Models/QuizAttempt.php
src/Models/QuizAttempt.php
<?php namespace Harishdurga\LaravelQuiz\Models; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; /** * @property Quiz $quiz */ class QuizAttempt extends Model { use SoftDeletes; /** * The attributes that aren't mass ass...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Models/QuestionType.php
src/Models/QuestionType.php
<?php namespace Harishdurga\LaravelQuiz\Models; use Harishdurga\LaravelQuiz\Database\Factories\QuestionTypeFactory; use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Ques...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Models/QuizAttemptAnswer.php
src/Models/QuizAttemptAnswer.php
<?php namespace Harishdurga\LaravelQuiz\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class QuizAttemptAnswer extends Model { use HasFactory, SoftDeletes; /** * The attributes that aren't mass assigna...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Models/Quiz.php
src/Models/Quiz.php
<?php namespace Harishdurga\LaravelQuiz\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\Database\Eloquent\Factories\HasFactory; use Harishdurga\LaravelQuiz\Database\Factories\QuizFactory; class Quiz extends...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Models/Topicable.php
src/Models/Topicable.php
<?php namespace Harishdurga\LaravelQuiz\Models; use Illuminate\Database\Eloquent\Model; class Topicable extends Model { }
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Models/QuestionOption.php
src/Models/QuestionOption.php
<?php namespace Harishdurga\LaravelQuiz\Models; use Harishdurga\LaravelQuiz\Database\Factories\QuestionOptionFactory; use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Qu...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Models/QuizQuestion.php
src/Models/QuizQuestion.php
<?php namespace Harishdurga\LaravelQuiz\Models; use Harishdurga\LaravelQuiz\Database\Factories\QuizQuestionFactory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class QuizQuestion extends Model { use HasFactory, SoftD...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Models/Topic.php
src/Models/Topic.php
<?php namespace Harishdurga\LaravelQuiz\Models; use Harishdurga\LaravelQuiz\Database\Factories\TopicFactory; use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Topic exten...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/src/Models/Question.php
src/Models/Question.php
<?php namespace Harishdurga\LaravelQuiz\Models; use Harishdurga\LaravelQuiz\Database\Factories\QuestionFactory; use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\D...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/tests/TestCase.php
tests/TestCase.php
<?php namespace Harishdurga\LaravelQuiz\Tests; use Harishdurga\LaravelQuiz\LaravelQuizServiceProvider; class TestCase extends \Orchestra\Testbench\TestCase { public function setUp(): void { parent::setUp(); // additional setup } protected function getPackageProviders($app) { ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/tests/Feature/QuizTest.php
tests/Feature/QuizTest.php
<?php namespace Harishdurga\LaravelQuiz\Tests\Feature; use Harishdurga\LaravelQuiz\Models\Quiz; use Harishdurga\LaravelQuiz\Models\Topic; use Harishdurga\LaravelQuiz\Tests\TestCase; use Harishdurga\LaravelQuiz\Models\Question; use Harishdurga\LaravelQuiz\Models\QuizAttempt; use Harishdurga\LaravelQuiz\Models\Question...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
true
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/tests/migrations/create_authors_table.php
tests/migrations/create_authors_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateAuthorsTable extends Migration { /** * Run the migrations. * @return void * */ public function up() { Schema::create('authors', function (...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/tests/Unit/QuizAuthorTest.php
tests/Unit/QuizAuthorTest.php
<?php namespace Harishdurga\LaravelQuiz\Tests\Unit; use Harishdurga\LaravelQuiz\Models\Quiz; use Harishdurga\LaravelQuiz\Tests\TestCase; use Harishdurga\LaravelQuiz\Models\QuizAuthor; use Harishdurga\LaravelQuiz\Tests\Models\Author; use Harishdurga\LaravelQuiz\Tests\Models\Editor; use Illuminate\Foundation\Testing\Re...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/tests/Unit/QuizTest.php
tests/Unit/QuizTest.php
<?php namespace Harishdurga\LaravelQuiz\Tests\Unit; use Harishdurga\LaravelQuiz\Models\Quiz; use Harishdurga\LaravelQuiz\Models\Topic; use Harishdurga\LaravelQuiz\Tests\TestCase; use Harishdurga\LaravelQuiz\Models\Question; use Harishdurga\LaravelQuiz\Models\QuizAttempt; use Harishdurga\LaravelQuiz\Models\QuizQuestio...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/tests/Unit/QuizAttemptTest.php
tests/Unit/QuizAttemptTest.php
<?php namespace Harishdurga\LaravelQuiz\Tests\Unit; use Harishdurga\LaravelQuiz\Models\Question; use Harishdurga\LaravelQuiz\Models\QuestionOption; use Harishdurga\LaravelQuiz\Models\QuestionType; use Harishdurga\LaravelQuiz\Models\Quiz; use Harishdurga\LaravelQuiz\Models\QuizAttempt; use Harishdurga\LaravelQuiz\Mode...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
true
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/tests/Unit/QuestionTest.php
tests/Unit/QuestionTest.php
<?php namespace Harishdurga\LaravelQuiz\Tests\Unit; use Harishdurga\LaravelQuiz\Models\Topic; use Harishdurga\LaravelQuiz\Tests\TestCase; use Harishdurga\LaravelQuiz\Models\Question; use Harishdurga\LaravelQuiz\Models\QuestionType; use Harishdurga\LaravelQuiz\Models\QuestionOption; use Illuminate\Foundation\Testing\R...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/tests/Unit/TopicTest.php
tests/Unit/TopicTest.php
<?php namespace Harishdurga\LaravelQuiz\Tests\Unit; use Harishdurga\LaravelQuiz\Models\Topic; use Harishdurga\LaravelQuiz\Tests\TestCase; use Harishdurga\LaravelQuiz\Models\Question; use Illuminate\Foundation\Testing\RefreshDatabase; use PHPUnit\Framework\Attributes\Test; class TopicTest extends TestCase { use R...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/tests/Models/Editor.php
tests/Models/Editor.php
<?php namespace Harishdurga\LaravelQuiz\Tests\Models; use Harishdurga\LaravelQuiz\Traits\CanAuthorQuiz; use Illuminate\Database\Eloquent\Model; class Editor extends Model { use CanAuthorQuiz; /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded = ['...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/tests/Models/Author.php
tests/Models/Author.php
<?php namespace Harishdurga\LaravelQuiz\Tests\Models; use Harishdurga\LaravelQuiz\Traits\CanAuthorQuiz; use Harishdurga\LaravelQuiz\Traits\QuizParticipant; use Illuminate\Database\Eloquent\Model; class Author extends Model { use QuizParticipant, CanAuthorQuiz; /** * The attributes that aren't mass assig...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/config/config.php
config/config.php
<?php return [ /* |-------------------------------------------------------------------------- | Table Names on Database |-------------------------------------------------------------------------- | | Enter the names of the tables. | */ 'table_names' => [ 'topics' ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/factories/QuizFactory.php
database/factories/QuizFactory.php
<?php namespace Harishdurga\LaravelQuiz\Database\Factories; use Harishdurga\LaravelQuiz\Models\Quiz; use Illuminate\Support\Str; use Illuminate\Database\Eloquent\Factories\Factory; class QuizFactory extends Factory { protected $model = Quiz::class; public function definition() { $name = $this->f...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/factories/QuestionTypeFactory.php
database/factories/QuestionTypeFactory.php
<?php namespace Harishdurga\LaravelQuiz\Database\Factories; use Illuminate\Support\Str; use Harishdurga\LaravelQuiz\Models\QuestionType; use Illuminate\Database\Eloquent\Factories\Factory; class QuestionTypeFactory extends Factory { protected $model = QuestionType::class; public function definition() { ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/factories/QuizQuestionFactory.php
database/factories/QuizQuestionFactory.php
<?php namespace Harishdurga\LaravelQuiz\Database\Factories; use Harishdurga\LaravelQuiz\Models\QuizQuestion; use Illuminate\Support\Str; use Illuminate\Database\Eloquent\Factories\Factory; class QuizQuestionFactory extends Factory { protected $model = QuizQuestion::class; public function definition() { ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/factories/QuestionFactory.php
database/factories/QuestionFactory.php
<?php namespace Harishdurga\LaravelQuiz\Database\Factories; use Harishdurga\LaravelQuiz\Models\Question; use Harishdurga\LaravelQuiz\Models\QuestionType; use Illuminate\Support\Str; use Illuminate\Database\Eloquent\Factories\Factory; class QuestionFactory extends Factory { protected $model = Question::class; ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/factories/QuestionOptionFactory.php
database/factories/QuestionOptionFactory.php
<?php namespace Harishdurga\LaravelQuiz\Database\Factories; use Harishdurga\LaravelQuiz\Models\QuestionOption; use Illuminate\Database\Eloquent\Factories\Factory; class QuestionOptionFactory extends Factory { protected $model = QuestionOption::class; public function definition() { return [ ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/factories/TopicFactory.php
database/factories/TopicFactory.php
<?php namespace Harishdurga\LaravelQuiz\Database\Factories; use Illuminate\Support\Str; use Harishdurga\LaravelQuiz\Models\Topic; use Illuminate\Database\Eloquent\Factories\Factory; class TopicFactory extends Factory { protected $model = Topic::class; public function definition() { $name = $this...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/migrations/2022_08_15_033405_remove_unq_constraint_from_quiz_questions_table.php
database/migrations/2022_08_15_033405_remove_unq_constraint_from_quiz_questions_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public array $tableNames; public function __construct() { $this->tableNames = config('laravel-quiz.table_names'); } /** ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/migrations/2022_06_09_203138_rename_quizzes_tables.php
database/migrations/2022_06_09_203138_rename_quizzes_tables.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public array $tableNames; public function __construct() { $this->tableNames = config('laravel-quiz.table_names'); } /** ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/migrations/2022_08_01_153324_remove_unique_constraint_for_slugs.php
database/migrations/2022_08_01_153324_remove_unique_constraint_for_slugs.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public array $tableNames; public function __construct() { $this->tableNames = config('laravel-quiz.table_names'); } /** ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/migrations/2021_05_22_053359_create_quizzes_table.php
database/migrations/2021_05_22_053359_create_quizzes_table.php
<?php use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateQuizzesTable extends Migration { public array $tableNames; public function __construct() { $this->tableNames = config(...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/migrations/2022_05_27_163432_add_negative_marks_columns_to_quiz_questions_table.php
database/migrations/2022_05_27_163432_add_negative_marks_columns_to_quiz_questions_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public array $tableNames; public function __construct() { $this->tableNames = config('laravel-quiz.table_names'); } /** ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/migrations/2022_06_12_061720_create_quiz_authors_table.php
database/migrations/2022_06_12_061720_create_quiz_authors_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public array $tableNames; public function __construct() { $this->tableNames = config('laravel-quiz.table_names'); } /** ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
harishdurga/laravel-quiz
https://github.com/harishdurga/laravel-quiz/blob/9bf62f705576400e6e36cf0decbe4b0c1b16a1ff/database/seeders/QuestionTypeSeeder.php
database/seeders/QuestionTypeSeeder.php
<?php namespace Harishdurga\LaravelQuiz\Database\Seeders; use Harishdurga\LaravelQuiz\Models\QuestionType; use Illuminate\Database\Seeder; class QuestionTypeSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $questionTypes = [ ...
php
MIT
9bf62f705576400e6e36cf0decbe4b0c1b16a1ff
2026-01-05T03:47:41.969706Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/footer.php
footer.php
</section> </div> <?php $linkIds = of_get_option('links_id'); if(!!wp_list_bookmarks('echo=0&category='.$linkIds)){ ?> <div class="main-footer" id="main-footer"> <div class="container"> <h3>友情链接</h3> <ul class="list-unstyled list-inline"> <?php wp_list_bookmarks('...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/page-tags.php
page-tags.php
<?php /* Template Name: 标签页模版 */ $layout = of_get_option('side_bar'); $layout = (empty($layout)) ? 'right_side' : $layout; get_header(); ?> <?php if($layout == 'left_side'){ ?> <aside class="col-md-4 hidden-xs hidden-sm"> <div id="sidebar"> <?php dynamic_sidebar( 'sidebar_single'); ?> </div> </aside> <?...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/page.php
page.php
<?php /* Template Name: 默认模版 */ $layout = of_get_option('side_bar'); $layout = (empty($layout)) ? 'right_side' : $layout; get_header(); ?> <?php if($layout == 'left_side'){ ?> <aside class="col-md-4 hidden-xs hidden-sm"> <div id="sidebar"> <?php dynamic_sidebar( 'sidebar_single'); ?> </div> </aside> <?p...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/page-link.php
page-link.php
<?php /* Template Name: 友情链接 */ $layout = of_get_option('side_bar'); $layout = (empty($layout)) ? 'right_side' : $layout; get_header(); $linkcats = $wpdb->get_results("SELECT T1.name AS name FROM $wpdb->terms T1, $wpdb->term_taxonomy T2 WHERE T1.term_id = T2.term_id AND T2.taxonomy = 'link_catego...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/comments.php
comments.php
<?php /** * The template for displaying Comments * * The area of the page that contains comments and the comment form. * * @package WordPress * @subpackage Twenty_Fourteen * @since Twenty Fourteen 1.0 */ /* * If the current post is protected by a password and the visitor has not yet * entered the password we...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/smiley.php
smiley.php
<script type="text/javascript" language="javascript"> /* <![CDATA[ */ function grin(tag) { var myField; tag = ' ' + tag + ' '; if (document.getElementById('comment') && document.getElementById('comment').type == 'textarea') { myField = document.getElementById('comment'); } else { ...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/page-full.php
page-full.php
<?php /* Template Name: 无侧边栏 */ get_header(); ?> <section class='col-md-12' > <?php while ( have_posts() ) : the_post(); ?> <article class="well clearfix page" id="post-100"> <header class="entry-header"> <h1 class="entry-title"> <?php the_title(); ?> </h1> </header...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/timthumb.php
timthumb.php
<?php /** * TimThumb by Ben Gillbanks and Mark Maunder * Based on work done by Tim McDaniels and Darren Hoyt * http://code.google.com/p/timthumb/ * * GNU General Public License, version 2 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Examples and documentation available on the project homepage *...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
true
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/functions.php
functions.php
<?php define( '_9IPHP_VERSION', 1.4 ); //require_once(TEMPLATEPATH . '/inc/themeset.php'); require_once(TEMPLATEPATH . '/inc/widgets.php'); require_once(TEMPLATEPATH . '/inc/theme-options.php'); if (of_get_option('disable_google_font')) { require_once(TEMPLATEPATH . '/inc/disable-google-fonts.php'); } //特色图片支持 ...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
true
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/page-comment-tj.php
page-comment-tj.php
<?php /* Template Name: 评论统计页 */ $layout = of_get_option('side_bar'); $layout = (empty($layout)) ? 'right_side' : $layout; get_header(); ?> <?php if($layout == 'left_side'){ ?> <aside class="col-md-4 hidden-xs hidden-sm"> <div id="sidebar"> <?php dynamic_sidebar( 'sidebar_single'); ?> </div> </aside> <...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/options.php
options.php
<?php /** * A unique identifier is defined to store the options in the database and reference them from the theme. * By default it uses the theme name, in lowercase and without spaces, but this can be changed if needed. * If the identifier changes, it'll appear as if the options have been reset. */ function option...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/index.php
index.php
<?php $layout = of_get_option('side_bar'); $layout = (empty($layout)) ? 'right_side' : $layout; get_header(); ?> <!--[if lt IE 8]> <div id="ie-warning" class="alert alert-danger fade in visible-lg"> <button type="button" class="close" data-dismiss="alert">&times;</button> <i class="fa fa-warning"></i> 请注意,本博...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/404.php
404.php
<?php get_header(); ?> <div class="nofound well"> <p> <img src="<?php echo get_template_directory_uri(); ?>/images/404.png"/> </p> <h2>Sorry…您访问的页面不存在!点此 <a href=""><i class="fa fa-home"></i>返回首页</a></h2> <p>您可能输入了错误的网址,或者该网页已删除或移动</p> </div> <?php get_footer(); ?>
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/header.php
header.php
<!DOCTYPE html><html><head> <title><?php wp_title( '|', true, 'right' ); ?></title> <meta charset="<?php bloginfo('charset'); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php function keywords(){ if( is_home() || is_front_page() ){ echo of_get_option('site_keyw...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/page-archives.php
page-archives.php
<?php /* Template Name: 归档模板 */ $layout = of_get_option('side_bar'); $layout = (empty($layout)) ? 'right_side' : $layout; get_header(); ?> <?php if($layout == 'left_side'){ ?> <aside class="col-md-4 hidden-xs hidden-sm"> <div id="sidebar"> <?php dynamic_sidebar( 'sidebar_single'); ?> </div> </aside> <?p...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/page-style.php
page-style.php
<?php /* Template Name: 样式参考页面 */ ?> <?php get_header(); ?> <header class="bs-masthead well"> <h1>CSS样式参考</h1> <div class="alert alert-info"><p>通过对应的CSS样式调用,我们可以把自己的文章变得更加丰富多彩。</p></div> </header> <section class="well"> <div id="btn-css"> <div class="page-header"> <h1>按钮样式CSS</h1> </div>...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/single.php
single.php
<?php $layout = of_get_option('side_bar'); $layout = (empty($layout)) ? 'right_side' : $layout; get_header(); if($layout == 'left_side'){ ?> <aside class="col-md-4 hidden-xs hidden-sm"> <div id="sidebar"> <?php dynamic_sidebar( 'sidebar_single'); ?> </div> </aside> <?php } ?> <section id='main' cla...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/sidebar.php
sidebar.php
<aside class='col-md-4'> <?php if ( ! dynamic_sidebar( 'sidebar' ) ) : // If the user hasn't defined any specific widgets in the admin yet, display a couple dummy widgets, as written below ?> <aside id="archives" class="widget panel panel-specs visible-lg visible-md"> <div class="panel-heading"> <h2>文章归档</h2> ...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/theme-options.php
inc/theme-options.php
<?php if ( !function_exists( 'optionsframework_init' ) ) { define( 'OPTIONS_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/inc/theme-options/' ); require_once dirname( __FILE__ ) . '/theme-options/options-framework.php'; /* Add custom script to theme options */ add_action('optionsframework_custom_scripts'...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/disable-google-fonts.php
inc/disable-google-fonts.php
<?php /** * The Disable Google Fonts Plugin * * Disable enqueuing of Open Sans and other fonts used by WordPress from Google. * * @package Disable_Google_Fonts * @subpackage Main */ /** * Plugin Name: Disable Google Fonts * Plugin URI: http://blog.milandinic.com/wordpress/plugins/disable-google-fonts/ * De...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/zh_to_py.php
inc/zh_to_py.php
<?php class Chinese_to_PY { /** * 拼音字符转换图 * @var array */ private static $_aMaps = array( 'a'=>-20319,'ai'=>-20317,'an'=>-20304,'ang'=>-20295,'ao'=>-20292, 'ba'=>-20283,'bai'=>-20265,'ban'=>-20257,'bang'=>-20242,'bao'=>-20230,'bei'=>-20051,'ben'=>-20036,'beng'=>-20032,'bi'=>-20026...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/widgets.php
inc/widgets.php
<?php //注册侧边栏小工具 function specs_widgets_init() { register_sidebar( array( 'name' => __( 'Home Sidebar', '9iphp' ), 'id' => 'sidebar_home', 'description' => __( '首页默认边栏,“9IPHP-文章”小工具需要放在最下面', '9iphp' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s panel panel-specs clearfix...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/themeset.php
inc/themeset.php
<?php add_action("admin_menu", "option_page"); function option_page() { //print_r($_POST); //echo "specs_alert_open:".$_POST['specs_alert_open']; file_put_contents("log.txt",json_encode($_POST)); if (count($_POST) > 0 && isset($_POST["specs_settings"])) { $option...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/theme-options/options-framework.php
inc/theme-options/options-framework.php
<?php /** * Options Framework * * @package Options Framework * @author Devin Price <devin@wptheming.com> * @license GPL-2.0+ * @link http://wptheming.com * @copyright 2010-2014 WP Theming * * @wordpress-plugin * Plugin Name: Options Framework * Plugin URI: http://wptheming.com * Description: A ...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/theme-options/includes/class-options-framework-admin.php
inc/theme-options/includes/class-options-framework-admin.php
<?php /** * @package Options_Framework * @author Devin Price <devin@wptheming.com> * @license GPL-2.0+ * @link http://wptheming.com * @copyright 2010-2014 WP Theming */ class Options_Framework_Admin { /** * Page hook for the options screen * * @since 1.7.0 * @type string */...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/theme-options/includes/class-options-interface.php
inc/theme-options/includes/class-options-interface.php
<?php /** * @package Options_Framework * @author Devin Price <devin@wptheming.com> * @license GPL-2.0+ * @link http://wptheming.com * @copyright 2010-2014 WP Theming */ class Options_Framework_Interface { /** * Generates the tabs that are used in the options menu */ static function optionsfram...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/theme-options/includes/class-options-sanitization.php
inc/theme-options/includes/class-options-sanitization.php
<?php /** * @package Options_Framework * @author Devin Price <devin@wptheming.com> * @license GPL-2.0+ * @link http://wptheming.com * @copyright 2010-2014 WP Theming */ /** * Sanitization for text input * * @link http://developer.wordpress.org/reference/functions/sanitize_text_field/ */ add_filte...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/theme-options/includes/class-options-media-uploader.php
inc/theme-options/includes/class-options-media-uploader.php
<?php /** * @package Options_Framework * @author Devin Price <devin@wptheming.com> * @license GPL-2.0+ * @link http://wptheming.com * @copyright 2010-2014 WP Theming */ class Options_Framework_Media_Uploader { /** * Initialize the media uploader class * * @since 1.7.0 */ public function in...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/theme-options/includes/class-options-framework.php
inc/theme-options/includes/class-options-framework.php
<?php /** * @package Options_Framework * @author Devin Price <devin@wptheming.com> * @license GPL-2.0+ * @link http://wptheming.com * @copyright 2010-2014 WP Theming */ class Options_Framework { /** * Plugin version, used for cache-busting of style and script file references. * * @since 1.7.0...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/post-format/content.php
inc/post-format/content.php
<article class="well clearfix"> <header class="entry-header"> <?php if ( has_post_thumbnail() ) {?> <a href="<?php the_permalink() ?>" class="entry-cover"> <?php echo get_the_post_thumbnail($post_id, 'full');?> </a> <?php }?> <h1 class="entry-title"> <a href="<?php the_permalink() ?>" title="<?php th...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
9IPHP/9IPHP
https://github.com/9IPHP/9IPHP/blob/e08bb9eee675a714f3441120dad153f7354e6dac/inc/post-format/single.php
inc/post-format/single.php
<article class="well clearfix entry-common" id="post-<?php echo $post->ID?>"> <header class="entry-header"> <?php if ( has_post_thumbnail() ) {?> <div class="entry-cover hidden-xs"> <?php echo get_the_post_thumbnail($post_id, 'full');?> </div> <?php }?> <p><a title="首页" href="<?php echo get_option('hom...
php
Apache-2.0
e08bb9eee675a714f3441120dad153f7354e6dac
2026-01-05T03:47:42.648193Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/src/SlimController/Slim.php
src/SlimController/Slim.php
<?php /* * This file is part of SlimController. * * @author Ulrich Kautz <uk@fortrabbit.de> * @copyright 2012 Ulrich Kautz * @version 0.1.2 * @package SlimController * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sl...
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/src/SlimController/SlimController.php
src/SlimController/SlimController.php
<?php /* * This file is part of SlimController. * * @author Ulrich Kautz <uk@fortrabbit.de> * @copyright 2012 Ulrich Kautz * @version 0.1.2 * @package SlimController * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sl...
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/tests/bootstrap.php
tests/bootstrap.php
<?php $loader = require __DIR__. '/../vendor/autoload.php'; $loader->add('SlimController\\Tests\\', __DIR__); $loader->register(); /*include 'SlimControllerUnitTestCase.php'; include 'Controller/Test.php';*/
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/tests/SlimController/Tests/SlimTest.php
tests/SlimController/Tests/SlimTest.php
<?php /** * This class is part of SlimController */ namespace SlimController\Tests; use SlimController\Tests\Fixtures\Controller\TestController; class SlimTest extends TestCase { public function testAddingRoutesToSameMethod() { $this->setUrl('/bla'); $this->app->addRoutes(array( ...
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/tests/SlimController/Tests/SlimControllerTest.php
tests/SlimController/Tests/SlimControllerTest.php
<?php /** * This class is part of SlimController */ namespace SlimController\Tests; use Mockery as m; use SlimController\SlimController; use SlimController\Tests\Fixtures\Controller\TestController; class SlimControllerTest extends \PHPUnit_Framework_TestCase { /** * @var \Mockery\MockInterface */ ...
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/tests/SlimController/Tests/TestCase.php
tests/SlimController/Tests/TestCase.php
<?php namespace SlimController\Tests; use Slim\Environment; use Slim\Http\Request; use Slim\Http\Response; use SlimController\Slim; class TestCase extends \PHPUnit_Framework_TestCase { /** * @var Environment */ protected $env; /** * @var Request */ protected $req; /** ...
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/tests/SlimController/Tests/Integration/CanCreateApplicationTest.php
tests/SlimController/Tests/Integration/CanCreateApplicationTest.php
<?php namespace SlimController\Tests\Integration; class CanCreateApplicationTest extends \PHPUnit_Framework_TestCase { public function testCanCreateSimpleApplication() { $app = new \SlimController\Slim(); $this->assertTrue(true); // if we got this far then creating the application worked ...
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/tests/SlimController/Tests/Fixtures/Controller/TestController.php
tests/SlimController/Tests/Fixtures/Controller/TestController.php
<?php namespace SlimController\Tests\Fixtures\Controller; use SlimController\SlimController; class TestController extends SlimController { public function indexAction() { echo "What is up?"; } public function helloAction($name) { echo "What is up $name?"; } public funct...
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/tests/SlimController/Tests/Fixtures/templates/rendertest.php
tests/SlimController/Tests/Fixtures/templates/rendertest.php
This is <?php echo $foo ?> and <?php echo $bar ?>
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/tests/SlimController/Tests/Old/RenderTest.php
tests/SlimController/Tests/Old/RenderTest.php
<?php namespace SlimController\Tests; class RenderTest extends TestCase { public function testParamsMultiDefault() { $this->expectOutputString('This is orotound and grandios'); $this->setUrl('/', 'data[Some][param]=foo&data[Other][param]=bar'); $this->app->addRoutes(array( ...
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/tests/SlimController/Tests/Old/RoutingTest.php
tests/SlimController/Tests/Old/RoutingTest.php
<?php namespace SlimController\Tests; class RoutingTest extends TestCase { public function testAddSimpleRoutes() { $this->setUrl('/'); $this->app->addRoutes(array( '/' => 'Controller:index', )); $this->assertEquals(1, count($this->app->router()->getMatchedRoutes($t...
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/tests/SlimController/Tests/Old/ControllerTest.php
tests/SlimController/Tests/Old/ControllerTest.php
<?php namespace SlimController\Tests; class ControllerTest extends TestCase { public function testControllerSimple() { $this->expectOutputString('What is up?'); $this->setUrl('/'); $this->app->addRoutes(array( '/' => 'Test:index', )); list($route) = $this-...
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
fortrabbit/slimcontroller
https://github.com/fortrabbit/slimcontroller/blob/d85f097ef2f75c653dcd7f8ee518fdeb64825c38/tests/SlimController/Tests/Old/ParamsTest.php
tests/SlimController/Tests/Old/ParamsTest.php
<?php namespace SlimController\Tests; class ParamsTest extends TestCase { public function testParamsSingle() { $this->expectOutputString('Param is 123'); $this->setUrl('/', 'data[Some][param]=123'); $this->app->addRoutes(array( '/' => 'Test:paramSingle', )); ...
php
MIT
d85f097ef2f75c653dcd7f8ee518fdeb64825c38
2026-01-05T03:47:57.949397Z
false
ace-of-aces/laravel-image-transform-url
https://github.com/ace-of-aces/laravel-image-transform-url/blob/a92d29b0a6dcfdea34468b277f13687536143eef/workbench/app/Models/User.php
workbench/app/Models/User.php
<?php namespace Workbench\App\Models; // use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { /** @use HasFactory<\Workbench\Datab...
php
MIT
a92d29b0a6dcfdea34468b277f13687536143eef
2026-01-05T03:48:03.612578Z
false
ace-of-aces/laravel-image-transform-url
https://github.com/ace-of-aces/laravel-image-transform-url/blob/a92d29b0a6dcfdea34468b277f13687536143eef/workbench/app/Providers/WorkbenchServiceProvider.php
workbench/app/Providers/WorkbenchServiceProvider.php
<?php namespace Workbench\App\Providers; use Illuminate\Support\ServiceProvider; class WorkbenchServiceProvider extends ServiceProvider { /** * Register services. */ public function register(): void { // } /** * Bootstrap services. */ public function boot(): void ...
php
MIT
a92d29b0a6dcfdea34468b277f13687536143eef
2026-01-05T03:48:03.612578Z
false
ace-of-aces/laravel-image-transform-url
https://github.com/ace-of-aces/laravel-image-transform-url/blob/a92d29b0a6dcfdea34468b277f13687536143eef/workbench/bootstrap/app.php
workbench/bootstrap/app.php
<?php use Illuminate\Foundation\Application; use Illuminate\Foundation\Configuration\Exceptions; use Illuminate\Foundation\Configuration\Middleware; use function Orchestra\Testbench\default_skeleton_path; return Application::configure(basePath: $APP_BASE_PATH ?? default_skeleton_path()) ->withRouting( we...
php
MIT
a92d29b0a6dcfdea34468b277f13687536143eef
2026-01-05T03:48:03.612578Z
false
ace-of-aces/laravel-image-transform-url
https://github.com/ace-of-aces/laravel-image-transform-url/blob/a92d29b0a6dcfdea34468b277f13687536143eef/workbench/routes/web.php
workbench/routes/web.php
<?php use Illuminate\Support\Facades\Route; Route::get('/', function () { return view('welcome'); });
php
MIT
a92d29b0a6dcfdea34468b277f13687536143eef
2026-01-05T03:48:03.612578Z
false
ace-of-aces/laravel-image-transform-url
https://github.com/ace-of-aces/laravel-image-transform-url/blob/a92d29b0a6dcfdea34468b277f13687536143eef/workbench/routes/console.php
workbench/routes/console.php
<?php use Illuminate\Foundation\Inspiring; use Illuminate\Support\Facades\Artisan; // Artisan::command('inspire', function () { // $this->comment(Inspiring::quote()); // })->purpose('Display an inspiring quote');
php
MIT
a92d29b0a6dcfdea34468b277f13687536143eef
2026-01-05T03:48:03.612578Z
false
ace-of-aces/laravel-image-transform-url
https://github.com/ace-of-aces/laravel-image-transform-url/blob/a92d29b0a6dcfdea34468b277f13687536143eef/workbench/config/image-transform-url.php
workbench/config/image-transform-url.php
<?php return [ /* |-------------------------------------------------------------------------- | Source Directories |-------------------------------------------------------------------------- | | Here you may configure the directories from which the image transformer | is allowed to serve im...
php
MIT
a92d29b0a6dcfdea34468b277f13687536143eef
2026-01-05T03:48:03.612578Z
false
ace-of-aces/laravel-image-transform-url
https://github.com/ace-of-aces/laravel-image-transform-url/blob/a92d29b0a6dcfdea34468b277f13687536143eef/workbench/config/image.php
workbench/config/image.php
<?php return [ /* |-------------------------------------------------------------------------- | Image Driver |-------------------------------------------------------------------------- | | Intervention Image supports “GD Library” and “Imagick” to process images | internally. Depending on y...
php
MIT
a92d29b0a6dcfdea34468b277f13687536143eef
2026-01-05T03:48:03.612578Z
false
ace-of-aces/laravel-image-transform-url
https://github.com/ace-of-aces/laravel-image-transform-url/blob/a92d29b0a6dcfdea34468b277f13687536143eef/workbench/config/filesystems.php
workbench/config/filesystems.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. T...
php
MIT
a92d29b0a6dcfdea34468b277f13687536143eef
2026-01-05T03:48:03.612578Z
false
ace-of-aces/laravel-image-transform-url
https://github.com/ace-of-aces/laravel-image-transform-url/blob/a92d29b0a6dcfdea34468b277f13687536143eef/workbench/database/factories/UserFactory.php
workbench/database/factories/UserFactory.php
<?php namespace Workbench\Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Str; use Workbench\App\Models\User; /** * @template TModel of \Workbench\App\Models\User * * @extends \Illuminate\Database\Eloquent\Factories\Factory<TModel...
php
MIT
a92d29b0a6dcfdea34468b277f13687536143eef
2026-01-05T03:48:03.612578Z
false
ace-of-aces/laravel-image-transform-url
https://github.com/ace-of-aces/laravel-image-transform-url/blob/a92d29b0a6dcfdea34468b277f13687536143eef/workbench/database/seeders/DatabaseSeeder.php
workbench/database/seeders/DatabaseSeeder.php
<?php namespace Workbench\Database\Seeders; use Illuminate\Database\Seeder; // use Illuminate\Database\Console\Seeds\WithoutModelEvents; use Workbench\Database\Factories\UserFactory; class DatabaseSeeder extends Seeder { /** * Seed the application's database. */ public function run(): void { ...
php
MIT
a92d29b0a6dcfdea34468b277f13687536143eef
2026-01-05T03:48:03.612578Z
false
ace-of-aces/laravel-image-transform-url
https://github.com/ace-of-aces/laravel-image-transform-url/blob/a92d29b0a6dcfdea34468b277f13687536143eef/src/ImageTransformUrl.php
src/ImageTransformUrl.php
<?php declare(strict_types=1); namespace AceOfAces\LaravelImageTransformUrl; use AceOfAces\LaravelImageTransformUrl\Exceptions\InvalidConfigurationException; use DateInterval; use DateTimeInterface; use Illuminate\Support\Facades\URL; class ImageTransformUrl { /** * Generate a regular URL for the image tra...
php
MIT
a92d29b0a6dcfdea34468b277f13687536143eef
2026-01-05T03:48:03.612578Z
false