PHPackages                             radwanic/resource-listing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. radwanic/resource-listing

ActiveLibrary[Admin Panels](/categories/admin)

radwanic/resource-listing
=========================

A Laravel Nova card.

1.0.4(6y ago)314.5k↑164.3%2[2 issues](https://github.com/radwanic/resource-listing/issues)MITPHPPHP &gt;=7.1.0

Since Aug 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/radwanic/resource-listing)[ Packagist](https://packagist.org/packages/radwanic/resource-listing)[ RSS](/packages/radwanic-resource-listing/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (5)Used By (0)

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

Installation
============

[](#installation)

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

```
composer require radwanic/resource-listing
```

Description
===========

[](#description)

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

Basic Usage
===========

[](#basic-usage)

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

```
protected function cards()
{
	return [
		...
		(new ResourceListing())->resource(\App\Post::class)
	];
}
```

*Screenshot*[![basic](https://user-images.githubusercontent.com/10232523/62667040-3eb02c00-b986-11e9-8ddd-ffe1b5ce256f.png)](https://user-images.githubusercontent.com/10232523/62667040-3eb02c00-b986-11e9-8ddd-ffe1b5ce256f.png)

Available Methods
=================

[](#available-methods)

NameDescriptionExampleDefault Valueresourcesets the resource (must be set)`\App\Post::class`-cardTitlesets card title, won't display a card title if not setRecent Postsempty stringresourceTitleColumnchoose the resource model column which will be used in the listing`first_name` - `name` - `title``title`resourceUrisets the resource uri. only the title will be displayed if not set`/resoucres/posts/`empty stringlimitsets the maximum number of items that will be listed`1` - `3` - `5``10`orderBysets the column that will be used to sort the list`updated_at` - `name` - `price` - `age``created_at`ordersets the sorting direction`asc` - `desc``desc`readableDatesets the readable human date flag. this can be used with any date column`true` - `false``false`Advanced Examples
=================

[](#advanced-examples)

- Display recently updated posts, link each post to its resource url, and limit the results to 5

```
(new ResourceListing())
 ->cardTitle('Recently Updated Posts')
 ->resource(\App\TOYIT\Posts\Post::class)
 ->resourceUrl('/resources/posts/')
 ->orderBy('updated_at')
 ->limit(5)
```

*Screenshot*[![recent posts](https://user-images.githubusercontent.com/10232523/62667039-3eb02c00-b986-11e9-9890-c4b8c3e3996b.png)](https://user-images.githubusercontent.com/10232523/62667039-3eb02c00-b986-11e9-9890-c4b8c3e3996b.png)

- Get the most expensive products based on the `price`, and use `name` to display each item

```
(new ResourceListing())
 ->cardTitle('Recently Updated Posts')
 ->resource(\App\TOYIT\Posts\Post::class)
 ->resourceUrl('/resources/posts/')
 ->resourceTitleColumn('name')
 ->orderBy('price')
 ->limit(5)
```

*Screenshot*[![most expensive](https://user-images.githubusercontent.com/10232523/62667043-3f48c280-b986-11e9-9a23-7a33fcd84a1a.png)](https://user-images.githubusercontent.com/10232523/62667043-3f48c280-b986-11e9-9a23-7a33fcd84a1a.png)

- Get the three oldest members based on the `created_at` column, transform the `created_at` to a readable human time diff, and set the `order` direction to `asc`

```
new ResourceListing())
 ->cardTitle('Oldest Members')
 ->resource(\App\TOYIT\Users\User::class)
 ->resourceTitleColumn('name')
 ->resourceUrl('/resources/users/')
 ->readableDate(true)
 ->orderBy('created_at')
 ->order('asc'),
```

*Screenshot*[![oldest members](https://user-images.githubusercontent.com/10232523/62667041-3eb02c00-b986-11e9-8c93-199ff6ca2e4b.png)](https://user-images.githubusercontent.com/10232523/62667041-3eb02c00-b986-11e9-8c93-199ff6ca2e4b.png)

Security
--------

[](#security)

If you discover any security related issues, please email

Contributing
------------

[](#contributing)

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

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

2522d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10232523?v=4)[Mohammed Radwan](/maintainers/radwanic)[@radwanic](https://github.com/radwanic)

---

Top Contributors

[![radwanic](https://avatars.githubusercontent.com/u/10232523?v=4)](https://github.com/radwanic "radwanic (8 commits)")

---

Tags

laraveldashboardlistingcardresourcesnova

### Embed Badge

![Health badge](/badges/radwanic-resource-listing/health.svg)

```
[![Health](https://phpackages.com/badges/radwanic-resource-listing/health.svg)](https://phpackages.com/packages/radwanic-resource-listing)
```

###  Alternatives

[digital-creative/nova-dashboard

The missing dashboard for nova.

7171.8k1](/packages/digital-creative-nova-dashboard)[jubeki/nova-card-linkable

A Linkeable Card for the Laravel Nova Dashboard.

19277.1k](/packages/jubeki-nova-card-linkable)[khalin/nova-link-field

A Laravel Nova Link field.

31587.5k2](/packages/khalin-nova-link-field)[inani/nova-resource-maker

A Laravel Nova package to help you generate resources fields

2513.7k](/packages/inani-nova-resource-maker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
