Download the PHP package twentyonetf/ajax-table-card without Composer
On this page you can find all versions of the php package twentyonetf/ajax-table-card. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download twentyonetf/ajax-table-card
More information about twentyonetf/ajax-table-card
Files in twentyonetf/ajax-table-card
Download twentyonetf/ajax-table-card
More information about twentyonetf/ajax-table-card
Files in twentyonetf/ajax-table-card
Vendor twentyonetf
Package ajax-table-card
Short Description A customisable Laravel Nova card that fetches data through ajax calls.
License MIT
Package ajax-table-card
Short Description A customisable Laravel Nova card that fetches data through ajax calls.
License MIT
Please rate this library. Is it a good library?
Informations about the package ajax-table-card
Ajax Table Card
Description
A customisable Laravel Nova card that fetches data through ajax calls.
Why?
To allow displaying certain data on the dashboard or any other place of your choice, while fetching the data through an AJAX call to reduce the initial page load time.
Installation instruction
composer require twentyonetf/ajax-table-card
How?
- Create a class that extends
You could also use this artisan command:
-
Register card like any nova card, for example: if you want it on the dashboard.
- Generate and pass the data to the card.
Customisation
Option | Type | Description | default |
---|---|---|---|
$title | string |
Used to set the title of the card. | Ajax Table Card |
$header | array | An array of the items in the header of the table. | null |
||
$link | string | The link to fetch the data from. | null |
||
$cache | string |
How long to cache the data for. | 86400 |
$linkable | bool | Is the last column of the table a link to a page? | true |
||
$expanded | bool | The default status of table, expanded or collapsed | true |
||
$countable | bool | Display a counter of how many results next to the title | true |
||
$hideWhenEmpty | bool | Hide the card when there's no data. | true |
Screenshots
All versions of ajax-table-card with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
The package twentyonetf/ajax-table-card contains the following files
Loading the files please wait ....