Codeigniter4(dev) を試してみる

インストール手順

適当な場所にて
# cd ~/work
git からクローンして
# git clone https://github.com/bcit-ci/CodeIgniter4.git
CodeIgniterのディレクトリが展開されるので適当な場所に配置して
# mv CodeIgniter4 <任意の配置したい場所>/

ウェブサーバの設定で、<任意の配置した場所>/CodeIgniter4/public をドキュメントルートに指定して

# vi /etc/nginx/conf.d/myapp.conf
root <任意の配置したい場所>/CodeIgniter4/public;

ウェブサーバを再起動

# systemctl restart nginx

ブラウザでアクセスすると表示された。
ci4-dev_installed

シンプル

CodeIgniter4 github