composer command
1, the installation
composer create-project --prefer-dist laravel/laravel blog "5.2.*"
Notes: blog representatives are renamed, the original front laravel
"5.2. *" Represents the version, the default is the latest version
2, for the country's image resource (
https://pkg.phpcomposer.com/
)
composer config -g repo.packagist composer https://packagist.phpcomposer.com
3, using the composer mounting plug (eg: u_edit editor)
It is recommended to replace the mirror image of domestic resources, methods, see No. 2 above
①, there is no need to look php.ini open php_fileinfo.dll extensions
②,
a configuration composer.json file in the file which joined require composer.json
"stevenyangecho/laravel-u-editor": "~1.4"
Third, configure the config / app.php file
In the "providers" plus the last key
Stevenyangecho\UEditor\UEditorServiceProvider::class,
In the "aliases" plus the last key
'UEditor'=>Stevenyangecho\UEditor\UEditorServiceProvider::class
Fourth, the registration tool interface, command line operation
php artisan vendor:publish