This is a sample blog based on Laravel 5.6 framework and Bootstrap 4.
- Blogs/Articles
- Categories
- Comments
- Featured Image
- Admin Area
- Role Based Access
- RSS Feed
- Subscribers
- SEO Friendly
- Social Friendly
- Automated Emails On Registration with Queue/Job
- Automated Emails on Subscriber with Queue/Job
- Automated Emails for newsletters with Queue/Job
- Laravel Migrations
- Laravel Seeders
- Simple & Minimal UI Design
This blog project uses some open source projects and free projects to work properly:
- Twitter Bootstrap 4 - great UI boilerplate for modern web apps
- Laravel 5.6.5 - Framework for Web Artisans
- jQuery - duh
- FontAwesome - Design savy icons for developers
- TinyMCE - WYSIWYG rich text editor
- DataTable - Easily Manage Data sets for management purpose using jquery
- Sluggable - make slugs easily in laravel
- Roumen Feed - make RSS Feed easily in laravel
- Yajra Laravel Datatables - Easily integrat DataTable backend for laravel
And of course blog project itself is open source with a public repository on GitHub.
- PHP >= 7.1.3
- MySQL >= 5.0.12
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
git clone https://github.com/mubbi/laravel-blog-5.6.5.git
cd laravel-blog-5.6.5
composer install
rename .env.example to .env
php artisan key:generate
- Edit file
config/app.php & .env
- and set your correct app url - Edit file
config/database.php
- and set your DB connection details php artisan migrate --seed
php artisan storage:link
set mailtrap credentials in .env file to avoid swift email errors
After installing, you may need to configure some permissions. Directories within the "storage" and the "bootstrap/cache" directories should be writable by your web server or the project will not run.
Register in the application as the first user and get all admin roles by default
NOTE: Automatic user registration activation emails and subscriber verification emails are sent using the queue worker, therefore you must enable the queue worker on the project: https://laravel.com/docs/5.6/queues#running-the-queue-worker
- Set Queue Driver in .env or config/queue.php file
- Follow: https://laravel.com/docs/5.6/scheduling#introduction
- From the above link learn how to make a cron job for
schedule:run
- Once this cron job is set for every minute then the weekly emails will be sent automatically
GNU GPLv3