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: | 2024-11-19 03:17:02 |
Package Statistics | |
---|---|
Total Downloads: | 129,177 |
Monthly Downloads: | 2,556 |
Daily Downloads: | 57 |
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