LoginSignup
0
0

More than 5 years have passed since last update.

[Laravel5] 開発する上で必要最低限な設定や問題点などまとめておく

Posted at

1. Installation

1.1 Requirements

Following packages are required to install Laravel.
+ PHP >= 7.1.3
+ OpenSSL PHP Extension
+ PDO PHP Extension
+ Mbstring PHP Extension
+ Tokenizer PHP Extension
+ XML PHP Extension
+ Ctype PHP Extension
+ JSON PHP Extension
+ BCMath PHP Extension

sudo apt install php php-mbstring php-tokenizer php-json php-bcmath

1.2 Install Composer

sudo apt install composer

1.3 Install Laravel

Install via installer.

composer global require laravel/installer

Setup enviroment $PATH.

echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> $HOME/.bashrc
source $HOME/.bashrc

1.4 Creat new application

laravel new project_name
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0