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 |
|---|---|---|---|---|---|---|---|---|
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Types/BooleanType.php | lib/Doctrine/ODM/CouchDB/Types/BooleanType.php | <?php
namespace Doctrine\ODM\CouchDB\Types;
class BooleanType extends Type
{
public function convertToCouchDBValue($value)
{
return (bool) $value;
}
public function convertToPHPValue($value)
{
return (bool) $value;
}
} | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Types/IntegerType.php | lib/Doctrine/ODM/CouchDB/Types/IntegerType.php | <?php
namespace Doctrine\ODM\CouchDB\Types;
class IntegerType extends Type
{
public function convertToCouchDBValue($value)
{
return (int)$value;
}
public function convertToPHPValue($value)
{
return (int)$value;
}
} | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/EmbeddedDocumentSerializer.php | lib/Doctrine/ODM/CouchDB/Mapping/EmbeddedDocumentSerializer.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
use Doctrine\ODM\CouchDB\Types\Type;
use Doctrine\Common\Util\ClassUtils;
/**
* Helper class serializing/unserializing embedded documents.
*
* @license http://www.open... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/MappingException.php | lib/Doctrine/ODM/CouchDB/Mapping/MappingException.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping;
/**
* Mapping exception class
*
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.doctrine-project.com
* @since 1.0
* @author Benjamin Eberlei <kontakt@beberlei.de>
* @author Lukas Kahwe Smith <smith@pooteewe... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/ClassMetadataFactory.php | lib/Doctrine/ODM/CouchDB/Mapping/ClassMetadataFactory.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping;
use Doctrine\ODM\CouchDB\DocumentManager,
Doctrine\ODM\CouchDB\CouchDBException,
Doctrine\ODM\CouchDB\Mapping\ClassMetadata,
Doctrine\Common\Persistence\Mapping\Driver\MappingDriver,
Doctrine\Common\Persistence\Mapping\ClassMetadata as ClassMetadataInterfa... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/ClassMetadata.php | lib/Doctrine/ODM/CouchDB/Mapping/ClassMetadata.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping;
use Doctrine\Common\Persistence\Mapping\ClassMetadata AS IClassMetadata,
Doctrine\Instantiator\Instantiator,
ReflectionClass,
ReflectionProperty;
/**
* Metadata class
*
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link ... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Driver/XmlDriver.php | lib/Doctrine/ODM/CouchDB/Mapping/Driver/XmlDriver.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Driver;
use Doctrine\Common\Persistence\Mapping\Driver\FileDriver,
Doctrine\Common\Persistence\Mapping\ClassMetadata,
Doctrine\ODM\CouchDB\Mapping\MappingException,
Doctrine\Common\Persistence\Mapping\MappingException as DoctrineMappingException,
SimpleXmlE... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Driver/AnnotationDriver.php | lib/Doctrine/ODM/CouchDB/Mapping/Driver/AnnotationDriver.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Driver;
use Doctrine\Common\Annotations\AnnotationReader,
Doctrine\Common\Annotations\AnnotationRegistry,
Doctrine\Common\Annotations\Reader,
Doctrine\Common\Persistence\Mapping\ClassMetadata,
Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver as A... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Driver/PHPDriver.php | lib/Doctrine/ODM/CouchDB/Mapping/Driver/PHPDriver.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Driver;
use Doctrine\Common\Persistence\Mapping\Driver\PHPDriver as CommonPHPDriver;
/**
* The PHPDriver invokes a static PHP function on the document class itself passing
* a ClassMetadata instance for you to manually populate with mapping information.
*
* @license ... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Driver/YamlDriver.php | lib/Doctrine/ODM/CouchDB/Mapping/Driver/YamlDriver.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Driver;
use Doctrine\Common\Persistence\Mapping\Driver\FileDriver,
Doctrine\Common\Persistence\Mapping\ClassMetadata,
Doctrine\ODM\CouchDB\Mapping\MappingException,
Doctrine\Common\Persistence\Mapping\MappingException as DoctrineMappingException,
Symfony\Co... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Driver/DriverChain.php | lib/Doctrine/ODM/CouchDB/Mapping/Driver/DriverChain.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Driver;
use Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain;
/**
* The DriverChain allows you to add multiple other mapping drivers for
* certain namespaces
*
* @link www.doctrine-project.org
* @since 1.0
* @author Jonathan H. Wage <j... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/ReferenceOne.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/ReferenceOne.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class ReferenceOne extends Reference
{
public $cascade = array();
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Version.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Version.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class Version extends Field
{
public $type = 'string';
public $jsonName = '_rev';
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/ReferenceMany.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/ReferenceMany.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class ReferenceMany extends Reference
{
public $cascade = array();
public $mappedBy;
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Field.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Field.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
class Field extends Annotation
{
public $jsonName;
public $type = 'mixed';
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/EmbedMany.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/EmbedMany.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class EmbedMany extends Reference
{
public $jsonName;
public $embedded = 'many';
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Reference.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Reference.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
class Reference extends Annotation
{
public $targetDocument;
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/EmbedOne.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/EmbedOne.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class EmbedOne extends Reference
{
public $jsonName;
public $embedded = 'one';
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Id.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Id.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class Id extends Field
{
public $id = true;
public $type = 'string';
public $strategy = 'UUID';
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/EmbeddedDocument.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/EmbeddedDocument.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class EmbeddedDocument extends Annotation
{
public $readOnly = false;
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Document.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Document.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class Document extends Annotation
{
public $type;
public $repositoryClass;
public $indexed = false;
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/InheritanceRoot.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/InheritanceRoot.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class InheritanceRoot extends Annotation
{
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Attachments.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Attachments.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class Attachments extends Reference
{
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/MappedSuperclass.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/MappedSuperclass.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class MappedSuperclass extends Annotation {}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Index.php | lib/Doctrine/ODM/CouchDB/Mapping/Annotations/Index.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* @Annotation
*/
final class Index extends Annotation
{
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/MetadataResolver/DoctrineResolver.php | lib/Doctrine/ODM/CouchDB/Mapping/MetadataResolver/DoctrineResolver.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\MetadataResolver;
use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
use Doctrine\ODM\CouchDB\DocumentManager;
use Doctrine\ODM\CouchDB\PersistentIdsCollection;
use Doctrine\Common\Collections\ArrayCollection;
class DoctrineResolver implements MetadataResolver
{
public ... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Mapping/MetadataResolver/MetadataResolver.php | lib/Doctrine/ODM/CouchDB/Mapping/MetadataResolver/MetadataResolver.php | <?php
namespace Doctrine\ODM\CouchDB\Mapping\MetadataResolver;
use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
use Doctrine\ODM\CouchDB\DocumentManager;
/**
* Abstraction layer for resolving non-primitive metadata from a CouchDB document.
*/
interface MetadataResolver
{
public function createDefaultDocumentSt... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Id/CouchUUIDGenerator.php | lib/Doctrine/ODM/CouchDB/Id/CouchUUIDGenerator.php | <?php
namespace Doctrine\ODM\CouchDB\Id;
use Doctrine\ODM\CouchDB\DocumentManager;
use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
/**
* UUID generator class
*
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.doctrine-project.com
* @since 1.0
* @author Benja... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Id/AssignedIdGenerator.php | lib/Doctrine/ODM/CouchDB/Id/AssignedIdGenerator.php | <?php
namespace Doctrine\ODM\CouchDB\Id;
use Doctrine\ODM\CouchDB\DocumentManager;
use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
use Doctrine\ODM\CouchDB\CouchDBException;
class AssignedIdGenerator extends IdGenerator
{
/**
* @param object $document
* @param ClassMetadata $cm
* @param DocumentMa... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Id/IdGenerator.php | lib/Doctrine/ODM/CouchDB/Id/IdGenerator.php | <?php
namespace Doctrine\ODM\CouchDB\Id;
use Doctrine\ODM\CouchDB\DocumentManager;
use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
/**
* Used to abstract ID generation
*
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.doctrine-project.com
* @since 1.0
* @author ... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Migrations/NullMigration.php | lib/Doctrine/ODM/CouchDB/Migrations/NullMigration.php | <?php
namespace Doctrine\ODM\CouchDB\Migrations;
/**
* Default migration that changes no document
*/
class NullMigration
{
/**
* {@inheritDoc}
*/
public function migrate(array $data)
{
return $data;
}
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Migrations/DocumentMigration.php | lib/Doctrine/ODM/CouchDB/Migrations/DocumentMigration.php | <?php
namespace Doctrine\ODM\CouchDB\Migrations;
/**
* CouchDB documents can be migrated whenever they are loaded.
*
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link www.doctrine-project.com
* @since 1.0
* @author Benjamin Eberlei <kontakt@beberlei.de>
*/
interfac... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Tools/Console/MetadataFilter.php | lib/Doctrine/ODM/CouchDB/Tools/Console/MetadataFilter.php | <?php
namespace Doctrine\ODM\CouchDB\Tools\Console;
/**
* Used by CLI Tools to restrict entity-based commands to given patterns.
*
* @since 1.0
* @author Benjamin Eberlei <kontakt@beberlei.de>
* @author Guilherme Blanco <guilhermeblanco@hotmail.com>
* @author Jonathan Wage <jonwage@gmail.co... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Tools/Console/Command/GenerateProxiesCommand.php | lib/Doctrine/ODM/CouchDB/Tools/Console/Command/GenerateProxiesCommand.php | <?php
namespace Doctrine\ODM\CouchDB\Tools\Console\Command;
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console,
Doctrine\ODM\CouchDB\Tools\Console\MetadataFilter;
/**
* Command to (re)generate the proxy classes used by doctrine.
*
... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Tools/Console/Command/UpdateDesignDocCommand.php | lib/Doctrine/ODM/CouchDB/Tools/Console/Command/UpdateDesignDocCommand.php | <?php
namespace Doctrine\ODM\CouchDB\Tools\Console\Command;
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console\Input\InputInterface,
Symfony\Component\Console\Output\OutputInterface,
Symfony\Component\Console\Command\Command;
clas... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Tools/Migrations/Alpha2Migration.php | lib/Doctrine/ODM/CouchDB/Tools/Migrations/Alpha2Migration.php | <?php
namespace Doctrine\ODM\CouchDB\Tools\Migrations;
use Doctrine\CouchDB\Tools\Migrations\AbstractMigration;
class Alpha2Migration extends AbstractMigration
{
protected function migrate(array $docData)
{
$migrate = false;
if (isset($docData['doctrine_metadata']['type'])) {
$doc... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Proxy/ProxyException.php | lib/Doctrine/ODM/CouchDB/Proxy/ProxyException.php | <?php
namespace Doctrine\ODM\CouchDB\Proxy;
/**
* CouchDB ODM Proxy Exception
*
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.doctrine-project.com
* @since 1.0
* @author Benjamin Eberlei <kontakt@beberlei.de>
*/
class ProxyException extends \Doctrine\ODM\... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Proxy/Proxy.php | lib/Doctrine/ODM/CouchDB/Proxy/Proxy.php | <?php
namespace Doctrine\ODM\CouchDB\Proxy;
interface Proxy extends \Doctrine\Common\Persistence\Proxy
{
}
| php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/Proxy/ProxyFactory.php | lib/Doctrine/ODM/CouchDB/Proxy/ProxyFactory.php | <?php
namespace Doctrine\ODM\CouchDB\Proxy;
use Doctrine\ODM\CouchDB\DocumentManager;
use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
use Doctrine\Common\Util\ClassUtils;
/**
* This factory is used to create proxy objects for entities at runtime.
*
* @author Roman Borschel <roman@code-factory.org>
* @author Gior... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/View/ODMLuceneQuery.php | lib/Doctrine/ODM/CouchDB/View/ODMLuceneQuery.php | <?php
namespace Doctrine\ODM\CouchDB\View;
use Doctrine\CouchDB\View\LuceneQuery;
use Doctrine\ODM\CouchDB\DocumentManager;
class ODMLuceneQuery extends LuceneQuery
{
/**
* @var DocumentManager
*/
private $dm;
/**
* @var bool
*/
private $onlyDocs = false;
private $documentN... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/View/ODMQuery.php | lib/Doctrine/ODM/CouchDB/View/ODMQuery.php | <?php
namespace Doctrine\ODM\CouchDB\View;
use Doctrine\CouchDB\View\Query;
use Doctrine\ODM\CouchDB\DocumentManager;
class ODMQuery extends Query
{
/**
* @var DocumentManager
*/
private $dm;
/**
* @var bool
*/
private $onlyDocs = false;
private $toArray = false;
publi... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/View/DoctrineAssociations.php | lib/Doctrine/ODM/CouchDB/View/DoctrineAssociations.php | <?php
namespace Doctrine\ODM\CouchDB\View;
use Doctrine\CouchDB\View\DesignDocument;
/**
* Associations class
*
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.doctrine-project.com
* @since 1.0
* @author Benjamin Eberlei <kontakt@beberlei.de>
*/
class Doct... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/lib/Doctrine/ODM/CouchDB/View/DoctrineRepository.php | lib/Doctrine/ODM/CouchDB/View/DoctrineRepository.php | <?php
namespace Doctrine\ODM\CouchDB\View;
use Doctrine\CouchDB\View\DesignDocument;
/**
* Repository queries
*
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.doctrine-project.com
* @since 2.0
* @author Benjamin Eberlei <kontakt@beberlei.de>
*/
class Doc... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/sandbox/cli-config.php | sandbox/cli-config.php | <?php
require_once "bootstrap.php";
$helperSet = new \Symfony\Component\Console\Helper\HelperSet(array(
'couchdb' => new \Doctrine\CouchDB\Tools\Console\Helper\CouchDBHelper(null, $dm),
)); | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/sandbox/doctrine.php | sandbox/doctrine.php | <?php
require_once getcwd() . "/cli-config.php";
xdebug_start_trace("/tmp/couch");
$cli = new \Symfony\Component\Console\Application('Doctrine CouchDB CLI', Doctrine\ODM\CouchDB\Version::VERSION);
$cli->setHelperSet($helperSet);
$cli->addCommands(array(
new \Doctrine\CouchDB\Tools\Console\Command\ReplicationStartC... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/sandbox/display_articles.php | sandbox/display_articles.php | <?php
require_once "bootstrap.php";
$article = new Documents\Article();
$article->setTitle("Who is John Galt?");
$article->setBody("Find out!");
$article->addTag("Philosophy");
$dm->persist($article);
$dm->flush();
$dm->clear();
$articles = $dm->getRepository('Documents\Article')->findAll();
foreach ($articles AS ... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/sandbox/add_articles.php | sandbox/add_articles.php | <?php
require_once "bootstrap.php";
$article1 = new Documents\Article();
$article1->setTitle("Who is John Galt?");
$article1->setBody("Find out!");
$article1->addTag("Philosophy");
$article2 = new Documents\Article();
$article2->setTitle("Human Action");
$article2->setBody("Find out!");
$article2->addTag("Philosophy... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/sandbox/bootstrap.php | sandbox/bootstrap.php | <?php
require_once __DIR__ . "/../lib/vendor/doctrine-common/lib/Doctrine/Common/ClassLoader.php";
$loader = new \Doctrine\Common\ClassLoader("Doctrine\Common", __DIR__ . "/../lib/vendor/doctrine-common/lib");
$loader->register();
$loader = new \Doctrine\Common\ClassLoader("Doctrine", __DIR__ . "/../lib");
$loader->... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/sandbox/Documents/Tag.php | sandbox/Documents/Tag.php | <?php
namespace Documents;
/**
* @EmbeddedDocument
* @Document
*/
class Tag
{
/**
* @Id(strategy="ASSIGNED")
* @var string
*/
protected $name;
public function __construct($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
doctrine/couchdb-odm | https://github.com/doctrine/couchdb-odm/blob/9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd/sandbox/Documents/Article.php | sandbox/Documents/Article.php | <?php
namespace Documents;
use Doctrine\Common\Collections\ArrayCollection;
/**
* @Document(indexed=true)
*/
class Article
{
/** @Id(type="string") */
protected $id;
/** @Field(type="string") */
protected $title;
/** @Field(type="string", indexed=true) */
protected $slug;
/** @Field(typ... | php | MIT | 9bf3d8ed9a649d91b6a66aa439b05a8a1f1ef7fd | 2026-01-05T04:08:17.200388Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/Token.php | src/Token.php | <?php
namespace thans\jwt;
class Token
{
private $value;
public function __construct($value)
{
$this->value = $value;
}
public function get()
{
return $this->value;
}
public function __toString()
{
return $this->get();
}
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/Payload.php | src/Payload.php | <?php
namespace thans\jwt;
use thans\jwt\claim\Factory;
use thans\jwt\claim\Issuer;
use thans\jwt\claim\Audience;
use thans\jwt\claim\Expiration;
use thans\jwt\claim\IssuedAt;
use thans\jwt\claim\JwtId;
use thans\jwt\claim\NotBefore;
use thans\jwt\claim\Subject;
class Payload
{
protected $factory;
protecte... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/Manager.php | src/Manager.php | <?php
namespace thans\jwt;
use thans\jwt\exception\TokenBlacklistException;
use thans\jwt\exception\TokenBlacklistGracePeriodException;
use thans\jwt\provider\JWT\Provider;
class Manager
{
protected $provider;
protected $blacklist;
protected $payload;
protected $refresh;
protected $validate =... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/Blacklist.php | src/Blacklist.php | <?php
namespace thans\jwt;
use thans\jwt\contract\Storage;
class Blacklist
{
protected $storage;
protected $refreshTTL = 20160;
protected $gracePeriod = 0;
public function __construct(Storage $storage)
{
$this->storage = $storage;
}
public function add($payload)
{
$t... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/Service.php | src/Service.php | <?php
namespace thans\jwt;
use thans\jwt\command\SecretCommand;
use thans\jwt\middleware\InjectJwt;
use thans\jwt\provider\JWT as JWTProvider;
class Service extends \think\Service
{
public function boot()
{
$this->commands(SecretCommand::class);
$this->app->middleware->add(InjectJwt::class);... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/helper.php | src/helper.php | <?php
use thans\jwt\command\SecretCommand;
use thans\jwt\provider\JWT as JWTProvider;
use think\Console;
use think\App;
if (strpos(App::VERSION, '5.') === 0) {
Console::addDefaultCommands([
SecretCommand::class
]);
(new JWTProvider(app('request')))->init();
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/JWT.php | src/JWT.php | <?php
namespace thans\jwt;
use thans\jwt\exception\BadMethodCallException;
use thans\jwt\parser\Parser;
use thans\jwt\exception\JWTException;
class JWT
{
protected $manager;
protected $parser;
protected $token;
public function parser()
{
return $this->parser;
}
public function _... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/JWTAuth.php | src/JWTAuth.php | <?php
namespace thans\jwt;
use thans\jwt\parser\Parser;
class JWTAuth extends JWT
{
/**
* Token验证,返回payload
*
* @param boolean $validate 是否验证黑名单
* @return array
* @throws exception\JWTException
* @throws exception\TokenBlacklistException
* @throws exception\TokenBlacklistGrace... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/command/SecretCommand.php | src/command/SecretCommand.php | <?php
namespace thans\jwt\command;
use think\console\Input;
use think\console\Output;
use think\facade\App;
class SecretCommand extends \think\console\Command
{
public function configure()
{
$this->setName('jwt:create')
->setDescription('create jwt secret and create config file');
}
... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/middleware/InjectJwt.php | src/middleware/InjectJwt.php | <?php
namespace thans\jwt\middleware;
use think\Request;
use thans\jwt\provider\JWT as JWTProvider;
class InjectJwt
{
public function handle(Request $request, $next)
{
(new JWTProvider($request))->init();
$response = $next($request);
return $response;
}
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/middleware/JWTAuthAndRefresh.php | src/middleware/JWTAuthAndRefresh.php | <?php
namespace thans\jwt\middleware;
use thans\jwt\exception\TokenExpiredException;
use thans\jwt\exception\TokenBlacklistGracePeriodException;
class JWTAuthAndRefresh extends BaseMiddleware
{
public function handle($request, \Closure $next)
{
// OPTIONS请求直接返回
if ($request->isOptions()) {
... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/middleware/JWTAuth.php | src/middleware/JWTAuth.php | <?php
namespace thans\jwt\middleware;
class JWTAuth extends BaseMiddleware
{
public function handle($request, \Closure $next)
{
$this->auth->auth();
return $next($request);
}
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/middleware/BaseMiddleware.php | src/middleware/BaseMiddleware.php | <?php
namespace thans\jwt\middleware;
use thans\jwt\JWTAuth as Auth;
use think\facade\Cookie;
use think\facade\Config;
class BaseMiddleware
{
protected $auth;
public function __construct(Auth $auth)
{
$this->auth = $auth;
}
protected function setAuthentication($response, $token = null)... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/exception/TokenExpiredException.php | src/exception/TokenExpiredException.php | <?php
namespace thans\jwt\exception;
class TokenExpiredException extends JWTException
{
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/exception/TokenInvalidException.php | src/exception/TokenInvalidException.php | <?php
namespace thans\jwt\exception;
class TokenInvalidException extends JWTException
{
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/exception/TokenBlacklistException.php | src/exception/TokenBlacklistException.php | <?php
namespace thans\jwt\exception;
class TokenBlacklistException extends JWTException
{
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/exception/UserNotDefinedException.php | src/exception/UserNotDefinedException.php | <?php
namespace thans\jwt\exception;
class UserNotDefinedException extends JWTException
{
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/exception/TokenBlacklistGracePeriodException.php | src/exception/TokenBlacklistGracePeriodException.php | <?php
namespace thans\jwt\exception;
class TokenBlacklistGracePeriodException extends JWTException
{
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/exception/BadMethodCallException.php | src/exception/BadMethodCallException.php | <?php
namespace thans\jwt\exception;
class BadMethodCallException extends JWTException
{
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/exception/JWTException.php | src/exception/JWTException.php | <?php
namespace thans\jwt\exception;
use Exception;
class JWTException extends Exception
{
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/claim/Issuer.php | src/claim/Issuer.php | <?php
namespace thans\jwt\claim;
class Issuer extends Claim
{
protected $name = 'iss';
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/claim/Audience.php | src/claim/Audience.php | <?php
namespace thans\jwt\claim;
class Audience extends Claim
{
protected $name = 'aud';
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/claim/Customer.php | src/claim/Customer.php | <?php
namespace thans\jwt\claim;
class Customer extends Claim
{
public function __construct($name, $value)
{
parent::__construct($value);
$this->setName($name);
}
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/claim/Subject.php | src/claim/Subject.php | <?php
namespace thans\jwt\claim;
class Subject extends Claim
{
protected $name = 'sub';
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/claim/JwtId.php | src/claim/JwtId.php | <?php
namespace thans\jwt\claim;
class JwtId extends Claim
{
protected $name = 'jti';
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/claim/Claim.php | src/claim/Claim.php | <?php
namespace thans\jwt\claim;
abstract class Claim
{
protected $name;
private $value;
public function __construct($value)
{
$this->setValue($value);
}
public function setValue($value)
{
$this->value = $value;
return $this;
}
public function getValue(... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/claim/NotBefore.php | src/claim/NotBefore.php | <?php
namespace thans\jwt\claim;
class NotBefore extends Claim
{
protected $name = 'nbf';
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/claim/IssuedAt.php | src/claim/IssuedAt.php | <?php
namespace thans\jwt\claim;
use thans\jwt\exception\TokenExpiredException;
class IssuedAt extends Claim
{
protected $name = 'iat';
public function validatePayload()
{
if (time() < (int)$this->getValue()) {
throw new TokenExpiredException('Issued At (iat) timestamp cannot be in ... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/claim/Factory.php | src/claim/Factory.php | <?php
namespace thans\jwt\claim;
use think\Request;
class Factory
{
protected $request;
protected $classMap
= [
'aud' => Audience::class,
'exp' => Expiration::class,
'iat' => IssuedAt::class,
'iss' => Issuer::class,
'jti' => JwtId::class,
... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/claim/Expiration.php | src/claim/Expiration.php | <?php
namespace thans\jwt\claim;
use thans\jwt\exception\TokenExpiredException;
class Expiration extends Claim
{
protected $name = 'exp';
public function validatePayload()
{
if (time() >= (int)$this->getValue()) {
throw new TokenExpiredException('The token is expired.');
}
... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/provider/JWT.php | src/provider/JWT.php | <?php
namespace thans\jwt\provider;
use thans\jwt\facade\JWTAuth;
use thans\jwt\parser\AuthHeader;
use thans\jwt\parser\Cookie;
use thans\jwt\parser\Param;
use think\App;
use think\Container;
use think\facade\Config;
use think\Request;
class JWT
{
private $request;
private $config;
public function __c... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/provider/storage/Tp5.php | src/provider/storage/Tp5.php | <?php
namespace thans\jwt\provider\storage;
use thans\jwt\contract\Storage;
use think\facade\Cache;
class Tp5 implements Storage
{
public function delete($key)
{
return Cache::rm($key);
}
public function get($key)
{
return Cache::get($key);
}
public function set($key, ... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/provider/storage/Tp6.php | src/provider/storage/Tp6.php | <?php
namespace thans\jwt\provider\storage;
use thans\jwt\contract\Storage;
use think\facade\Cache;
class Tp6 implements Storage
{
public function delete($key)
{
return Cache::delete($key);
}
public function get($key)
{
return Cache::get($key);
}
public function set($k... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/provider/JWT/Provider.php | src/provider/JWT/Provider.php | <?php
namespace thans\jwt\provider\JWT;
use thans\jwt\exception\JWTException;
class Provider
{
protected $signers;
protected $algo;
protected $keys;
public function getPublicKey()
{
if (is_file($this->keys['public'])) {
return 'file://'. $this->keys['public'];
}
... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/provider/JWT/Lcobucci.php | src/provider/JWT/Lcobucci.php | <?php
namespace thans\jwt\provider\JWT;
use Exception;
use Lcobucci\JWT\Configuration;
use Lcobucci\JWT\Signer\Ecdsa;
use Lcobucci\JWT\Signer\Key\InMemory;
use Lcobucci\JWT\Signer\Ecdsa\Sha256 as ES256;
use Lcobucci\JWT\Signer\Ecdsa\Sha384 as ES384;
use Lcobucci\JWT\Signer\Ecdsa\Sha512 as ES512;
use Lcobucci\JWT\Sig... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/facade/JWTAuth.php | src/facade/JWTAuth.php | <?php
namespace thans\jwt\facade;
use think\Facade;
/**
* Class JWTAuth
*
* @package thans\jwt\facade
* @mixin \thans\jwt\JWTAuth
* @method string builder(array $user = []) static Token构建
* @method array auth() static Token验证
* @method string refresh() static Token刷新
* @method array getPayload() static 获取Pay... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/parser/KeyTrait.php | src/parser/KeyTrait.php | <?php
namespace thans\jwt\parser;
trait KeyTrait
{
private $key = 'token';
public function setKey($key)
{
$this->key = $key;
return $this;
}
public function getKey()
{
return $this->key;
}
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/parser/Param.php | src/parser/Param.php | <?php
namespace thans\jwt\parser;
use thans\jwt\contract\Parser as ParserContract;
use think\Request;
class Param implements ParserContract
{
use KeyTrait;
public function parse(Request $request)
{
return $request->param($this->key);
}
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/parser/Parser.php | src/parser/Parser.php | <?php
namespace thans\jwt\parser;
use think\Request;
class Parser
{
protected $request;
private $chain;
public function __construct(Request $request, $chain = [])
{
$this->request = $request;
$this->chain = $chain;
}
public function setRequest(Request $request)
{
... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/parser/Cookie.php | src/parser/Cookie.php | <?php
namespace thans\jwt\parser;
use thans\jwt\contract\Parser as ParserContract;
use think\Request;
class Cookie implements ParserContract
{
use KeyTrait;
public function parse(Request $request)
{
return \think\facade\Cookie::get($this->key);
}
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/parser/AuthHeader.php | src/parser/AuthHeader.php | <?php
namespace thans\jwt\parser;
use thans\jwt\contract\Parser as ParserContract;
use think\Request;
class AuthHeader implements ParserContract
{
protected $header = 'authorization';
protected $prefix = 'bearer';
public function parse(Request $request)
{
$header = $request->header($this->... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/contract/Storage.php | src/contract/Storage.php | <?php
namespace thans\jwt\contract;
interface Storage
{
public function set($key, $val, $time = 0);
public function get($key);
public function delete($key);
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/src/contract/Parser.php | src/contract/Parser.php | <?php
namespace thans\jwt\contract;
use think\Request;
interface Parser
{
public function parse(Request $request);
}
| php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
QThans/jwt-auth | https://github.com/QThans/jwt-auth/blob/c7dd8e946a496dd0cdc920117ac0e673d9fa882f/config/config.php | config/config.php | <?php
return [
'secret' => env('JWT_SECRET'),
//Asymmetric key
'public_key' => env('JWT_PUBLIC_KEY'),
'private_key' => env('JWT_PRIVATE_KEY'),
'password' => env('JWT_PASSWORD'),
//JWT time to live
'ttl' => env('JWT_TTL', 60),
//Refresh time to live
'refresh_ttl' =>... | php | MIT | c7dd8e946a496dd0cdc920117ac0e673d9fa882f | 2026-01-05T04:08:31.870614Z | false |
arif98741/laravelbdsms | https://github.com/arif98741/laravelbdsms/blob/55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb/src/Request.php | src/Request.php | <?php
namespace Xenon\LaravelBDSms;
use App\Http\Controllers\Controller;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\RequestOptions;
use Psr\Http\Message\ResponseInterface;
use Xenon\LaravelBDSms\Handler\RenderException;
use Xenon\LaravelBD... | php | MIT | 55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb | 2026-01-05T04:08:35.119333Z | false |
arif98741/laravelbdsms | https://github.com/arif98741/laravelbdsms/blob/55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb/src/SMS.php | src/SMS.php | <?php namespace Xenon\LaravelBDSms;
use Exception;
class SMS
{
/** @var Sender */
private $sender;
/**
* @param Sender $sender
* @version v1.0.32
* @since v1.0.31
*/
public function __construct(Sender $sender)
{
$this->sender = $sender;
}
/**
* @throws H... | php | MIT | 55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb | 2026-01-05T04:08:35.119333Z | false |
arif98741/laravelbdsms | https://github.com/arif98741/laravelbdsms/blob/55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb/src/LaravelBDSmsServiceProvider.php | src/LaravelBDSmsServiceProvider.php | <?php
/*
* Last Modified: 6/28/21, 11:18 PM
* Copyright (c) 2021
* -created by Ariful Islam
* -All Rights Preserved By
* -If you have any query then knock me at
* arif98741@gmail.com
* See my profile @ https://github.com/arif98741
*/
namespace Xenon\LaravelBDSms;
use Illuminate\Support\ServiceProvider;... | php | MIT | 55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb | 2026-01-05T04:08:35.119333Z | false |
arif98741/laravelbdsms | https://github.com/arif98741/laravelbdsms/blob/55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb/src/Sender.php | src/Sender.php | <?php
/*
* Last Modified: 6/28/21, 11:18 PM
* Copyright (c) 2021
* -created by Ariful Islam
* -All Rights Preserved By
* -If you have any query then knock me at
* arif98741@gmail.com
* See my profile @ https://github.com/arif98741
*/
namespace Xenon\LaravelBDSms;
use Exception;
use Illuminate\Support\... | php | MIT | 55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb | 2026-01-05T04:08:35.119333Z | false |
arif98741/laravelbdsms | https://github.com/arif98741/laravelbdsms/blob/55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb/src/Job/SendSmsJob.php | src/Job/SendSmsJob.php | <?php
namespace Xenon\LaravelBDSms\Job;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\... | php | MIT | 55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb | 2026-01-05T04:08:35.119333Z | false |
arif98741/laravelbdsms | https://github.com/arif98741/laravelbdsms/blob/55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb/src/Handler/RenderException.php | src/Handler/RenderException.php | <?php
/*
* Last Modified: 6/28/21, 11:18 PM
* Copyright (c) 2021
* -created by Ariful Islam
* -All Rights Preserved By
* -If you have any query then knock me at
* arif98741@gmail.com
* See my profile @ https://github.com/arif98741
*/
namespace Xenon\LaravelBDSms\Handler;
use Illuminate\Http\Request;
u... | php | MIT | 55bba002b10ce8497bbe7cfa5e8f8d4f4ac44bfb | 2026-01-05T04:08:35.119333Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.