Skip to content

Laravel-4.2 with Bootstrap is a package which can be used as a starter point.

Notifications You must be signed in to change notification settings

saidurcse/Laravel-4.2-with-Bootstrap

Repository files navigation

Laravel-4.2-with-Bootstrap

Laravel-4.2 with Bootstrap is a package which can be used as a starter point.

Purpose

It will make easier for developer who want to use Bootstrap as their front end tool. It is a package of Laravel-4.2-with-Bootstrap-3.3.1.

Installation

1. Install Composer

Laravel utilizes Composer to manage its dependencies. First, download a copy of the composer.phar. Once you have the PHAR archive, you can either keep it in your local project directory or move to usr/local/bin to use it globally on your system. On Windows, you can use the Composer Windows installer.

2. Install Laravel

Step 1: Get the code

Option 1: Git Clone

$ git clone https://github.com/saidurcse/Laravel-4.2-with-Bootstrap.git

Option 2: Download the repository

https://github.com/saidurcse/Laravel-4.2-with-Bootstrap-master.zip

Step 2: Use Composer to install dependencies

Option 1: Through Composer command we can resolve the dependencies

$ cd laravel
$ composer update

Step 3: Configure Database

Option 1: Configure the following file
app/config/database.php

3. Server Requirements

The Laravel framework has a few system requirements:

  • PHP >= 5.4
  • MCrypt PHP Extension

As of PHP 5.5, some OS distributions may require you to manually install the PHP JSON extension. When using Ubuntu, this can be done via apt-get install php5-json.

4. Configuration

Laravel needs almost no configuration out of the box. You are free to get started developing! However, you may wish to review the app/config/app.php file and its documentation. It contains several options such as timezone and locale that you may wish to change according to your application.

Once Laravel is installed, you should also configure your local environment. This will allow you to receive detailed error messages when developing on your local machine. By default, detailed error reporting is disabled in your production configuration file.

Note: You should never have app.debug set to true for a production application. Never, ever do it.

Permissions

Laravel may require one set of permissions to be configured: folders within app/storage require write access by the web server.

Paths

Several of the framework directory paths are configurable. To change the location of these directories, check out the bootstrap/paths.php file.

5. Pretty URLs

Apache

The framework ships with a public/.htaccess file that is used to allow URLs without index.php. If you use Apache to serve your Laravel application, be sure to enable the mod_rewrite module.

If the .htaccess file that ships with Laravel does not work with your Apache installation, try this one:

Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]

Nginx

On Nginx, the following directive in your site configuration will allow "pretty" URLs:

location / {
    try_files $uri $uri/ /index.php?$query_string;
}

DOCUMENTATION

http://laravel.com/docs/4.2/configuration

License

The Laravel framework is open-sourced software licensed under the MIT license

About

Laravel-4.2 with Bootstrap is a package which can be used as a starter point.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published