Skip to content

Reference

phil/well-known-bundle
TypeKindRole
Phil\WellKnownBundle\PhilWellKnownBundleAbstractBundleThe phil_well_known configuration, the services and the pass
…\Application\Contract\WellKnownDocumentinterfaceserve($request)
…\Application\Contract\WebFingerResolverinterfaceresolve($resource)
…\Application\Contract\NodeInfoProviderinterfacesoftware(), usage(), openRegistrations(), metadata()
…\Application\Contract\SecurityTxtSignerinterfacesign($text)
…\Application\Attribute\AsWellKnownDocumentattributepath, route
…\Application\WebFingerfinal readonly classMerges the descriptors of the resolvers, filters the links
…\Application\StaticWebFingerResolverWebFingerResolverThe resources of the configuration
…\Application\ConfiguredNodeInfoProviderNodeInfoProviderThe NodeInfo of the configuration
…\Domain\ValueObject\WellKnownPathvalue objectof($path, $route), path, route
…\Domain\ValueObject\SecurityTxtvalue objectThe fields, expiresAt($date), toString()
…\Domain\ValueObject\WebFingerQueryvalue objectparse($query), resource, rels
…\Domain\ValueObject\WebFingerResourcevalue objectparse($resource), uri, scheme, user, host, isAccount()
…\Domain\ValueObject\WebFingerDescriptorvalue objectsubject, aliases, properties, links, merge(), withRels(), toArray()
…\Domain\ValueObject\WebFingerLinkvalue objectrel, type, href, template, titles, properties, toArray()
…\Domain\ValueObject\NodeInfovalue objectThe 2.1 document, its protocols and services, check(), toArray()
…\Domain\ValueObject\NodeInfoSoftwarevalue objectname, version, repository, homepage
…\Domain\ValueObject\NodeInfoUsagevalue objectThe optional counts
…\Domain\ValueObject\Didvalue objectof($did, $method), did, method
…\Domain\Exception\WellKnownExceptioninterfaceEvery exception of the bundle
…\Domain\Exception\InvalidValueInvalidArgumentExceptionA value a document refuses
…\Infrastructure\Http\WellKnownControllercontrollerServes the document of the route, with its headers
…\Infrastructure\Http\Document\*WellKnownDocumentSecurityTxtDocument, ChangePasswordDocument, WebFingerDocument, NodeInfoDiscoveryDocument, NodeInfoDocument, AtprotoDidDocument, StaticDocument
…\Infrastructure\Http\Document\DocumentResponsesfinal classThe answers, their media type and CORS
…\Infrastructure\Routing\WellKnownRouteLoaderroute loaderThe phil_well_known type
…\Infrastructure\Monitoring\SecurityTxtExpiryCheckHealthCheck of phil/monitoring-bundleNAME, DEFAULT_WARNING_DAYS; up, degraded before Expires, down after
…\Infrastructure\DependencyInjection\WellKnownServicesfinal classRegisters the services; the checks of the configuration
…\Infrastructure\DependencyInjection\WellKnownPasscompiler passGathers the tagged documents

Services

IdWhen
Phil\WellKnownBundle\Infrastructure\Http\WellKnownControllerAlways; public
Phil\WellKnownBundle\Infrastructure\Routing\WellKnownRouteLoaderAlways; routing.loader
phil_well_known.document.<path>Each document turned on
Phil\WellKnownBundle\Application\WebFinger, …\StaticWebFingerResolverWith webfinger
Phil\WellKnownBundle\Application\ConfiguredNodeInfoProviderWith nodeinfo and no provider
Phil\WellKnownBundle\Infrastructure\Monitoring\SecurityTxtExpiryCheckWith security_txt and phil/monitoring-bundle; phil_monitoring.health_check

Constants

ConstantValue
WellKnownServices::DOCUMENT_TAGphil_well_known.document
WellKnownServices::RESOLVER_TAGphil_well_known.webfinger_resolver
WellKnownServices::NODEINFO_ROUTEphil_well_known_nodeinfo_document
WellKnownRouteLoader::TYPEphil_well_known
WellKnownRouteLoader::PARAMETERphil_well_known.routes
WellKnownController::DOCUMENT_phil_well_known
WellKnownPath::PREFIX/.well-known/
NodeInfo::SCHEMAhttp://nodeinfo.diaspora.software/ns/schema/2.1