3

简单的 Laravel 环境

 3 years ago
source link: https://egoist.moe/laravel-start
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Jun 26, 2020

简单的 Laravel 环境

我准备在 WSL2 (Ubuntu) 里试一下 Laravel,但我不想用 Vagrant 这些笨重的东西,所以我就想直接安装 php 和 Laravel 需要的 extensions:

sudo apt install openssl php php-common php-curl php-json php-mbstring php-mysql php-xml php-zip

之后你可以按照官方教程安装 Composer

顺便使用国内的 packagist 镜像:

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK