use composer to build a laravel5.5 frame
First, environmental requirements:
1, PHP must be extended: OpenSSL, PDO, mbstring, Tokenizer. Check to see if these PHP extensions are installed and need to be installed if they are not installed.
2, use composer build, need to download Composer-setup.exe Click to open the link;
Requirements: To use the composer command in the console, you need to configure the directory where the composer and PHP executables (. Exe/.bat) are located in the system environment variable path. PHP corresponding Php.exe in the XAMPP installation directory, composer corresponding Composer.bat file directory default is C:\ProgramData\ComposerSetup\bin.
3, cmd command in the Web site www directory, enter:
Create a project directory named blog (directory free name).
4, to the third step created by the Laravel project is not included in the Vender directory, you need to install Vender directory through composer
CMD to the Laravel project directory, enter the command:
If an error occurs, enter the command first:
Composer Update
@php artisan package:discover
discovered package:fideloper/proxy
discovered Package:laravel/tinker
Package manifest generated successfully.
This results in a successful update.
After success, enter the command again:
Note: The failed opening required ' e:\www\blog\public/appears. /vendor/autoload.php ' (include_path= '); C:\php\pear ') in E:\www\blog\public\index.php on the line 24 error, that is, because the above step was not completed, the Vender directory could not be found;
5. Cmd project directory, set application encryption key
PHP Artisan Key:generate
Note: If "No application encryption key has been specified.", it is because the above step was not completed.
6. You should see the Laravel page in the root directory. second, to add something to not think well ...........