Download the PHP package kigkonsult/fakerlocreltypes without Composer
On this page you can find all versions of the php package kigkonsult/fakerlocreltypes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package fakerlocreltypes
PHP Faker Location-, Relation-, Media-, Incident Object report types and schemaURIs
- Location types as found in rfc4589 'Location Types Registry'
- "the types of places a human or end system might be found"
-
Link Relation Types as found in Link Relation Types - in reference with rfc8288 Web Linking
- "...the relationships between resources on the Web ("links") and the type of those relationships"
-
MediaTypes (MIME-Types) as found in mediaTypes
- application, audio, font, example, image, message, model, multipart, text, video or any type
-
Report enumeration values defined by Incident Object Description Exchange Format (rfc7970),
- as found in iana.org/iodef2
- a collection of schema URIs generators
- found in List_of_URI_schemes
Usage
To use this with Faker, invoke the Kigkonsult\FakerLocRelTypes
classes as Faker generators.
Rfc4589
Rfc4589LocationTypes has only one generator. For details, please review rfc4589. The (static) Rfc4589LocationTypes::$locationTypes is available for 'ad Hoc' use.
Rfc8288
Rfc8288RelationTypes has only one generator. For details, please review Link Relation Types. The (static) Rfc8288RelationTypes::$relationTypes is available for 'ad Hoc' use.
MediaTypes (MIME-types)
The mediaTypes generators areapplication
, audio
, font
, example
, image
, message
, model
, multipart
, text
, video
or any
.
All generator method names are suffixed by MediaType.
The generator method anyMediatyoe
returns a random mediaType.
For details, please review mediaTypes.
The (static) MediaTypes::$<mediaType>
sources are available for 'ad Hoc' use.
Rfc7970
Rfc7970enums has 38 generator methods, all prefixed by rfc7970 : For details, please review iana.org/iodef2.
AddressCategory | EmailType | RecordPatternType |
BulkObservableType | ExpectationAction | RegistryHandleRegistry |
BusinessImpactSeverity | ExtensionTypeDtype | Restriction |
BusinessImpactType | HashDataScope | SoftwareReferenceSpecId |
ConfidenceRating | HistoryItemAction | SoftwareReferenceDtype |
ContactRole | IncidentPurpose | SoftwareReferenceSpecName |
ContactType | IncidentStatus | SystemCategory |
CounterDuration | IndicatorExpressionOperator | SystemImpactType |
CounterType | IntendedImpactType | SystemOwnership |
CounterUnit | KeyRegistryaction | Telephone-type |
DiscoverySource | NodeRoleCategory | TimeImpactDuration |
DomainDataDomainStatus | PostalAddressType | TimeImpactMetric |
DomainDataSystemStatus | RecordPatternOffsetunit |
SchemaURIs
Supporting schema URIs :
cid
, data
, dns
, fax
, feed
, ftp
,
geo
, imap
, http
, https
, ldap
, ldaps
,
mailto
, mid
, news
, nntp
, payto
, pop
,
rsync
, sftp
, snews
, smb
, ssh
, tel
,
telnet
, urnUuid
, vnc
, webcal
, xmpp
* or any
.
All generator method names are suffixed by Uri.
The generator method anyUri
returns a random schema URI.
*: without arg, method invoke returns simpler format output, one arg, true, expanded.
For details, please review List_of_URI_schemes.
Installation
Add the FakerLocRelTypes library to your composer.json
file:
Sponsorship
Donation using paypal.me/kigkonsult are appreciated. For invoice, please e-mail.
Support
For support go to github.com FakerLocRelTypes
License
This project is licensed under the LGPLv3 License