Skip to content

Dhii/human-readable-interface

Repository files navigation

Human Readable Interface

Continuous Integration Latest Stable Version Latest Unstable Version

Interfaces for human-readable string interoperation.

Details

Use the interfaces in this package to represent things that expose human-readable strings. Then perhaps base rendering logic on them.

Interfaces

  • CaptionAwareInterface - Something that has a caption. Usually a descriptive sub-heading. Perhaps for images.
  • DescriptionAwareInterface - Something that has a description. Should describe the object. Settings fields usually use this.
  • LabelAwareInterface - Something that has a label. This is something that visually names the object. Setting fields usually use this, or maybe a tab or a menu item
  • MessageAwareInterface - Something that has a message. Perhaps a notification object.
  • TitleAwareInterface - Something that has a title. Could be page.

Development

This project ships with Docker and PHPStorm configurations. Just copy .env.example to .env, tweak if necessary, then use docker-compose to run various tools, or use PHPStorm integrations.