Application Title System
The framework provides a flexible way to manage page titles with automatic application name prefixing:
Configure title settings in
.env:
USE_APP_NAME_IN_TITLE=true
APP_NAME="INEX SPA"Use standard HTML title tags in your pages:
<title>Welcome</title>The framework will automatically transform titles to include the app name:
<title>INEX SPA - Welcome</title>Advanced Usage
Disable for specific pages by setting
USE_APP_NAME_IN_TITLE=falseCustom separators can be configured in .env
Supports dynamic titles from PHP variables
Maintains SEO-friendly title structure
Works with SPA page transitions
Example with dynamic title:
<?php $pageTitle = "User Profile: " . $username; ?>
<title><?php echo $pageTitle; ?></title>Last updated