< INDEX

Installation

Server Requirements

The server requirements are the same as Laravel:

  • PHP >= 5.6.4
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension


Install Laravel

Follow the instructions on how to install Laravel.


Install Factotum

Remove the default Laravel scaffolding.

[project_path]/database/migrations
[project_path]/database/seeds/DatabaseSeeder.php
[project_path]/app/User.php
[project_path]/public/css/
[project_path]/public/js/
[project_path]/resources/assets/sass/
[project_path]/resources/assets/js/
[project_path]/resources/views/welcome.blade.php


Install factotum wia composer:

composer require kaleidoscope/factotum


And add these services providers in config/app.php:

'providers' => [
    ...
    Intervention\Image\ImageServiceProvider::class,
    Barryvdh\Debugbar\ServiceProvider::class,
    Kaleidoscope\Factotum\FactotumServiceProvider::class,
]


Then register Facade class aliases:

'aliases' => [
    ...
    'Image'                       => Intervention\Image\Facades\Image::class,
    'PrintContentsTree'           => Kaleidoscope\Factotum\Helpers\PrintContentsTreeHelper::class,
    'PrintCategoriesTree'         => Kaleidoscope\Factotum\Helpers\PrintCategoriesTreeHelper::class,
    'PrintContentsDropdownTree'   => Kaleidoscope\Factotum\Helpers\PrintContentsDropdownTreeHelper::class,
    'PrintCategoriesDropdownTree' => Kaleidoscope\Factotum\Helpers\PrintCategoriesDropdownTreeHelper::class,
    'PrintMenu'                   => Kaleidoscope\Factotum\Helpers\PrintMenuHelper::class,
    'PrintCategories'             => Kaleidoscope\Factotum\Helpers\PrintCategoriesHelper::class,
    'PrintField'                  => Kaleidoscope\Factotum\Helpers\PrintFieldHelper::class,
    ...
]


Launch the install:

php artisan factotum:install