Thursday, October 29, 2015

Installing Laravel 5.1 on Windows 8.1 | x64 | PhpStorm 9.0.2

Installing Laravel 5.1 on Windows 8.1 | x64 | phpStorm 9.0.2


Requirements:

  1. PHP 5.5.9 +
  2. OpenSSL PHP Extension
  3. PDO PHP Extension
  4. Mbstring PHP Extension
  5. Tokenizer PHP Extension
  6. Composer Link

Installing Laravel:


1.Type  php composer create-project laravel/laravel --prefer-dist in your command prompt,  you can use any directory.

2.Open the "config" folder in Laravel app  and open the "app.php" look at  'key' => env('APP_KEY', 'SomeRandomString'),
in "SomeRandomString" put any string of size 32. 

Running Laravel:

On your terminal under Laravel folder type php -S localhost:8000 -t 'public'
It will show you

PHP 5.6.3 Development Server started at Thu Oct 29 16:49:25 2015
Listening on http://localhost:8000
Document root is C:\xamppPhp56\htdocs\Laraval\blog\public
Press Ctrl-C to quit.

You can now open the http://localhost:8000

Output:





 ❤ U