Download the PHP package dillingham/nova-list-card without Composer

On this page you can find all versions of the php package dillingham/nova-list-card. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nova-list-card

Nova List Card

Latest Version on Github Total Downloads Twitter Follow

Add a variety of lists to your dashboard

nova-list-card

Install

Basic Usage

View more examples

Possible Scenarios

Card Width

Set the card's width, default 1/3

Card Heading

Resource Subtitle

Display resource subtitle beneath the title

or display resource proporties beneath the title

Timestamps

Adds timestamp beneath resource title

Optionally can add as a side value, see below.

Defaults: created_at & moment.js format: MM/DD/YYYY:

Relative timestamps: 5 days ago | in 5 days

Side Values

Display resource values on the right side

Aggregated Count

Add counts of relationships:

Aggregated Sum

Add sum of relationship's column:

Value formatting

You can change the value output using numeral.js

Value Timestamp: add third parameter for moment.js formats

Limit

Set the number of items to display, default: 5:

OrderBy

Set the order of the resources:

Show View All Link

You can link to the resource's index

Or to a lens attached to the resource

Footer Link

You can link to a urL instead of using viewAll:

Scoped Resource

Check the card's uri key within IndexQuery:

CSS Classes

Customize styles easily if you have your own theme.css

Also includes resource specific classes etc

Also can target specific rows

The uri key is added to the card

You can also add classes manually

You can also add alternate row formatting

Examples

nova-list-card

Methods

Method Description
resource() declare the resource
heading() add a title to card
subtitle() display subtitle value
timestamp() display & format timestamp
value() display right side value
withCount() aggregate count value
withSum() aggregate sum value
orderBy() set the resource order
limit() set number of resources
viewAll() enable view all link
viewAllLens() enable lens view all
footerLink() add a static footer link
zebra() add alternate row color
id() unique id for card's requests
classes() add css classes to card

All versions of nova-list-card with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
watson/aggregate Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dillingham/nova-list-card contains the following files

Loading the files please wait ....