/laravel-blog

Blog made with Laravel framework

Primary LanguagePHP

Blog

This is a typical Blog made with Laravel framework. It is my first project with Laravel; I hope to learn a lot doing it 😃

Install Laravel

Install PHP

sudo apt install php

Install required extensions

sudo apt install php-zip
sudo apt install php-json
sudo apt install php-dom
sudo apt install php-mbstring

Install Composer

sudo apt install composer

Install Laravel Installer

composer global require laravel/installer

Update path

In my case, I use Zsh.

gedit .zshrc

Add the route .config/composer/vendor/bin/ to the path.

# If you come from bash you might have to change your $PATH.
export PATH=.config/composer/vendor/bin/:$HOME/bin:/usr/local/bin:$PATH

Reload .zshrc.

source .zshrc

Create project

laravel new laravel-blog

Launch server

cd laravel-blog
php artisan serve