PHP Package: thecodingmachine/graphqlite
GraphQLite is a powerful PHP library for building GraphQL APIs effortlessly with great flexibility and ease of use.
Current Version: 8.1.1
Last Updated: 2025-09-04
PHP Requirement: >=8.1
⚠️ To ensure full functionality, the above dependencies might be required.
Package Description
GraphQLite is a feature-rich library that simplifies the process of creating and maintaining GraphQL APIs in PHP. It offers a wide range of tools and functionalities to streamline development, including automatic schema creation, input validation, and caching mechanisms. With GraphQLite, developers can effortlessly build robust APIs while ensuring optimal performance and scalability.
Classes:
- TheCodingMachine\GraphQLite\NamingStrategyInterface
- TheCodingMachine\GraphQLite\PrefetchBuffer
- TheCodingMachine\GraphQLite\FailedAssertionException
- TheCodingMachine\GraphQLite\Utils\AccessPropertyException
- TheCodingMachine\GraphQLite\Utils\PropertyAccessor
- TheCodingMachine\GraphQLite\Utils\NamespacedCache
- TheCodingMachine\GraphQLite\Utils\Cloneable
- TheCodingMachine\GraphQLite\Context\ResetableContextInterface
- TheCodingMachine\GraphQLite\Context\Context
- TheCodingMachine\GraphQLite\Context\ContextInterface
- TheCodingMachine\GraphQLite\FromSourceFieldsInterface
- TheCodingMachine\GraphQLite\Middlewares\InputFieldHandlerInterface
- TheCodingMachine\GraphQLite\Middlewares\FieldMiddlewareInterface
- TheCodingMachine\GraphQLite\Middlewares\ServiceResolver
- TheCodingMachine\GraphQLite\Middlewares\InputNext
- TheCodingMachine\GraphQLite\Middlewares\BadExpressionInSecurityException
- TheCodingMachine\GraphQLite\Middlewares\AuthorizationFieldMiddleware
- TheCodingMachine\GraphQLite\Middlewares\FieldMiddlewarePipe
- TheCodingMachine\GraphQLite\Middlewares\InputFieldMiddlewarePipe
- TheCodingMachine\GraphQLite\Middlewares\AuthorizationInputFieldMiddleware
- TheCodingMachine\GraphQLite\Middlewares\SecurityInputFieldMiddleware
- TheCodingMachine\GraphQLite\Middlewares\SourceInputPropertyResolver
- TheCodingMachine\GraphQLite\Middlewares\MagicPropertyResolver
- TheCodingMachine\GraphQLite\Middlewares\SourceMethodResolver
- TheCodingMachine\GraphQLite\Middlewares\MissingMagicGetException
- TheCodingMachine\GraphQLite\Middlewares\SourceConstructorParameterResolver
- TheCodingMachine\GraphQLite\Middlewares\SourcePropertyResolver
- TheCodingMachine\GraphQLite\Middlewares\FieldHandlerInterface
- TheCodingMachine\GraphQLite\Middlewares\InputFieldMiddlewareInterface
- TheCodingMachine\GraphQLite\Middlewares\Next
- TheCodingMachine\GraphQLite\Middlewares\MissingAuthorizationException
- TheCodingMachine\GraphQLite\Middlewares\ResolverInterface
- TheCodingMachine\GraphQLite\Middlewares\SecurityFieldMiddleware
- TheCodingMachine\GraphQLite\Middlewares\CostFieldMiddleware
- TheCodingMachine\GraphQLite\InputTypeUtils
- TheCodingMachine\GraphQLite\AnnotationReader
- TheCodingMachine\GraphQLite\FieldNotFoundException
- TheCodingMachine\GraphQLite\Mappers\RecursiveTypeMapperInterface
- TheCodingMachine\GraphQLite\Mappers\StaticTypeMapper
- TheCodingMachine\GraphQLite\Mappers\CompositeTypeMapper
- TheCodingMachine\GraphQLite\Mappers\MappedClass
- TheCodingMachine\GraphQLite\Mappers\CannotMapTypeException
- TheCodingMachine\GraphQLite\Mappers\GlobExtendTypeMapperCache
- TheCodingMachine\GraphQLite\Mappers\GlobExtendAnnotationsCache
- TheCodingMachine\GraphQLite\Mappers\DuplicateMappingException
- TheCodingMachine\GraphQLite\Mappers\ClassFinderTypeMapper
- TheCodingMachine\GraphQLite\Mappers\TypeNotFoundException
- TheCodingMachine\GraphQLite\Mappers\PorpaginasMissingParameterException
- TheCodingMachine\GraphQLite\Mappers\CannotMapTypeExceptionInterface
- TheCodingMachine\GraphQLite\Mappers\PorpaginasTypeMapper
- TheCodingMachine\GraphQLite\Mappers\CannotMapTypeTrait
- TheCodingMachine\GraphQLite\Mappers\TypeMapperInterface
- TheCodingMachine\GraphQLite\Mappers\Proxys\MutableAdapterTrait
- TheCodingMachine\GraphQLite\Mappers\Proxys\MutableObjectTypeAdapter
- TheCodingMachine\GraphQLite\Mappers\Proxys\MutableInterfaceTypeAdapter
- TheCodingMachine\GraphQLite\Mappers\Root\RootTypeMapperFactoryInterface
- TheCodingMachine\GraphQLite\Mappers\Root\NullableTypeMapperAdapter
- TheCodingMachine\GraphQLite\Mappers\Root\ClosureTypeMapper
- TheCodingMachine\GraphQLite\Mappers\Root\VoidTypeMapper
- TheCodingMachine\GraphQLite\Mappers\Root\EnumTypeMapper
- TheCodingMachine\GraphQLite\Mappers\Root\LastDelegatingTypeMapper
- TheCodingMachine\GraphQLite\Mappers\Root\IteratorTypeMapper
- TheCodingMachine\GraphQLite\Mappers\Root\RootTypeMapperInterface
- TheCodingMachine\GraphQLite\Mappers\Root\BaseTypeMapper
- TheCodingMachine\GraphQLite\Mappers\Root\RootTypeMapperFactoryContext
- TheCodingMachine\GraphQLite\Mappers\Root\CompoundTypeMapper
- TheCodingMachine\GraphQLite\Mappers\Root\MyCLabsEnumTypeMapper
- TheCodingMachine\GraphQLite\Mappers\Root\FinalRootTypeMapper
- TheCodingMachine\GraphQLite\Mappers\Parameters\ParameterMiddlewareInterface
- TheCodingMachine\GraphQLite\Mappers\Parameters\InjectUserParameterHandler
- TheCodingMachine\GraphQLite\Mappers\Parameters\ParameterHandlerInterface
- TheCodingMachine\GraphQLite\Mappers\Parameters\MissingAutowireTypeException
- TheCodingMachine\GraphQLite\Mappers\Parameters\CannotHideParameterRuntimeException
- TheCodingMachine\GraphQLite\Mappers\Parameters\ResolveInfoParameterHandler
- TheCodingMachine\GraphQLite\Mappers\Parameters\ContainerParameterHandler
- TheCodingMachine\GraphQLite\Mappers\Parameters\ParameterMiddlewarePipe
- TheCodingMachine\GraphQLite\Mappers\Parameters\PrefetchParameterMiddleware
- TheCodingMachine\GraphQLite\Mappers\Parameters\Next
- TheCodingMachine\GraphQLite\Mappers\Parameters\TypeHandler
- TheCodingMachine\GraphQLite\Mappers\RecursiveTypeMapper
- TheCodingMachine\GraphQLite\Mappers\GlobTypeMapperCache
- TheCodingMachine\GraphQLite\Mappers\StaticClassListTypeMapperFactory
- TheCodingMachine\GraphQLite\Mappers\GlobAnnotationsCache
- TheCodingMachine\GraphQLite\Mappers\TypeMapperFactoryInterface
- TheCodingMachine\GraphQLite\Containers\LazyContainer
- TheCodingMachine\GraphQLite\Containers\EmptyContainer
- TheCodingMachine\GraphQLite\Containers\NotFoundException
- TheCodingMachine\GraphQLite\Containers\BasicAutoWiringContainer
- TheCodingMachine\GraphQLite\FailedResolvingInputType
- TheCodingMachine\GraphQLite\Security\SecurityExpressionLanguageProvider
- TheCodingMachine\GraphQLite\Security\VoidAuthorizationService
- TheCodingMachine\GraphQLite\Security\FailAuthorizationService
- TheCodingMachine\GraphQLite\Security\VoidAuthenticationService
- TheCodingMachine\GraphQLite\Security\AuthenticationServiceInterface
- TheCodingMachine\GraphQLite\Security\SecurityNotImplementedException
- TheCodingMachine\GraphQLite\Security\AuthorizationServiceInterface
- TheCodingMachine\GraphQLite\Security\FailAuthenticationService
- TheCodingMachine\GraphQLite\GlobControllerQueryProvider
- TheCodingMachine\GraphQLite\TypeMismatchRuntimeException
- TheCodingMachine\GraphQLite\InvalidDocBlockRuntimeException
- TheCodingMachine\GraphQLite\MissingTypeHintRuntimeException
- TheCodingMachine\GraphQLite\InvalidCallableRuntimeException
- TheCodingMachine\GraphQLite\Exceptions\GraphQLAggregateExceptionInterface
- TheCodingMachine\GraphQLite\Exceptions\GraphQLAggregateException
- TheCodingMachine\GraphQLite\Exceptions\GraphQLExceptionInterface
- TheCodingMachine\GraphQLite\Exceptions\WebonyxErrorHandler
- TheCodingMachine\GraphQLite\Exceptions\GraphQLException
- TheCodingMachine\GraphQLite\SchemaFactory
- TheCodingMachine\GraphQLite\TypeGenerator
- TheCodingMachine\GraphQLite\FactoryContext
- TheCodingMachine\GraphQLite\AggregateControllerQueryProviderFactory
- TheCodingMachine\GraphQLite\Discovery\KcsClassFinder
- TheCodingMachine\GraphQLite\Discovery\ClassFinder
- TheCodingMachine\GraphQLite\Discovery\Cache\ClassFinderComputedCache
- TheCodingMachine\GraphQLite\Discovery\Cache\HardClassFinderComputedCache
- TheCodingMachine\GraphQLite\Discovery\Cache\SnapshotClassFinderComputedCache
- TheCodingMachine\GraphQLite\Discovery\StaticClassFinder
- TheCodingMachine\GraphQLite\Cache\ClassBoundCache
- TheCodingMachine\GraphQLite\Cache\SnapshotClassBoundCache
- TheCodingMachine\GraphQLite\Cache\FilesSnapshot
- TheCodingMachine\GraphQLite\Types\InterfaceFromObjectType
- TheCodingMachine\GraphQLite\Types\MutableTrait
- TheCodingMachine\GraphQLite\Types\DateTimeType
- TheCodingMachine\GraphQLite\Types\InputType
- TheCodingMachine\GraphQLite\Types\EnumType
- TheCodingMachine\GraphQLite\Types\TypeResolver
- TheCodingMachine\GraphQLite\Types\TypeAnnotatedInterfaceType
- TheCodingMachine\GraphQLite\Types\ObjectFromInterfaceType
- TheCodingMachine\GraphQLite\Types\InvalidTypesInUnionException
- TheCodingMachine\GraphQLite\Types\MutableObjectType
- TheCodingMachine\GraphQLite\Types\MutableInterfaceType
- TheCodingMachine\GraphQLite\Types\ID
- TheCodingMachine\GraphQLite\Types\MutableInputInterface
- TheCodingMachine\GraphQLite\Types\ArgumentResolver
- TheCodingMachine\GraphQLite\Types\TypeAnnotatedObjectType
- TheCodingMachine\GraphQLite\Types\MyCLabsEnumType
- TheCodingMachine\GraphQLite\Types\UnionType
- TheCodingMachine\GraphQLite\Types\ResolvableMutableInputInterface
- TheCodingMachine\GraphQLite\Types\InputTypeValidatorInterface
- TheCodingMachine\GraphQLite\Types\VoidType
- TheCodingMachine\GraphQLite\Types\ResolvableMutableInputObjectType
- TheCodingMachine\GraphQLite\Types\MutableInputObjectType
- TheCodingMachine\GraphQLite\Types\NoFieldsException
- TheCodingMachine\GraphQLite\Types\MutableInterface
- TheCodingMachine\GraphQLite\TypeRegistry
- TheCodingMachine\GraphQLite\NamingStrategy
- TheCodingMachine\GraphQLite\QueryFieldDescriptor
- TheCodingMachine\GraphQLite\Schema
- TheCodingMachine\GraphQLite\Annotations\Input
- TheCodingMachine\GraphQLite\Annotations\ExtendType
- TheCodingMachine\GraphQLite\Annotations\Subscription
- TheCodingMachine\GraphQLite\Annotations\EnumType
- TheCodingMachine\GraphQLite\Annotations\Query
- TheCodingMachine\GraphQLite\Annotations\Mutation
- TheCodingMachine\GraphQLite\Annotations\HideIfUnauthorized
- TheCodingMachine\GraphQLite\Annotations\UseInputType
- TheCodingMachine\GraphQLite\Annotations\MiddlewareAnnotations
- TheCodingMachine\GraphQLite\Annotations\Security
- TheCodingMachine\GraphQLite\Annotations\Autowire
- TheCodingMachine\GraphQLite\Annotations\ParameterAnnotations
- TheCodingMachine\GraphQLite\Annotations\MagicField
- TheCodingMachine\GraphQLite\Annotations\Cost
- TheCodingMachine\GraphQLite\Annotations\Exceptions\ClassNotFoundException
- TheCodingMachine\GraphQLite\Annotations\Exceptions\InvalidParameterException
- TheCodingMachine\GraphQLite\Annotations\Exceptions\IncompatibleAnnotationsException
- TheCodingMachine\GraphQLite\Annotations\SourceFieldInterface
- TheCodingMachine\GraphQLite\Annotations\FailWith
- TheCodingMachine\GraphQLite\Annotations\Logged
- TheCodingMachine\GraphQLite\Annotations\Decorate
- TheCodingMachine\GraphQLite\Annotations\AbstractRequest
- TheCodingMachine\GraphQLite\Annotations\HideParameter
- TheCodingMachine\GraphQLite\Annotations\ParameterAnnotationInterface
- TheCodingMachine\GraphQLite\Annotations\Right
- TheCodingMachine\GraphQLite\Annotations\TypeInterface
- TheCodingMachine\GraphQLite\Annotations\Prefetch
- TheCodingMachine\GraphQLite\Annotations\Type
- TheCodingMachine\GraphQLite\Annotations\MiddlewareAnnotationInterface
- TheCodingMachine\GraphQLite\Annotations\TooManyAnnotationsException
- TheCodingMachine\GraphQLite\Annotations\InjectUser
- TheCodingMachine\GraphQLite\Annotations\Field
- TheCodingMachine\GraphQLite\Annotations\SourceField
- TheCodingMachine\GraphQLite\Annotations\Factory
- TheCodingMachine\GraphQLite\GraphQLRuntimeException
- TheCodingMachine\GraphQLite\FieldsBuilder
- TheCodingMachine\GraphQLite\AggregateControllerQueryProvider
- TheCodingMachine\GraphQLite\InputFieldDescriptor
- TheCodingMachine\GraphQLite\QueryProviderInterface
- TheCodingMachine\GraphQLite\Parameters\PrefetchDataParameter
- TheCodingMachine\GraphQLite\Parameters\ResolveInfoParameter
- TheCodingMachine\GraphQLite\Parameters\MissingArgumentException
- TheCodingMachine\GraphQLite\Parameters\DefaultValueParameter
- TheCodingMachine\GraphQLite\Parameters\InputTypeParameter
- TheCodingMachine\GraphQLite\Parameters\ContainerParameter
- TheCodingMachine\GraphQLite\Parameters\InjectUserParameter
- TheCodingMachine\GraphQLite\Parameters\InputTypeProperty
- TheCodingMachine\GraphQLite\Parameters\SourceParameter
- TheCodingMachine\GraphQLite\Parameters\ParameterInterface
- TheCodingMachine\GraphQLite\Parameters\InputTypeParameterInterface
- TheCodingMachine\GraphQLite\Parameters\ExpandsInputTypeParameters
- TheCodingMachine\GraphQLite\InputTypeGenerator
- TheCodingMachine\GraphQLite\MissingAnnotationException
- TheCodingMachine\GraphQLite\ResolveUtils
- TheCodingMachine\GraphQLite\Reflection\ReflectionInterfaceUtils
- TheCodingMachine\GraphQLite\Reflection\DocBlock\PhpDocumentorDocBlockFactory
- TheCodingMachine\GraphQLite\Reflection\DocBlock\CachedDocBlockFactory
- TheCodingMachine\GraphQLite\Reflection\DocBlock\DocBlockFactory
- TheCodingMachine\GraphQLite\ParameterizedCallableResolver
- TheCodingMachine\GraphQLite\Server\PersistedQuery\PersistedQueryIdInvalidException
- TheCodingMachine\GraphQLite\Server\PersistedQuery\PersistedQueryNotSupportedException
- TheCodingMachine\GraphQLite\Server\PersistedQuery\PersistedQueryNotFoundException
- TheCodingMachine\GraphQLite\Server\PersistedQuery\NotSupportedPersistedQueryLoader
- TheCodingMachine\GraphQLite\Server\PersistedQuery\CachePersistedQueryLoader
- TheCodingMachine\GraphQLite\Server\PersistedQuery\PersistedQueryException
- TheCodingMachine\GraphQLite\InvalidPrefetchMethodRuntimeException
- TheCodingMachine\GraphQLite\QueryField
- TheCodingMachine\GraphQLite\AggregateQueryProvider
- TheCodingMachine\GraphQLite\Http\HttpCodeDeciderInterface
- TheCodingMachine\GraphQLite\Http\WebonyxGraphqlMiddleware
- TheCodingMachine\GraphQLite\Http\HttpCodeDecider
- TheCodingMachine\GraphQLite\Http\Psr15GraphQLMiddlewareBuilder
- TheCodingMachine\GraphQLite\InputField
- TheCodingMachine\GraphQLite\QueryProviderFactoryInterface
Download Latest Version: 8.1.1

Previous Versions
Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/thecodingmachine/graphqlite/8.1.1/loader.php';
require_once 'libs/php/{lib_version}/loader.php';
require_once 'libs/symfony/serializer/7.3.4/loader.php';
require_once 'libs/webonyx/graphql-php/15.25.1/loader.php';
use TheCodingMachine\GraphQLite\Annotations\Field;
use Symfony\Component\Serializer\Serializer;
use Webonyx\GraphQL\Language\AST\Node;
$obj = new Field();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.