Download the PHP package radiula/title without Composer
On this page you can find all versions of the php package radiula/title. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download radiula/title
More information about radiula/title
Files in radiula/title
Download radiula/title
More information about radiula/title
Files in radiula/title
Please rate this library. Is it a good library?
Informations about the package title
Radiula Title
Install
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',
];
Usage
Set the site title
Title::siteName('Acme Site');
Set one or more segments
Title::segment('Foo', 'Bar');
Make the title
Title::make();
Overriding the layout
Title::layout('%s - %s');
Getting all segments
Title::segments();
Overriding all segments
Title::setSegments(['Foo', 'Bar']);
Return Last Segment
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
All versions of title with dependencies
PHP Build Version
Package Version
The package radiula/title contains the following files
Loading the files please wait ....