Download the PHP package radwanic/resource-listing without Composer

On this page you can find all versions of the php package radwanic/resource-listing. 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 resource-listing

This package allows you to list resources and order them based on a specific column

Installation

You can install the package in a Laravel app with Nova installed

Description

A Laravel Nova card that displays a list of resource items based on the criteria that you specify.

Basic Usage

Adding the snippet below to the dashboard cards function will display the most resent posts based on their created_at field

Screenshot basic

Available Methods

Name Description Example Default Value
resource sets the resource (must be set) \App\Post::class -
cardTitle sets card title, won't display a card title if not set Recent Posts empty string
resourceTitleColumn choose the resource model column which will be used in the listing first_name - name - title title
resourceUri sets the resource uri. only the title will be displayed if not set /resoucres/posts/ empty string
limit sets the maximum number of items that will be listed 1 - 3 - 5 10
orderBy sets the column that will be used to sort the list updated_at - name - price - age created_at
order sets the sorting direction asc - desc desc
readableDate sets the readable human date flag. this can be used with any date column true - false false

Advanced Examples

Screenshot recent posts

Screenshot most expensive

Screenshot oldest members

Security

If you discover any security related issues, please email [email protected]

Contributing

This is a basic package that covers few cases and has limited features. Any contributions are welcome and credited.

License

The MIT License (MIT). Please see License File for more information.


All versions of resource-listing with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.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 radwanic/resource-listing contains the following files

Loading the files please wait ....