plinct / web
Web objects and widgets for Plinct app
1.22.1
2025-10-01 17:37 UTC
Requires
- php: ^7.4|^8.0
This package is auto-updated.
Last update: 2026-06-12 16:02:02 UTC
README
Web objects and widgets for Plinct app
write on array or json and output in HTML
basic element
[
"tag" => "element html tag",
"attributes" => [ "name" => "value" ],
"content" => "string" or [other element or object: array],
"href" => "path/to/"
]
html Objects
There are three types: image, figure, picture, video, list, navbar, table
[
"object" => "image",
"attributes => [
"class" => "image-styles",
"id" => "image-id",
"name" => "value"
],
"src" => "/path/to/image.ext",
"href" => "/path/to/link",
"width" = number,
"height = number
"attributesHref = [array]
],
[
"object" => "figure",
"attributes" => [ "name" => "value" ],
"src" => "/path/to/image.ext",
"href" => "/path/to/link",
"width" = number,
"height = number,
"caption" = "string",
"attributesImg = [array],
"attributesHref = [array]
],
[
"object" => "picture",
"attributes" => [
"class" => "image-styles",
"id" => "image-id"
],
"src" => "/path/to/image.ext",
"href" => "/path/to/link",
"sources" => [
[ "width" => number, "height" => proportional number ],
[ "width" => 720, "height" => 0.75 ],
[ "width" => 1024, "height" => 0.5 ]
],
"content" => another object or element
]
And more
- Breadcrumb function
- Scroll up button
- form widgets
- street map
- icons
- page navigation
- website