PHPackages                             sukohi/page-title - 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. sukohi/page-title

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

sukohi/page-title
=================

Your package description here.

2.0.3(10y ago)015MITPHP

Since Apr 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/SUKOHI/PageTitle)[ Packagist](https://packagist.org/packages/sukohi/page-title)[ RSS](/packages/sukohi-page-title/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (11)Used By (0)

PageTitle
=========

[](#pagetitle)

A Laravel package to manage page title based on route name.
(This is for Laravel 5+. [For Laravel 4.2](https://github.com/SUKOHI/PageTitle/tree/1.0))

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

[](#installation)

Execute composer command.

```
composer require sukohi/page-title:2.*

```

Register the service provider in app.php

```
'providers' => [
    ...Others...,
    Sukohi\PageTitle\PageTitleServiceProvider::class,
]

```

Also alias

```
'aliases' => [
    ...Others...,
    'PageTitle' => Sukohi\PageTitle\Facades\PageTitle::class,
]

```

And then execute the next command to publish the view

```
php artisan vendor:publish

```

Preparation
===========

[](#preparation)

Set configuration values in config/page-title.php.

e.g)

```
return [
	'patterns' => [
		'key.mode' => '{key} - {mode}',
		'mode.key' => '{mode} - {key}',
	],
	'replacements' => [
		'key' => [
			'item' => 'Item',
			'address' => 'Address',
			'user' => 'User'
		],
		'mode' => [
			'index' => 'List',
			'create' => 'Insert',
			'edit' => 'Update',
			'show' => 'Confirmation'
		]
	]
];

```

In this case, for instance, if current route is `item.index` the page title you will get is `Item - List`.

Usage
=====

[](#usage)

```
$page_title = PageTitle::get();

```

You can specify `pattern name` like this.

```
$page_title = PageTitle::get('mode.key');

```

You also can set specific route name.

```
$page_title = PageTitle::get('mode.key', 'address.create');

```

License
=======

[](#license)

This package is licensed under the MIT License.

Copyright 2016 Sukohi Kuhoh

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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

10

Last Release

3724d ago

Major Versions

1.0.2 → 2.0.02016-04-19

1.0.4 → 2.0.32016-04-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/2980d59b309d45df3f2e6e51b1d336614da063240b8f76f873f287cd745ec5db?d=identicon)[Sukohi](/maintainers/Sukohi)

---

Top Contributors

[![SUKOHI](https://avatars.githubusercontent.com/u/5362394?v=4)](https://github.com/SUKOHI "SUKOHI (1 commits)")

### Embed Badge

![Health badge](/badges/sukohi-page-title/health.svg)

```
[![Health](https://phpackages.com/badges/sukohi-page-title/health.svg)](https://phpackages.com/packages/sukohi-page-title)
```

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17818.7k](/packages/markwalet-nova-modal-response)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

591.7k1](/packages/crumbls-layup)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.2k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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