PHPackages                             kigkonsult/fakerlocreltypes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. kigkonsult/fakerlocreltypes

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

kigkonsult/fakerlocreltypes
===========================

PHP Faker Location-, Relation-, Media-, Incident Object report types and schemaURIs

v2.6.1(3y ago)0133LGPL-3.0-or-laterPHPPHP &gt;=7.1

Since Mar 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/iCalcreator/fakerLocRelTypes)[ Packagist](https://packagist.org/packages/kigkonsult/fakerlocreltypes)[ Fund](https://paypal.me/kigkonsult)[ RSS](/packages/kigkonsult-fakerlocreltypes/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (9)Used By (3)

> PHP Faker Location-, Relation-, Media-, Incident Object report types and schemaURIs

- Location types as found in [rfc4589](https://www.rfc-editor.org/rfc/rfc4589.txt) 'Location Types Registry'

    - "the types of places a human or end system might be found"
- Link Relation Types as found in [Link Relation Types](https://www.iana.org/assignments/link-relations/link-relations.xhtml) - in reference with [rfc8288](https://www.rfc-editor.org/rfc/rfc8288.html) Web Linking

    - "...the relationships between resources on the Web ("links") and the type of those relationships"
- MediaTypes (MIME-Types) as found in [mediaTypes](https://www.iana.org/assignments/media-types/media-types.xhtml)

    - application, audio, font, example, image, message, model, multipart, text, video or any type
- Report enumeration values defined by Incident Object Description Exchange Format ([rfc7970](https://www.rfc-editor.org/rfc/rfc7970.html)),

    - as found in [iana.org/iodef2](https://www.iana.org/assignments/iodef2/iodef2.xhtml)
- a collection of schema URIs generators

    - found in [List\_of\_URI\_schemes](https://en.wikipedia.org/wiki/List_of_URI_schemes)

#### Usage

[](#usage)

To use this with [Faker](https://github.com/fakerphp/faker), invoke the `Kigkonsult\FakerLocRelTypes` classes as Faker generators.

###### Rfc4589

[](#rfc4589)

Rfc4589LocationTypes has only one generator. For details, please review [rfc4589](https://www.rfc-editor.org/rfc/rfc4589.txt). The (static) Rfc4589LocationTypes::$locationTypes is available for 'ad Hoc' use.

```
