here for new version (Laravel 5.4)Caution: Click
Bootstrap blog-home on Laravel 5.3
Ever wanted to experiment the famous bootstrap blog-home live? This project is a fully functional blog application based on the bootstrap blog-home template and the bootstrap 3 adminsb theme for the admin area. It is written in PHP and uses Laravel 5.3 as a framework.
You need to have a local server working on your computer to run this project locally. We recommand using Homestead but you can also use Xampp, which is less complicated to install. So first make sure a local server is running on your computer. Next create the database on which blog posts will reside (for example using phpmyadmin). Then type the following commands in your favorite CLI (xampp users: make sure your emplacement is the xampp/htdocs folder):
Clone the repo:
git clone https://github.com/jeanquark/blog-home.git
Move to the newly created folder and install all dependencies:
cd blog-home composer install
Open the .env.example file, edit it to match your database name, username and password (required step) as well as your email credentials (optional, but required for the contact form to work) and save it as .env file. Then build tables with command:
php artisan migrate
Now fill the tables:
php artisan db:seed
Generate application key
php artisan key:generate
And voilà! Now you should be able to test the application. Go to the login page and enter the provided credentials. Then click on the top nav email address to get to the admin area. Enjoy!
- Create blog posts that consist of formatted text and images.
- Link those posts to tags for quick reference.
- Allow posts to be commented and replies to these comments.
- Search among posts based on text excerpt.
- Manage users.
- Send a message with the contact form.
The contact form can be used as is. I have preconfigured it for a Gmail address in the .env.example file. All you have to do is entering your actual email address and password. Have fun!
- sentinel for authentication and authorization
- image-validator for image upload validation
- active for active class on current url
- hashids for quick hash of user ids
Please refer to the blog-home license.