Skip to content

Installation

Laraframe is made of Laravel and installation system is same as Laravel. See Laravel Installation Guide

Installing Laraframe

Lraframe utilizes Composer to manage its dependencies. So, before using Laraframe, make sure you have Composer installed on your machine.

Unzip Laraframe project and put it into your server directory (For linux the server directory is /var/www/html). After this go to your project directory and run composer install to download all the dependency.

Directory Permissions

After installing Laraframe, you may need to configure some permissions. Directories within the storage and the bootstrap/cache directories should be writable by your web server or Laraframe will not run.

Application Key

The next thing you should do after installing Laraframe is set your application key to a random string. Typically, this string should be 32 characters long. The key can be set in the .env environment file. Renamed the .env.example file to .env, you should do that now. If the application key is not set, your user sessions and other encrypted data will not be secure!

Additional Configuration

By default Laraframe store cache and session in files. If you want to change it rename cache and session driver from .env and clear config cache by running php artisan config:clear otherwise the change will not affect on your application.