| Package Data | |
|---|---|
| Maintainer Username: | craigsansam |
| Maintainer Contact: | craig@radiula.com (Craig Sansam) |
| Package Create Date: | 2014-03-01 |
| Package Last Update: | 2020-09-30 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-06 15:18:07 |
| Package Statistics | |
|---|---|
| Total Downloads: | 147,913 |
| Monthly Downloads: | 47 |
| Daily Downloads: | 2 |
| Total Stars: | 7 |
| Total Watchers: | 0 |
| Total Forks: | 2 |
| Total Open Issues: | 0 |
Pull this package in through Composer.
{
"require": {
"radiula/title": "~0.5"
}
Add the following to you config/app.php
'providers' => [
'...',
'Radiula\Title\TitleServiceProvider'
];
'aliases' => [
'...',
'Title' => 'Radiula\Title\Facades\Title',
];
Title::siteName('Acme Site');
Title::segment('Foo', 'Bar');
Title::make();
Title::layout('%s - %s');
Title::segments();
Title::setSegments(['Foo', 'Bar']);
Title::last();
Running the siteName and segment methods with the above properties (and the default layout), would cause make to output the following
Foo | Bar | Acme Site