Laravel on kali 2017.1

composercreate-projectlaravel/laravel Laravel--prefer-dist "5.1.*"


git clone /home/lifeand/code/php/php_framework

之后,

要安装

sudo apt-get install php-mbstring

sudo apt-get install php-dom

( composercreate-projectlaravel/laravel Laravel--prefer-dist "5.1.*" ) 

composer install 

进行安装

php artisan key:generate 生成加密密钥,修改config/app.php

'key' => env('APP_KEY', 'uOHTNu3Au1Kt7Uloyr2Py9blU0J5XQ75'),

'cipher' => 'AES-256-CBC',

php artisan serve 开启

你可能感兴趣的:(Laravel on kali 2017.1)