PHPackages                             nhattay/laravel-404page - 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. nhattay/laravel-404page

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nhattay/laravel-404page
=======================

Laravel custom 404 page

v1.0.1(3y ago)110PHPPHP &gt;=7.2

Since Feb 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nhattay/laravel-404page)[ Packagist](https://packagist.org/packages/nhattay/laravel-404page)[ RSS](/packages/nhattay-laravel-404page/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

\#Introduction To give you an ability to custom 404 page. Custom 404 page according the Model.

Requirements
------------

[](#requirements)

PHP 7.0 and later.

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

[](#installation)

Composer

```
composer require nhattay/laravel-404page
```

Configuration

```
php artisan vendor:publish --tag=404page
```

you can see a new file `config/404page.php`

Getting Started
---------------

[](#getting-started)

1. Custom view

```
'models' => [
    App\Models\User::class => [
        'view' => 'user-404', /* It refers to file resources/views/user-404.blade.php */
    ]
]
```

2. Passing variables to the view

```
'models' => [
    App\Models\User::class => [
        'view' => 'user-404', /* It refers to file resources/views/user-404.blade.php */
        'variables' => [      /* You are able to pass variables to the view */
            'customMessage' => 'User not found',
        ],
    ]
]
```

Then there's a variable `$customMessage` available in the view

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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

2

Last Release

1180d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.0

v1.0.1PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/d72f85288e874eb8a9acaaef083131af73c0381689ef26b4c944eb4bb6e70f58?d=identicon)[nhatnm](/maintainers/nhatnm)

### Embed Badge

![Health badge](/badges/nhattay-laravel-404page/health.svg)

```
[![Health](https://phpackages.com/badges/nhattay-laravel-404page/health.svg)](https://phpackages.com/packages/nhattay-laravel-404page)
```

###  Alternatives

[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

4.9k33.8M339](/packages/yajra-laravel-datatables-oracle)[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[datomatic/nova-enum-field

A Laravel Nova PHP 8.1 enum field with filters

20134.2k](/packages/datomatic-nova-enum-field)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)

PHPackages © 2026

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