PHPackages                             swapnilsarwe/nova-icndb - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. swapnilsarwe/nova-icndb

Abandoned → [swapnilsarwe/nova-icndb-card](/?search=swapnilsarwe%2Fnova-icndb-card)Library[Utility &amp; Helpers](/categories/utility)

swapnilsarwe/nova-icndb
=======================

A Laravel Nova card.

0.4.0(5y ago)081[1 PRs](https://github.com/swapnilsarwe/nova-icndb-card/pulls)MITPHPPHP ^7.3|^8.0

Since Sep 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/swapnilsarwe/nova-icndb-card)[ Packagist](https://packagist.org/packages/swapnilsarwe/nova-icndb)[ RSS](/packages/swapnilsarwe-nova-icndb/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (2)Versions (32)Used By (0)

[![Total Downloads](https://camo.githubusercontent.com/24cf29e8f2198addc83bd49fe87b796668da089206b47658188c4b359d8d0040/68747470733a2f2f706f7365722e707567782e6f72672f737761706e696c73617277652f6e6f76612d69636e64622d636172642f646f776e6c6f616473)](https://packagist.org/packages/swapnilsarwe/nova-icndb-card)

Laravel Nova ICNDB Package
--------------------------

[](#laravel-nova-icndb-package)

This packages uses the [ICNDB Api](http://www.icndb.com/api/) to show the random joke on a card on Laravel Nova Dashboard.

Here's how the card will look like on a dashboard.

[![alt text](https://raw.githubusercontent.com/swapnilsarwe/nova-icndb/master/card.png "ICNDB Random Joke")](https://raw.githubusercontent.com/swapnilsarwe/nova-icndb/master/card.png)

Installation
------------

[](#installation)

You can install the packace in to a Laravel app that uses Nova via composer:

```
composer require swapnilsarwe/nova-icndb-card

```

As a next step you will have to register the card with your Nova App. You can achieve this by adding the package in the `cards` method of the `NovaServiceProvider`.

```
// in app/Providers/NovaServiceProvider.php

public function cards()
{
    return [
        // ...
        new \Swapnilsarwe\NovaIcndbCard\NovaIcndbCard,
    ];
}
```

Configuration
-------------

[](#configuration)

You can publish the config using the following command

```
php artisan vendor:publish --provider="Swapnilsarwe\NovaIcndbCard\CardServiceProvider"

```

if for some reason new options are added in config are not visible - do the following

```
php artisan vendor:publish --provider="Swapnilsarwe\NovaIcndbCard\CardServiceProvider" --force

```

### Custom Names in jokes

[](#custom-names-in-jokes)

You can now use your own name in the joke by updating the following values in the icndb-config.php in config folder

```
...
'name_to_use' => [
    'first_name' => 'Chuck', // type in your own first name
    'last_name' => 'Norris', // type in your own last name
],
...
```

Also you can configure the category from which you dont want to display jokes on the dashboard.

The complete list of categories can be checked out here

```
http://api.icndb.com/categories

```

By default all jokes marked as `explicit` are excluded. You can update the config as per your need.

```
...
'excluded_categories' => [
    // jokes belonging to following categories will not be shown
    'explicit',
],
...
```

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 63.5% 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 ~34 days

Recently: every ~91 days

Total

28

Last Release

1886d ago

PHP version history (4 changes)0.0.1PHP &gt;=7.1.0

0.2.4PHP ^7.2

0.3.0PHP ^7.3

0.4.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/166912?v=4)[Swapnil Sarwe](/maintainers/swapnilsarwe)[@swapnilsarwe](https://github.com/swapnilsarwe)

---

Top Contributors

[![swapnilsarwe](https://avatars.githubusercontent.com/u/166912?v=4)](https://github.com/swapnilsarwe "swapnilsarwe (40 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (23 commits)")

---

Tags

icndb-apilaravellaravel-novalaravelnova

### Embed Badge

![Health badge](/badges/swapnilsarwe-nova-icndb/health.svg)

```
[![Health](https://phpackages.com/badges/swapnilsarwe-nova-icndb/health.svg)](https://phpackages.com/packages/swapnilsarwe-nova-icndb)
```

###  Alternatives

[genealabs/laravel-changelog

A Laravel Nova tool.

55250.7k](/packages/genealabs-laravel-changelog)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[advoor/nova-editor-js

A Laravel Nova field bringing EditorJs magic to Nova.

92179.0k3](/packages/advoor-nova-editor-js)[datomatic/nova-enum-field

A Laravel Nova PHP 8.1 enum field with filters

20134.2k](/packages/datomatic-nova-enum-field)[devtical/nova-qrcode-field

Nova QR code field

4560.6k2](/packages/devtical-nova-qrcode-field)[swooinc/nova-countdown

A countdown card for Laravel Nova.

1224.5k](/packages/swooinc-nova-countdown)

PHPackages © 2026

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