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 |
|---|---|---|---|---|---|---|---|---|
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/Thing.php | src/ContextTypes/Thing.php | <?php
namespace JsonLd\ContextTypes;
/**
* https://schema.org/Thing
*/
class Thing extends AbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'alternateName' => null,
'description' => null,
'image' => ImageObject::class,
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/Rating.php | src/ContextTypes/Rating.php | <?php
namespace JsonLd\ContextTypes;
class Rating extends AbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'ratingValue' => null,
'bestRating' => null, // Required if the rating system is not on a 5-point scale
'worstRating' => ... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/Event.php | src/ContextTypes/Event.php | <?php
namespace JsonLd\ContextTypes;
class Event extends Thing
{
/**
* Property structure
*
* @var array
*/
protected $extendedStructure = [
'name' => null,
'startDate' => null,
'endDate' => null,
'url' => null,
'offers' => [],
'location' => ... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/Place.php | src/ContextTypes/Place.php | <?php
namespace JsonLd\ContextTypes;
class Place extends Thing
{
/**
* Property structure
*
* @var array
*/
protected $extendedStructure = [
'address' => PostalAddress::class,
'review' => Review::class,
'aggregateRating' => AggregateRating::class,
'geo' => G... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/Recipe.php | src/ContextTypes/Recipe.php | <?php
namespace JsonLd\ContextTypes;
/**
* https://schema.org/Recipe
*/
class Recipe extends AbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'name' => null,
'prepTime' => null,
'cookTime' => null,
'totalTime' => null,
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/QuantitativeValue.php | src/ContextTypes/QuantitativeValue.php | <?php
namespace JsonLd\ContextTypes;
class QuantitativeValue extends AbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'maxValue' => null,
'minValue' => null,
'value' => null,
'unitText' => null,
];
} | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/SearchBox.php | src/ContextTypes/SearchBox.php | <?php
namespace JsonLd\ContextTypes;
class SearchBox extends AbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'url' => null,
'potentialAction' => null,
];
/**
* After fill event.
*
* @param array $attributes
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/ListItem.php | src/ContextTypes/ListItem.php | <?php
namespace JsonLd\ContextTypes;
class ListItem extends AbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'position' => null,
'item' => null,
];
/**
* Set item in list.
*
* @param array $item
*
* @ret... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/ContactPoint.php | src/ContextTypes/ContactPoint.php | <?php
namespace JsonLd\ContextTypes;
class ContactPoint extends AbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'telephone' => null,
'contactType' => null,
'email' => null,
];
}
| php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/Enumeration.php | src/ContextTypes/Enumeration.php | <?php
namespace JsonLd\ContextTypes;
/**
* Lists or enumerations—for example, a list of cuisines or music genres, etc.
*
* https://schema.org/Enumeration
*/
class Enumeration extends Thing
{
/**
* Property structure
*
* @var array
*/
protected $extendedStructure = [
'superseded... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/MusicAbstractContext.php | src/ContextTypes/MusicAbstractContext.php | <?php
namespace JsonLd\ContextTypes;
abstract class MusicAbstractContext extends AbstractContext
{
/**
* Set the canonical URL of the article page.
*
* @param string $url
*
* @return array
*/
protected function setUrlAttribute($url)
{
// The URL is used as an ID
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/ImageObject.php | src/ContextTypes/ImageObject.php | <?php
namespace JsonLd\ContextTypes;
class ImageObject extends AbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'url' => null,
'height' => null,
'width' => null,
'caption' => null,
'thumbnail' => ImageObject::clas... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/MusicAlbum.php | src/ContextTypes/MusicAlbum.php | <?php
namespace JsonLd\ContextTypes;
class MusicAlbum extends MusicAbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'@id' => null,
'url' => null,
'name' => null,
'description' => null,
'numTracks' => null,
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/NutritionInformation.php | src/ContextTypes/NutritionInformation.php | <?php
namespace JsonLd\ContextTypes;
class NutritionInformation extends AbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'calories' => null,
'fatContent' => null,
'cholesterolContent' => null,
'sodiumContent' => null,
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/WebPage.php | src/ContextTypes/WebPage.php | <?php
namespace JsonLd\ContextTypes;
class WebPage extends AbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'@id' => null,
'url' => null,
];
/**
* Set the canonical URL of the article page.
*
* @param string $url
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/LocalBusiness.php | src/ContextTypes/LocalBusiness.php | <?php
namespace JsonLd\ContextTypes;
class LocalBusiness extends AbstractContext
{
/**
* Property structure
*
* @var array
*/
protected $structure = [
'name' => null,
'description' => null,
'image' => null,
'telephone' => null,
'email' => null,
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/Person.php | src/ContextTypes/Person.php | <?php
namespace JsonLd\ContextTypes;
/**
* https://schema.org/Person
*/
class Person extends Thing
{
/**
* Property structure (alphabetical order)
*
* @var array
*/
protected $extendedStructure = [
'additionalName' => null,
'address' => null, // PostalAddress or Text
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/ContextTypes/Book.php | src/ContextTypes/Book.php | <?php
namespace JsonLd\ContextTypes;
/**
* Book format to meet schema requirements to make JSON-LD
*
* https://jsonld.com/book/
* https://schema.org/Book
*/
class Book extends CreativeWork
{
/**
* Property structure
*
* @var array
*/
protected $extendedStructure = [
'abridged'... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/src/Contracts/ContextTypeInterface.php | src/Contracts/ContextTypeInterface.php | <?php
namespace JsonLd\Contracts;
interface ContextTypeInterface
{
/**
* @return array
*/
public function getProperties();
}
| php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/TestCase.php | tests/TestCase.php | <?php
namespace JsonLd\Test;
use Mockery;
use PHPUnit_Framework_TestCase;
class TestCase extends PHPUnit_Framework_TestCase
{
protected $class;
protected $attributes = [];
public function tearDown()
{
Mockery::close();
}
protected function make()
{
return new $this->cla... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTest.php | tests/ContextTest.php | <?php
namespace JsonLd\Test;
use Mockery;
use PHPUnit_Framework_TestCase;
class ContextTest extends PHPUnit_Framework_TestCase
{
/**
* @test
*/
public function shouldGetEventProperties()
{
$context = \JsonLd\Context::create('event', ['name' => 'Foo Bar']);
$this->assertEquals([... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/PlaceTest.php | tests/ContextTypes/PlaceTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class PlaceTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Place::class;
protected $attributes = [
'name' => 'Fluff Hut',
'address' => [
'streetAddress' => '112 Apple St.',
'addressLoc... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/CorporationTest.php | tests/ContextTypes/CorporationTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class CorporationTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Corporation::class;
protected $attributes = [
'name' => 'Acme Corp.',
'url' => 'https://example.com',
'description' => 'Lorem ipsum do... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/BookTest.php | tests/ContextTypes/BookTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class BookTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Book::class;
protected $attributes = [
'name' => 'The Title of Book',
'isbn' => '00000000',
'abridged' => false,
'bookEdition' => 'Lib... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/MusicRecordingTest.php | tests/ContextTypes/MusicRecordingTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class MusicRecordingTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\MusicRecording::class;
protected $attributes = [
'name' => 'magni dolores eo',
'url' => 'https://google.com/1-musicrecording',
'dur... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/PersonTest.php | tests/ContextTypes/PersonTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class PersonTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Person::class;
protected $attributes = [
'name' => 'Anonymous tester',
'description' => 'a man in the middle',
'mainEntityOfPage' => [
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/AudioBookTest.php | tests/ContextTypes/AudioBookTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class AudiobookTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Audiobook::class;
protected $attributes = [
'name' => 'The Title of Book',
'isbn' => '00000000',
'abridged' => false,
'bookEditio... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/BlogPostingTest.php | tests/ContextTypes/BlogPostingTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class BlogPostingTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\BlogPosting::class;
protected $attributes = [
'name' => 'More than That',
'url' => 'https://google.com/1-article',
'description' => 'Lo... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/EventTest.php | tests/ContextTypes/EventTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class EventTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Event::class;
protected $attributes = [
'name' => 'Apple Fest',
'startDate' => '2013-10-04T00:00',
'url' => 'https://google.com/events/22',
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/AggregateRatingTest.php | tests/ContextTypes/AggregateRatingTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class AggregateRatingTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\AggregateRating::class;
protected $attributes = [
'sameAs' => 'http://google.com/profile',
'reviewCount' => 5,
'ratingValue' => 2.4... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/ArticleTest.php | tests/ContextTypes/ArticleTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class ArticleTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Article::class;
protected $attributes = [
'name' => 'articleNComments',
'url' => 'https://google.com/1-article',
'description' => 'Lorem ip... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/SculptureTest.php | tests/ContextTypes/SculptureTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class SculptureTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Sculpture::class;
protected $attributes = [
'url' => 'https://exemple.com/sclpture?id=1234',
'author' => [
'@type' => 'Person',
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/PersonSimpleAddressTest.php | tests/ContextTypes/PersonSimpleAddressTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class PersonSimpleAddressTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Person::class;
protected $attributes = [
'name' => 'Anonymous tester',
'mainEntityOfPage' => [
'url' => 'https://example.co... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/MusicPlaylistTest.php | tests/ContextTypes/MusicPlaylistTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class MusicPlaylistTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\MusicPlaylist::class;
protected $attributes = [
'name' => 'magni dolores eo',
'url' => 'https://google.com/1-musicplaylist',
'numTra... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/CreativeWorkTest.php | tests/ContextTypes/CreativeWorkTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class CreativeWorkTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\CreativeWork::class;
protected $attributes = [
'aggregateRating' => [
'reviewCount' => 5,
'ratingValue' => 5,
'bes... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/OrganizationTest.php | tests/ContextTypes/OrganizationTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class OrganizationTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Organization::class;
protected $attributes = [
'name' => 'Said Organization',
'url' => 'https://google.com/organization/22',
'email' =... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/MusicGroupTest.php | tests/ContextTypes/MusicGroupTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class MusicGroupTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\MusicGroup::class;
protected $attributes = [
'name' => 'exercitation ullamco laboris nisi ut',
'url' => 'https://google.com/1-musicgroup',
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/WebSiteTest.php | tests/ContextTypes/WebSiteTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class WebSiteTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\WebSite::class;
protected $attributes = [
'about' => 'The subject matter of the content.',
'headline' => 'Headline of the website.',
'im... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/MusicAlbumTest.php | tests/ContextTypes/MusicAlbumTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class MusicAlbumTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\MusicAlbum::class;
protected $attributes = [
'name' => 'exercitation ullamco laboris nisi ut',
'url' => 'https://google.com/1-musicalbum',
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/AbstractContextTest.php | tests/ContextTypes/AbstractContextTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class AbstractContextTest extends TestCase
{
protected $class = \JsonLd\Test\Stubs\ContextStub::class;
protected $attributes = [
'sameAs' => 'http://google.com/profile',
'name' => 'My Profile Page',
];
/**
* @t... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/Organization2ContactsTest.php | tests/ContextTypes/Organization2ContactsTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class Organization2ContactsTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Organization::class;
protected $attributes = [
'name' => 'Said Organization',
'url' => 'https://google.com/organization/22',
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/RecipeTest.php | tests/ContextTypes/RecipeTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class RecipeTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Recipe::class;
protected $attributes = [
'name' => 'Fried Sugar Egg',
'prepTime' => 'PT30M',
'cookTime' => 'PT1H',
'totalTime' => 'P... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/ContactPointTest.php | tests/ContextTypes/ContactPointTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class ContactPointTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\ContactPoint::class;
protected $attributes = [
'telephone' => '18009999999',
'contactType' => 'customer service',
];
/**
* @tes... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/ContextTypes/ProductTest.php | tests/ContextTypes/ProductTest.php | <?php
namespace JsonLd\Test\ContextTypes;
use JsonLd\Test\TestCase;
class ProductTest extends TestCase
{
protected $class = \JsonLd\ContextTypes\Product::class;
protected $attributes = [
'name' => 'Executive Anvil',
'category' => 'Droppables / Anvils',
'model' => 'Acme Exec. Anvil',
... | php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
Torann/json-ld | https://github.com/Torann/json-ld/blob/3a1eee5117bdefb6a45dad11faa4ee1a7f917b62/tests/Stubs/ContextStub.php | tests/Stubs/ContextStub.php | <?php
namespace JsonLd\Test\Stubs;
use JsonLd\ContextTypes\AbstractContext;
class ContextStub extends AbstractContext
{
//
}
| php | BSD-2-Clause | 3a1eee5117bdefb6a45dad11faa4ee1a7f917b62 | 2026-01-05T04:12:24.107469Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/run-tests.php | run-tests.php | <?php
require 'vendor/autoload.php';
$phpunit = new PHPUnit\TextUI\Command();
$phpunit->run(['vendor/bin/phpunit']);
| php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/scripts/install_font.php | scripts/install_font.php | <?php
require_once __DIR__ . '/../../../autoload.php';
use Dompdf\Dompdf;
use Dompdf\Exception;
use Dompdf\Options;
use FontLib\Font;
use Dompdf\FontMetrics;
use Omaralalwi\Gpdf\Enums\{GpdfDefaultSettings, GpdfSettingKeys, GpdfDefaultSupportedFonts};
$fontsPath = "/public/vendor/gpdf/fonts/";
/*
* this is not offi... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/scripts/publish_config.php | scripts/publish_config.php | <?php
$destinationPath = "/config";
function copyDirectory($destination)
{
$currentWorkingDir = getcwd();
$source = $currentWorkingDir.'/vendor/omaralalwi/gpdf/config/';
$destFolderInProjectRoot = $currentWorkingDir.'/'.$destination;
if (!is_dir($destFolderInProjectRoot)) {
mkdir($destFolder... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/scripts/publish_fonts.php | scripts/publish_fonts.php | <?php
$destinationPath = "/public/vendor/gpdf/fonts";
function copyDirectory($destination)
{ // current path related to user, when run command
// always must run script in project root directory
$currentWorkingDir = getcwd();
$source = $currentWorkingDir.'/vendor/omaralalwi/gpdf/assets/fonts/';
i... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Gpdf.php | src/Gpdf.php | <?php
namespace Omaralalwi\Gpdf;
use Omaralalwi\Gpdf\Enums\GpdfStorageDrivers as Driver;
use Omaralalwi\Gpdf\Factories\DompdfFactory;
use Omaralalwi\Gpdf\Builders\PdfBuilder;
use Dompdf\Dompdf;
use Omaralalwi\Gpdf\Services\S3Service;
use Omaralalwi\Gpdf\Services\LocalFileService;
use Omaralalwi\Gpdf\Factories\Storage... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/GpdfConfig.php | src/GpdfConfig.php | <?php
namespace Omaralalwi\Gpdf;
class GpdfConfig
{
protected $config = [];
/*
* allow user to pass his options and override defaults in config/config.php file.
*/
public function __construct(array $config = [])
{
$defaultConfig = require __DIR__ . '/../config/gpdf.php'; // this wil... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/GpdfServiceProvider.php | src/GpdfServiceProvider.php | <?php
namespace Omaralalwi\Gpdf;
use Illuminate\Support\ServiceProvider;
use Omaralalwi\Gpdf\Gpdf;
use Omaralalwi\Gpdf\GpdfConfig;
use Omaralalwi\Gpdf\Facade\Gpdf as GpdfFacade;
class GpdfServiceProvider extends ServiceProvider
{
public function boot()
{
if ($this->app->runningInConsole()) {
... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Traits/HasFile.php | src/Traits/HasFile.php | <?php
namespace Omaralalwi\Gpdf\Traits;
trait HasFile
{
public function getRootPath()
{
// get root app path, depend on package path in vendor
return dirname(__DIR__, 5);
}
public function getRealDirectoryPath($path)
{
$fullDirPath = rtrim($this->getRootPath(), '/') . '/' ... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Traits/HasGpdf.php | src/Traits/HasGpdf.php | <?php
namespace Omaralalwi\Gpdf\Traits;
trait HasGpdf
{
}
| php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Traits/HasPdfHeaders.php | src/Traits/HasPdfHeaders.php | <?php
namespace Omaralalwi\Gpdf\Traits;
trait HasPdfHeaders
{
/**
* Set headers for streaming PDF files.
*
* @param string $fileUrl
*/
public static function setPdfHeaders(string $fileUrl): void
{
header('Content-Type: application/pdf');
header('Content-Disposition: inl... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Traits/HasGpdfLog.php | src/Traits/HasGpdfLog.php | <?php
namespace Omaralalwi\Gpdf\Traits;
trait HasGpdfLog
{
public function logUpload($msg='', $fileUrl=null, $data=null)
{
$logFilePath = realpath( __DIR__ . '/../../logs/upload_log.txt');
file_put_contents($logFilePath, $msg . PHP_EOL . $fileUrl . PHP_EOL, FILE_APPEND);
}
}
| php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Facade/Gpdf.php | src/Facade/Gpdf.php | <?php
namespace Omaralalwi\Gpdf\Facade;
use Illuminate\Support\Facades\Facade;
/**
* @method static mixed generate(string $content)
* @method static mixed generateWithStream(string $content, string $fileName = null, bool $attachment = false)
* @method static mixed generateWithStore(string $content, string $filePa... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Clients/S3Client.php | src/Clients/S3Client.php | <?php
namespace Omaralalwi\Gpdf\Clients;
use Omaralalwi\Gpdf\Enums\GpdfSettingKeys;
use Omaralalwi\Gpdf\GpdfConfig;
class S3Client
{
protected $gpdfConfig;
public function __construct(GpdfConfig $gpdfConfig)
{
$this->gpdfConfig = $gpdfConfig;
}
public function initilizeClient()
{
... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Services/LocalFileService.php | src/Services/LocalFileService.php | <?php
namespace Omaralalwi\Gpdf\Services;
use Exception;
use Omaralalwi\Gpdf\Traits\HasPdfHeaders;
use Omaralalwi\Gpdf\Traits\{HasFile, HasGpdfLog};
use Omaralalwi\Gpdf\Utilities\Helpers;
class LocalFileService
{
use HasPdfHeaders, HasFile, HasGpdfLog;
/**
* Store a file in the local file system.
... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Services/S3Service.php | src/Services/S3Service.php | <?php
namespace Omaralalwi\Gpdf\Services;
use Omaralalwi\Gpdf\Clients\S3Client;
use Aws\Exception\AwsException;
use Omaralalwi\Gpdf\Traits\HasPdfHeaders;
use Omaralalwi\Gpdf\Traits\{HasFile, HasGpdfLog};
class S3Service
{
use HasPdfHeaders, HasFile, HasGpdfLog;
protected $s3Client;
public function __co... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Builders/PdfBuilder.php | src/Builders/PdfBuilder.php | <?php
namespace Omaralalwi\Gpdf\Builders;
use ArPHP\I18N\Arabic;
use Dompdf\Dompdf;
use Aws\Exception\AwsException;
use Omaralalwi\Gpdf\Clients\S3Client;
use Omaralalwi\Gpdf\Services\{S3Service, LocalFileService};
use Omaralalwi\Gpdf\Enums\GpdfSettingKeys;
use Omaralalwi\Gpdf\Traits\HasGpdfLog;
use Omaralalwi\Gpdf\Tr... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Enums/GpdfSettingKeys.php | src/Enums/GpdfSettingKeys.php | <?php
namespace Omaralalwi\Gpdf\Enums;
class GpdfSettingKeys
{
const TEMP_DIR = 'tempDir';
const FONT_DIR = 'fontDir';
const FONT_CACHE = 'fontCache';
const SHOW_NUMBERS_AS_HINDI = 'showNumbersAsHindi';
const MAX_CHARS_PER_LINE = 'maxCharsPerLine';
const CHROOT = 'chroot';
const STORAGE_PA... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Enums/GpdfDefaultSupportedFonts.php | src/Enums/GpdfDefaultSupportedFonts.php | <?php
namespace Omaralalwi\Gpdf\Enums;
class GpdfDefaultSupportedFonts
{
const SANS_SERIF = 'sans-serif';
const TIMES = 'times';
const TIMES_ROMAN = 'times-roman';
const COURIER = 'courier';
const HELVETICA = 'helvetica';
const ZAPFDINGBATS = 'zapfdingbats';
const SYMBOL = 'symbol';
co... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Enums/GpdfStorageDrivers.php | src/Enums/GpdfStorageDrivers.php | <?php
namespace Omaralalwi\Gpdf\Enums;
class GpdfStorageDrivers
{
const LOCAL = 'local';
const S3 = 's3';
}
| php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Enums/GpdfDefaultSettings.php | src/Enums/GpdfDefaultSettings.php | <?php
namespace Omaralalwi\Gpdf\Enums;
class GpdfDefaultSettings
{
const TEMP_DIR = null;
// note: last slash after fonts cleared in config file because real path function , so you must add it in config file
const FONT_DIR = '/../public/vendor/gpdf/fonts';
const FONT_CACHE = '/../public/vendor/gpdf/fo... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Factories/StorageServiceFactory.php | src/Factories/StorageServiceFactory.php | <?php
namespace Omaralalwi\Gpdf\Factories;
use Omaralalwi\Gpdf\Enums\GpdfSettingKeys;
use Omaralalwi\Gpdf\Enums\GpdfStorageDrivers;
use Omaralalwi\Gpdf\Services\{S3Service, LocalFileService};
use Omaralalwi\Gpdf\Clients\S3Client;
class StorageServiceFactory
{
public function getStorageService($driver, $gpdfConfi... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Factories/DompdfFactory.php | src/Factories/DompdfFactory.php | <?php
namespace Omaralalwi\Gpdf\Factories;
use Dompdf\Dompdf;
use Dompdf\Options;
use Omaralalwi\Gpdf\GpdfConfig;
use DateTime;
use dompdf\FontMetrics;
use Dompdf\Cpdf;
use Omaralalwi\Gpdf\Enums\{GpdfDefaultSettings, GpdfSettingKeys, GpdfDefaultSupportedFonts};
class DompdfFactory
{
public static function create... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Utilities/Helpers.php | src/Utilities/Helpers.php | <?php
namespace Omaralalwi\Gpdf\Utilities;
class Helpers
{
public static function getBaseAppUrl(): string
{
$scheme = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https' : 'http';
$host = $_SERVER['HTTP_HOST'];
$baseUrl = $scheme . '://' . $host;
if (substr($ba... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/src/Settings/GpdfOptions.php | src/Settings/GpdfOptions.php | <?php
namespace Omaralalwi\Gpdf\Settings;
use Dompdf\Options;
class GpdfOptions extends Options
{
/*
* override dompdf/options.
*/
}
| php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/tests/GpdfTest.php | tests/GpdfTest.php | <?php
namespace Omaralalwi\Gpdf\Tests;
use ArPHP\I18N\Arabic;
use Omaralalwi\Gpdf\Builders\PdfBuilder;
use Omaralalwi\Gpdf\Gpdf;
use Omaralalwi\Gpdf\GpdfConfig;
use PHPUnit\Framework\TestCase;
use Omaralalwi\Gpdf\Enums\{GpdfDefaultSettings, GpdfSettingKeys, GpdfDefaultSupportedFonts};
class GpdfTest extends TestCase... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
omaralalwi/Gpdf | https://github.com/omaralalwi/Gpdf/blob/579f849d0a818d50121fafd03a11a0e7a849210a/config/gpdf.php | config/gpdf.php | <?php
use Omaralalwi\Gpdf\Enums\{
GpdfDefaultSettings as GpdfDefault,
GpdfSettingKeys as GpdfSet,
GpdfStorageDrivers,
GpdfDefaultSupportedFonts
};
/**
* Configuration file for the Gpdf package.
*
* This configuration file extends the dompdf options.
*
* GpdfDefaultSettings provides default values... | php | MIT | 579f849d0a818d50121fafd03a11a0e7a849210a | 2026-01-05T04:12:12.634160Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/integer.php | views/jelly/field/integer.php | <?php echo Form::input($name, $value, $attributes + array('id' => 'field-'.$name)); ?> | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/enum.php | views/jelly/field/enum.php | <?php echo Form::select($name, $choices, $value, $attributes + array('id' => 'field-'.$name)); ?> | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/timestamp.php | views/jelly/field/timestamp.php | <?php echo Form::input($name, ( ! isset($default) && ! isset($value)) ? '' : date($pretty_format, $value), $attributes + array('id' => 'field-'.$name));
| php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/text.php | views/jelly/field/text.php | <?php echo Form::textarea($name, $value, $attributes + array(
'id' => 'field-'.$name,
'rows' => 8,
'cols' => 40,
)); ?> | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/serialized.php | views/jelly/field/serialized.php | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false | |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/string.php | views/jelly/field/string.php | <?php echo Form::input($name, $value, $attributes + array('id' => 'field-'.$name)); ?> | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/file.php | views/jelly/field/file.php | <?php echo Form::file($name, $attributes + array('id' => 'field-'.$name)); ?> | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/manytomany.php | views/jelly/field/manytomany.php | <select name="<?php echo $name ?>[]" <?php echo HTML::attributes($attributes + array('id' => 'field-'.$name)) ?> multiple="multiple">
<?php foreach(Jelly::select($foreign['model'])->execute() as $related): ?>
<?php if (in_array($related->id(), $ids)): ?>
<option value="<?php echo $related->id() ?>" selected='sele... | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/hasone.php | views/jelly/field/hasone.php | <?php echo Form::select($name, $options, $value->id(), $attributes + array('id' => 'field-'.$name)); ?> | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/hasmany.php | views/jelly/field/hasmany.php | <select name="<?php echo $name; ?>[]" <?php echo HTML::attributes($attributes + array('id' => 'field-'.$name)); ?> multiple="multiple">
<?php foreach(Jelly::select($foreign['model'])->execute() as $related): ?>
<?php if (in_array($related->id(), $ids)): ?>
<option value="<?php echo $related->id(); ?>" selected="... | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/float.php | views/jelly/field/float.php | <?php echo Form::input($name, $value, $attributes + array('id' => 'field-'.$name)); ?> | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/boolean.php | views/jelly/field/boolean.php | <?php echo Form::select($name, array(
$true => $label_true,
$false => $label_false,
), $value ? $true : $false, $attributes + array('id' => 'field-'.$name)); ?> | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/password.php | views/jelly/field/password.php | <?php echo Form::password($name, $value, $attributes + array('id' => 'field-'.$name)); ?> | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/belongsto.php | views/jelly/field/belongsto.php | <?php echo Form::select($name, $options, $value->id(), $attributes + array('id' => 'field-'.$name)); ?> | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/views/jelly/field/primary.php | views/jelly/field/primary.php | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false | |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/jelly.php | classes/jelly.php | <?php defined('SYSPATH') or die('No direct script access.');
abstract class Jelly extends Jelly_Core
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/expression.php | classes/field/expression.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_Expression extends Jelly_Field_Expression
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/integer.php | classes/field/integer.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_Integer extends Jelly_Field_Integer
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/enum.php | classes/field/enum.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_Enum extends Jelly_Field_Enum
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/timestamp.php | classes/field/timestamp.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_Timestamp extends Jelly_Field_Timestamp
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/text.php | classes/field/text.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_Text extends Jelly_Field_Text
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/serialized.php | classes/field/serialized.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_Serialized extends Jelly_Field_Serialized
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/string.php | classes/field/string.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_String extends Jelly_Field_String
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/file.php | classes/field/file.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_File extends Jelly_Field_File
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/email.php | classes/field/email.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_Email extends Jelly_Field_Email
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/manytomany.php | classes/field/manytomany.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_ManyToMany extends Jelly_Field_ManyToMany
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/slug.php | classes/field/slug.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_Slug extends Jelly_Field_Slug
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/hasone.php | classes/field/hasone.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_HasOne extends Jelly_Field_HasOne
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
jonathangeiger/kohana-jelly | https://github.com/jonathangeiger/kohana-jelly/blob/33b58051d096cfeb411aadb52e9bc2f26b8ef5e4/classes/field/hasmany.php | classes/field/hasmany.php | <?php defined('SYSPATH') or die('No direct script access.');
class Field_HasMany extends Jelly_Field_HasMany
{
} | php | MIT | 33b58051d096cfeb411aadb52e9bc2f26b8ef5e4 | 2026-01-05T04:12:34.182387Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.