Laravel 4.2 Installer

install your application in 3 steps

Configure your PHP settings

Configure your database settings.

Your application was successfully installed !!!

Introduction

Laravel 4.2 Installer is the perfect solution to install Laravel application, with this "tool" you don't need to worry about spending extra time on coding and perfecting user friendly installation wizard so you can focus more on your product than anything else.

Laravel 4.2 Installer does not require you to make any changes in your own software, what you need is to insert a single line into your index.php

Main Features

Responsive

Easy Install

Easy customization

Load .sql file

How it works ?

To implement "Laravel 4.2 Installer" all you need to do is:

Step 1

copy install folder from "Laravel 4.2 Installer" script into your root of your app, just like it is in the script

Before

  • app
  • bootstrap
  • public
  • vendor
  • .htaccess
  • favicon.ico
  • index.php
  • robots.txt
  • server.php

After

  • app
  • bootstrap
  • install
  • public
  • vendor
  • .htaccess
  • favicon.ico
  • index.php
  • robots.txt
  • server.php

Step 2

go to your index.php and insert the next line as first line in this file, index.php is located in your root folder

Before

<?php
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylorotwell@gmail.com>
 */

/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any our classes "manually". Feels great to relax.
|
*/

require __DIR__.'/bootstrap/autoload.php';

/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let's turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight these users.
|
*/

$app = require_once __DIR__.'/bootstrap/start.php';

/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have whipped up for them.
|
*/

$app->run();

After

<?php
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylorotwell@gmail.com>
 */

/*
|--------------------------------------------------------------------------
| Load Laravel 4.2 Installer
|--------------------------------------------------------------------------
|
| Once you have install the application you can comment the next line.
|
*/

require 'install/index.php';
 
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any our classes "manually". Feels great to relax.
|
*/

require __DIR__.'/bootstrap/autoload.php';

/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let's turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight these users.
|
*/

$app = require_once __DIR__.'/bootstrap/start.php';

/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have whipped up for them.
|
*/

$app->run();

Run sql. file

If you want to run a .sql file you need to place your .sql into next location install/data/sql/ and name your file to database.sql
If you want to change the name of this file, you need to go in install/libraries/install.php at line 205 inside loadSqlFile() method and place your name