This is a Blog Development Tutorial Series on Youtube. This project is made by Zakir Hossen for the tutorial Purpose.
- Laravel v7.0
- Frontend Template (MiniBlog by Colorlib)
- Admin Template (Admin LTE 3)
# clone the repo
git clone https://github.com/devzakir/laravel-complete-blog-development.git laravel-blog
# install composer dependency
composer install
# create a environment file
cp .env.example .env
# set the Application key
php artisan key:generate
# comment database query in AppServiceProvider.php like this
// $categories = Category::take(5)->get();
// View::share('categories', $categories);
// $setting = Setting::first();
// View::share('setting', $setting);
# setup the database credentials and migrate database with seeders
php artisan migrate --seed
# enable the database query code in AppServiceProvider.php like this
$categories = Category::take(5)->get();
View::share('categories', $categories);
$setting = Setting::first();
View::share('setting', $setting);