| Package Data | |
|---|---|
| Maintainer Username: | bpocallaghan |
| Maintainer Contact: | bpocallaghan@gmail.com (Ben-Piet O'Callaghan) |
| Package Create Date: | 2016-04-07 |
| Package Last Update: | 2023-03-15 |
| Home Page: | http://bpocallaghan.co.za |
| Language: | Blade |
| License: | MIT |
| Last Refreshed: | 2025-10-27 03:05:17 |
| Package Statistics | |
|---|---|
| Total Downloads: | 11,175 |
| Monthly Downloads: | 7 |
| Daily Downloads: | 0 |
| Total Stars: | 58 |
| Total Watchers: | 4 |
| Total Forks: | 15 |
| Total Open Issues: | 2 |
A Laravel Website and Admin Framework for your everyday Websites build in Laravel. This project is the core framework for Laravel Starter. Please check this out for the detailed Features list and more.
Titan is nicely packaged for you so that you only have to do the following;
Then you have your Titan Admin Starter project with all the features ready to start your coding.
Update your project's composer.json file.
composer require bpocallaghan/titan
php artisan titan:setup
It will do the following:
php artisan titan:publish --files=website
app\User.php
routes\web.php
app\Http\Kernel.php
app\Http\Handler.php
config\app.php
php artisan titan:install
It will do the following:
.env
php artisan migrate
php artisan titan:db:seed
(Optional)
php artisan vendor:publish --tag=laravel-notifications
It will publish the mail blade files to your project for you to edit.
php artisan migrate
This will create all the tables needed (users table will be altered).
php artisan titan:db:seed
This will seed the core tables to get started
php artisan titan:publish --files=website
This will copy all Website related files to your application.
Open routes\web.php and uncomment the home route.
Open app\Http\Kernel.php and add the below to the end of $routeMiddleware list.
'role' => \Bpocallaghan\Titan\Http\Middleware\ValidateRole::class,
'auth.admin' => \Bpocallaghan\Titan\Http\Middleware\AuthenticateAdmin::class,
This is to register the Admin Middlewares
admin role.The publish commands are used to copy the files from titan to your own application for customization. For example, you need to add or change a field in a table or update text or design in blade files.
php artisan titan:publish --files=app
php artisan titan:publish --files=assets
php artisan titan:publish --files=config
php artisan titan:publish --files=database
php artisan titan:publish --files=events
php artisan titan:publish --files=helpers
php artisan titan:publish --files=public
php artisan titan:publish --files=routes
php artisan titan:publish --files=website
php artisan titan:publish --files=website
This will copy all Website related files to your application (views, controllers, assets).
php artisan titan:publish --files=app
This will copy all Models, Views and Controllers to your application.
This will also copy all routes and RouteServiceProvider to your application.
php artisan titan:publish --files=assets
This will copy all assets (css, js, fonts, images) and webpack.js, package.json to your application.
php artisan titan:publish --files=config
This will copy the config file of titan to your application. You can change the admin skin (blue, red, green, etc)
php artisan titan:publish --files=database
This will copy the database/seeds and database/migrations to your application.
php artisan titan:publish --files=events
This will copy all Events, Listeners, Mails and Notifications to your application.
php artisan titan:publish --files=helpers
This will copy all Helpers, and HelperServiceProvider to your application.
php artisan titan:publish --files=public
This will copy all public (compiled css, js and also fonts and images) to your application.
php artisan titan:publish --files=routes
This will copy all routes, and RouteServiceProvider to your application.
create new packages for