Download the PHP package wongyip/laravel-renderable without Composer
On this page you can find all versions of the php package wongyip/laravel-renderable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wongyip/laravel-renderable
More information about wongyip/laravel-renderable
Files in wongyip/laravel-renderable
Download wongyip/laravel-renderable
More information about wongyip/laravel-renderable
Files in wongyip/laravel-renderable
Vendor wongyip
Package laravel-renderable
Short Description Render Eloquent model with ease.
License
Homepage https://github.com/wongyip/laravel-renderable
Package laravel-renderable
Short Description Render Eloquent model with ease.
License
Homepage https://github.com/wongyip/laravel-renderable
Please rate this library. Is it a good library?
Informations about the package laravel-renderable
Laravel Renderable
Present an Eloquent model or an associative array in HTML table view.
Installation
Install as a package to a Laravel project
Usage
Output
Output Explained
- The main output is a
<table>
tag wrapped in a container<div>
tag. - The
Renderable
object generates its ownRenderable.id
randomly on instantiate (12345678
), which is changeable with theRenderable.id()
method. - The main tag will have an
id
attribute derived from theRenderable.id
, prefixed withrenderable-
by default, configurable via/config/renderable.php
) and changeable on run-time by updating theRenderable.options.idPrefix
property. - The container tag's ID is further suffixed with
-containter
by default, configurable via/config/renderable.php
) and changeable on run-time by updating theRenderable.options.containerIdSuffix
property. - Field labels and values are rendered base on the setup.
Notes
- Output is formatted with HTML Beautify.
- Output is sanitized with HTML Purifier.
- The
Renderable
object is designed to render once only, useclone
keyword to create multipleRenderable
objects may end up fall into the variable referencing nightmare, do Deep Copy if multiple instance is really needed.
All versions of laravel-renderable with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
laravel/framework Version *
rcrowe/twigbridge Version *
wongyip/phphelpers Version *
wongyip/html-tags Version *
wongyip/html-beautify Version ^1.0
ezyang/htmlpurifier Version ^4.17
laravel/framework Version *
rcrowe/twigbridge Version *
wongyip/phphelpers Version *
wongyip/html-tags Version *
wongyip/html-beautify Version ^1.0
ezyang/htmlpurifier Version ^4.17
The package wongyip/laravel-renderable contains the following files
Loading the files please wait ....