PHPackages                             gaaarfild/laravel-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. gaaarfild/laravel-title

Abandoned → [garf/laravel-title](/?search=garf%2Flaravel-title)Library[Utility &amp; Helpers](/categories/utility)

gaaarfild/laravel-title
=======================

Convenient seo-titles assembler for your web application

v2.0.1(9y ago)4633MITPHPPHP &gt;=5.4.0

Since Dec 7Pushed 9y agoCompare

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

READMEChangelog (6)Dependencies (2)Versions (8)Used By (0)

Laravel Easy Seo Titles
=======================

[](#laravel-easy-seo-titles)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Laravel Version](https://camo.githubusercontent.com/2eeacc241c9b089e24b488130b631df795e13f9a52d0be8b41c62cd804376212/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d352e312d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)![Packagist](https://camo.githubusercontent.com/cec99d1c6ea04fdd5654f94d0c8f4f105fe2ff07c1ec33e4355fe87f6b788cd7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676172662f6c61726176656c2d7469746c652e737667)[![Licence](https://camo.githubusercontent.com/4946317ed95e66d03a6549dadff59de0a4d3c6c0d0fa10923390a48586db0ef6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f676172662f6c61726176656c2d7469746c652e737667)](https://github.com/garf/laravel-title/blob/master/LICENSE)

Let your site to have nice SEO-titles on Laravel 5.

Sometimes, creating seo-titles may be tricky. Just try this package and you will be happy!

Install
-------

[](#install)

Add

```
"garf/laravel-title": "2.*"
```

to your `composer.json` file into `require` section.

Then type in console

```
$ composer update
```

When update completed, add to your `config/app.conf` file to `providers` section

```
'providers' => [
    // ...
    Garf\LaravelTitle\LaravelTitleServiceProvider::class,
]
```

If you want to use `Title` facade, add to same file at the `aliases` section

```
'aliases' => [
    // ...
  'Title' => Garf\LaravelTitle\TitleFacade::class,
]
```

### Publishing configs

[](#publishing-configs)

Type in your console:

```
php artisan vendor:publish --provider="Garf\LaravelTitle\LaravelTitleServiceProvider"
```

Usage
-----

[](#usage)

### Add segment to the end

[](#add-segment-to-the-end)

```
Title::append('Title segment');
```

### Add segment to the beginning

[](#add-segment-to-the-beginning)

```
Title::prepend('Title segment');
```

### Display title

[](#display-title)

```
Title::render([$delimiter = null, $no_additions = false]);
```

Additionally, you can add parameters to this method:

- first parameter `$delimiter` sets the delimiter config manually. If `null`, will be used default delimiter
- second parameter `$no_additions` will cancel suffix and prefix adding to rendered title. Also sets `on_empty` config parameter to empty string.

```
Title::renderr([$delimiter = null, $no_additions = false]);
```

This method is similar to `render()` method, except it will render title in reversed order.

#### Check if segments exist

[](#check-if-segments-exist)

```
Title::has();
```

#### Render custom title

[](#render-custom-title)

```
Title::make(Array $segments, [$delimiter = ' - ', $suffix = '', $prefix = '', $on_empty = '']);
```

Method will return title with your own params

#### Clear title stack

[](#clear-title-stack)

```
Title::clear();
```

Method will empty title segments.

#### Get raw segments array

[](#get-raw-segments-array)

```
Title::get();
```

#### Get segments in JSON-object

[](#get-segments-in-json-object)

```
Title::toJson();
```

Plans
-----

[](#plans)

- add variables to JS export
- additional meta-tags

Contributions
-------------

[](#contributions)

Contributions are highly appreciated.

Send your pull requests to `master` branch.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/garf/laravel-title/blob/master/LICENSE) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

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 ~49 days

Recently: every ~69 days

Total

7

Last Release

3514d ago

Major Versions

v1.2.1 → v2.0.02016-07-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/29cdfd289f56bbc3b1cc8b5cf600e271da8953dc86358adb3ae6236eb8becd69?d=identicon)[garf](/maintainers/garf)

---

Top Contributors

[![garf](https://avatars.githubusercontent.com/u/1891709?v=4)](https://github.com/garf "garf (12 commits)")

---

Tags

laravelseometaPage title

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gaaarfild-laravel-title/health.svg)

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

###  Alternatives

[lionix/seo-manager

SEO Manager for Laravel Framework

2165.4k](/packages/lionix-seo-manager)[fomvasss/laravel-meta-tags

A package to manage SEO (meta-tags, xml-fields, etc.)

3028.9k](/packages/fomvasss-laravel-meta-tags)[torann/laravel-meta-tags

A package to manage Header Meta Tags

65273.3k4](/packages/torann-laravel-meta-tags)[calotype/seo

A package containing SEO helpers.

722.6k](/packages/calotype-seo)[vinicius73/seotools

A package containing SEO helpers.

245.2k](/packages/vinicius73-seotools)[jaybizzle/hasmeta

Access model meta data as if it was a property on your model

291.9k](/packages/jaybizzle-hasmeta)

PHPackages © 2026

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