This is a personal portfolio and blog project based on Laravel 5.1.

Overview

nahid.co [Laravel 5.1]

This is my personal blog project develop with latest Laravel version 5.1. Its opensource for students learning purpose.

Installation

After download or clone this project you'll see that there are no vendor directory exists in this project. Don't be worried. Laravel maintain there all packages by composer. Composer is a package dependency tools for PHP. so go to this project via Terminal and run this command

$ composer install

Noted: to run this command you have to enable internet connection

Now composer will sync all packages from server.

Configuration

If you sure all packages was downloaded then you have to configure this project. At first create a database and put your database credentials in .env file. .env is local environment file for laravel. After saving this configuration you have to database migrate. To migrate database run this command in your terminal

$ php artisan migrate

Wow you done it.

Now your project are completely ready to learn.

Run your project

There are no special procedure to run this project. Go to terminal and run this

$ php artisan serve

Now your project run under 8000 port http://localhost:8000.

Remember this: every time you have to run this server at 8000 port. Because our social login activate under this port

Okay, now open this project in your browser and I think it will working fine. To login this project click login and now click 'facebook' icon and then it will automatically login. In this open source version I was integrate only facebook login.

After login this there are a single problem. You can not access Admin area. Okay its not a big deal. go to your database and click users table edit your user and and change user role to admin and save it. Now logout your account from this project and re-login.

Great, now it will work fine and you can access admin area.

Happy Coding Thank You Nahid Bin Azhar

You might also like...
PHP web based Password Manager for business and personal use.

sysPass - Systems Password Manager Join us in the Gitter chat room: PHP web based Password Manager for business and personal use. AES-256 encryption i

Project of Simple Blog using: HTML, CSS, PHP, MYSQL, and BOOTSTRAP
Project of Simple Blog using: HTML, CSS, PHP, MYSQL, and BOOTSTRAP

Project-Stormwind Project of Simple Blog using: HTML, CSS, PHP, MYSQL, and BOOTSTRAP Functions : A personal blog about Blizzard and their work Main Th

A simple blog project I built when learning Laravel 8
A simple blog project I built when learning Laravel 8

Harmonify Blog Disclaimer: All users data previewed on the image are fake data generated with FakerPHP. Introduction Harmonify Blog is a simple blog p

This is a blog. A project was written in Laravel 8

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

The completed blog demo project from Laravel 8 From Scratch.

Laravel From Scratch Blog Demo Project http://laravelfromscratch.com Installation First clone this repository, install the dependencies, and setup you

Online personal and group chat application using HTML, CSS, JS, PHP,SQL and AJAX that allows users to create own groups, chat
Online personal and group chat application using HTML, CSS, JS, PHP,SQL and AJAX that allows users to create own groups, chat

Online personal and group chat application using HTML, CSS, JS, PHP,SQL and AJAX that allows users to create own groups, chat, make friends, check new notifications and edit functionality. Chat automatically updates using AJAX to allow for real-time chatting with other users collected from the database.

This is a Laravel based Blog post forum.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Personal Knowledge Management. Use branch "minimal change" to deploy as laravel package.

Knowfox Knowfox is my Personal Knowledge Management system. Having been an keen Evernote user since 2012, I finally got around to taking my precious n

Firefly III: a personal finances manager
Firefly III: a personal finances manager

"Firefly III" is a (self-hosted) manager for your personal finances. It can help you keep track of your expenses and income, so you can spend less and save more. Firefly III supports the use of budgets, categories and tags. Using a bunch of external tools, you can import data. It also has many neat financial reports available.

Comments
  • problem SQLSTATE 42S02

    problem SQLSTATE 42S02

    Hi @nahid follow your steps to install, After type php artisan migrate command it's give this issue all the commands like php artisan not work, give this screen , any idea? the .env the file has been modified as indicated in the guide. Thank you for your help ! error

    opened by dukenst2006 3
  • diary in error what about

    diary in error what about

    Swift_TransportException in AbstractSmtpTransport.php line 383: Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required

    in AbstractSmtpTransport.php line 383 at Swift_Transport_AbstractSmtpTransport->_assertResponseCode('530 5.7.1 Authentication required ', array('250')) in AbstractSmtpTransport.php line 281 at Swift_Transport_AbstractSmtpTransport->executeCommand('MAIL FROM:[email protected] ', array('250'), array()) in EsmtpTransport.php line 270 at Swift_Transport_EsmtpTransport->executeCommand('MAIL FROM:[email protected] ', array('250')) in EsmtpTransport.php line 349 at Swift_Transport_EsmtpTransport->_doMailFromCommand('[email protected]') in AbstractSmtpTransport.php line 416 at Swift_Transport_AbstractSmtpTransport->_doMailTransaction(object(Swift_Message), '[email protected]', array('[email protected]'), array()) in AbstractSmtpTransport.php line 444 at Swift_Transport_AbstractSmtpTransport->_sendTo(object(Swift_Message), '[email protected]', array('[email protected]' => 'Magic'), array()) in AbstractSmtpTransport.php line 176 at Swift_Transport_AbstractSmtpTransport->send(object(Swift_Message), array()) in Mailer.php line 85 at Swift_Mailer->send(object(Swift_Message), array()) in Mailer.php line 395 at Mailer->sendSwiftMessage(object(Swift_Message)) in Mailer.php line 181 at Mailer->send('email.new_comment_for_poster', array('comment' => array('comment' => 'faffadfadfafasfdsafafadsfafasfdfasfadsfadsfaf', 'status' => '1', 'diary_id' => '2', 'user_id' => '1', 'updated_at' => '2016-05-18 17:28:34', 'created_at' => '2016-05-18 17:28:34', 'id' => '1', 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), object(Closure)) in Mailer.php line 286 at Mailer->handleQueuedMessage(object(SyncJob), array('view' => 'email.new_comment_for_poster', 'data' => array('comment' => array('comment' => 'faffadfadfafasfdsafafadsfafasfdfasfadsfadsfaf', 'status' => '1', 'diary_id' => '2', 'user_id' => '1', 'updated_at' => '2016-05-18 17:28:34', 'created_at' => '2016-05-18 17:28:34', 'id' => '1', 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), 'callback' => 'C:32:"SuperClosure\SerializableClosure":586:{a:5:{s:4:"code";s:131:"function ($m) use($user) { $m->to($user['email'], $user['name'])->subject("New Comment Was Posted On Your Post | nahid.co"); };";s:7:"context";a:1:{s:4:"user";a:9:{s:2:"id";i:1;s:4:"name";s:5:"Magic";s:5:"email";s:19:"[email protected]";s:5:"image";s:52:"https://avatars.githubusercontent.com/u/10607961?v=3";s:4:"role";s:5:"admin";s:6:"status";i:0;s:6:"visits";i:0;s:10:"created_at";s:19:"2016-05-18 17:17:30";s:10:"updated_at";s:19:"2016-05-18 17:24:04";}}s:7:"binding";N;s:5:"scope";s:43:"App\Listeners\SendMailAllCommentersListener";s:8:"isStatic";b:0;}}')) in Job.php line 129 at Job->resolveAndFire(array('job' => 'mailer@handleQueuedMessage', 'data' => array('view' => 'email.new_comment_for_poster', 'data' => array('comment' => array('comment' => 'faffadfadfafasfdsafafadsfafasfdfasfadsfadsfaf', 'status' => '1', 'diary_id' => '2', 'user_id' => '1', 'updated_at' => '2016-05-18 17:28:34', 'created_at' => '2016-05-18 17:28:34', 'id' => '1', 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), 'callback' => 'C:32:"SuperClosure\SerializableClosure":586:{a:5:{s:4:"code";s:131:"function ($m) use($user) { $m->to($user['email'], $user['name'])->subject("New Comment Was Posted On Your Post | nahid.co"); };";s:7:"context";a:1:{s:4:"user";a:9:{s:2:"id";i:1;s:4:"name";s:5:"Magic";s:5:"email";s:19:"[email protected]";s:5:"image";s:52:"https://avatars.githubusercontent.com/u/10607961?v=3";s:4:"role";s:5:"admin";s:6:"status";i:0;s:6:"visits";i:0;s:10:"created_at";s:19:"2016-05-18 17:17:30";s:10:"updated_at";s:19:"2016-05-18 17:24:04";}}s:7:"binding";N;s:5:"scope";s:43:"App\Listeners\SendMailAllCommentersListener";s:8:"isStatic";b:0;}}'))) in SyncJob.php line 44 at SyncJob->fire() in SyncQueue.php line 27 at SyncQueue->push('mailer@handleQueuedMessage', array('view' => 'email.new_comment_for_poster', 'data' => array('comment' => array('comment' => 'faffadfadfafasfdsafafadsfafasfdfasfadsfadsfaf', 'status' => '1', 'diary_id' => '2', 'user_id' => '1', 'updated_at' => '2016-05-18 17:28:34', 'created_at' => '2016-05-18 17:28:34', 'id' => '1', 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), 'callback' => 'C:32:"SuperClosure\SerializableClosure":586:{a:5:{s:4:"code";s:131:"function ($m) use($user) { $m->to($user['email'], $user['name'])->subject("New Comment Was Posted On Your Post | nahid.co"); };";s:7:"context";a:1:{s:4:"user";a:9:{s:2:"id";i:1;s:4:"name";s:5:"Magic";s:5:"email";s:19:"[email protected]";s:5:"image";s:52:"https://avatars.githubusercontent.com/u/10607961?v=3";s:4:"role";s:5:"admin";s:6:"status";i:0;s:6:"visits";i:0;s:10:"created_at";s:19:"2016-05-18 17:17:30";s:10:"updated_at";s:19:"2016-05-18 17:24:04";}}s:7:"binding";N;s:5:"scope";s:43:"App\Listeners\SendMailAllCommentersListener";s:8:"isStatic";b:0;}}'), null) in Mailer.php line 197 at Mailer->queue('email.new_comment_for_poster', array('comment' => array('comment' => 'faffadfadfafasfdsafafadsfafasfdfasfadsfadsfaf', 'status' => '1', 'diary_id' => '2', 'user_id' => '1', 'updated_at' => '2016-05-18 17:28:34', 'created_at' => '2016-05-18 17:28:34', 'id' => '1', 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), object(Closure)) in compiled.php line 6063 at Facade::__callStatic('queue', array('email.new_comment_for_poster', array('comment' => array('comment' => 'faffadfadfafasfdsafafadsfafasfdfasfadsfadsfaf', 'status' => '1', 'diary_id' => '2', 'user_id' => '1', 'updated_at' => '2016-05-18 17:28:34', 'created_at' => '2016-05-18 17:28:34', 'id' => '1', 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), object(Closure))) in SendMailAllCommentersListener.php line 40 at Mail::queue('email.new_comment_for_poster', array('comment' => array('comment' => 'faffadfadfafasfdsafafadsfafasfdfasfadsfadsfaf', 'status' => '1', 'diary_id' => '2', 'user_id' => '1', 'updated_at' => '2016-05-18 17:28:34', 'created_at' => '2016-05-18 17:28:34', 'id' => '1', 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), 'user' => array('id' => '1', 'name' => 'Magic', 'email' => '[email protected]', 'image' => 'https://avatars.githubusercontent.com/u/10607961?v=3', 'role' => 'admin', 'status' => '0', 'visits' => '0', 'created_at' => '2016-05-18 17:17:30', 'updated_at' => '2016-05-18 17:24:04')), object(Closure)) in SendMailAllCommentersListener.php line 40 at SendMailAllCommentersListener->handle(object(MakeCommentsEvent)) at call_user_func_array(array(object(SendMailAllCommentersListener), 'handle'), array(object(MakeCommentsEvent))) in compiled.php line 9838 at Dispatcher->Illuminate\Events{closure}(object(MakeCommentsEvent)) at call_user_func_array(object(Closure), array(object(MakeCommentsEvent))) in compiled.php line 9783 at Dispatcher->fire(object(MakeCommentsEvent)) in compiled.php line 6059 at Facade::__callStatic('fire', array(object(MakeCommentsEvent))) in DiaryController.php line 83 at Event::fire(object(MakeCommentsEvent)) in DiaryController.php line 83 at DiaryController->postComment(object(CommentsCreateRequest)) at call_user_func_array(array(object(DiaryController), 'postComment'), array(object(CommentsCreateRequest))) in compiled.php line 8899 at Controller->callAction('postComment', array(object(CommentsCreateRequest))) in compiled.php line 8968 at ControllerDispatcher->call(object(DiaryController), object(Route), 'postComment') in compiled.php line 8948 at ControllerDispatcher->Illuminate\Routing{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9619 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9601 at Pipeline->then(object(Closure)) in compiled.php line 8949 at ControllerDispatcher->callWithinStack(object(DiaryController), object(Route), object(Request), 'postComment') in compiled.php line 8934 at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\DiaryController', 'postComment') in compiled.php line 7883 at Route->runWithCustomDispatcher(object(Request)) in compiled.php line 7854 at Route->run(object(Request)) in compiled.php line 7507 at Router->Illuminate\Routing{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9619 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9601 at Pipeline->then(object(Closure)) in compiled.php line 7508 at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 7496 at Router->dispatchToRoute(object(Request)) in compiled.php line 7481 at Router->dispatch(object(Request)) in compiled.php line 2307 at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9619 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 2922 at VerifyCsrfToken->handle(object(Request), object(Closure)) at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9611 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 12962 at ShareErrorsFromSession->handle(object(Request), object(Closure)) at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9611 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 11556 at StartSession->handle(object(Request), object(Closure)) at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9611 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 12699 at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9611 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 12636 at EncryptCookies->handle(object(Request), object(Closure)) at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9611 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 2979 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9611 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in compiled.php line 9601 at Pipeline->then(object(Closure)) in compiled.php line 2254 at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2237 at Kernel->handle(object(Request)) in index.php line 60

    opened by SummerMagic 2
  • while installing composer

    while installing composer

    while installing composer i get this error

    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'Nahid.alien_tagged' doesn't exist (SQL: select alien_tags.id, count(tag_id) as total_tags, alien_tags.tag_name from alien_tagged inner join alien_tags on alien_tagged.tag_id = alien_tags.id group by alien_tagged.tag_id limit 20)

    [PDOException]
    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'Nahid.alien_tagged' doesn't exist

    Script php artisan clear-compiled handling the post-install-cmd event returned with error code 1

    opened by groundermas 1
  • trying login from facebook but gives error

    trying login from facebook but gives error

    cURL error 77: error setting certificate verify locations: CAfile: path_to_cert\cacert.pem CApath: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

    opened by napsterrahul1 0
Owner
Nahid Bin Azhar
Code makes me happy than anything. So I contribute to open source and enjoy happiness.
Nahid Bin Azhar
My personal blog - written in Gatsby

Gatsby's blog starter Kick off your project with this blog boilerplate. This starter ships with the main Gatsby configuration files you might need to

Dwight Watson 2 Jan 8, 2022
A portfolio management system for Laravel.

Turn a Laravel app into a portfolio site in minutes This project is still under construction. Come back soon! Contents API Developing API Larafolio\Mo

Zach Leigh 13 Oct 3, 2022
Create Portfolio websites

Porfolio This repo contains a portfolio that showcases examples of your work along with the usual resume information about your work experience. To vi

Manasi Patil 2 Mar 6, 2022
This repository contains collection of portfolio's .

Welcome to the repository ?? This repository contains collection of portfolio's . You can add your own repository. How to contribute to this repositor

Avinash Singh 86 Dec 22, 2022
HiDomainer One-File Domain Portfolio Script, is a PHP script of only 8kb.

HiDomainer One-File Domain Portfolio Script, is a PHP script of only 8kb. Download Feature 1. PC and Mobile Friendly 2. Data management without page r

HiDomainer.com 1 Mar 2, 2022
Laravel-Blog is a blog application written in Laravel 4.2.

创造不息,交付不止 Introduction Laravel-Blog is a blog project written in Laravel 4.2. Screenshots Article List Page Article composing page Single post page Ad

Summer 192 Dec 15, 2022
Koel is a simple web-based personal audio streaming service written in Vue and Laravel

Koel (also stylized as koel, with a lowercase k) is a simple web-based personal audio streaming service written in Vue on the client side and Laravel on the server side. Targeting web developers, Koel embraces some of the more modern web technologies – CSS grid, audio, and drag-and-drop API to name a few – to do its job.

Koel 14.3k Jan 4, 2023
A simple blog project based on a custom-created MVC framework using PHP & MySQL

A simple blog project based on a custom-created MVC framework using PHP & MySQL. That follows the Facade design pattern.

Samiul Arafah Dhrubo 2 May 28, 2022
A full-featured personal project management tool with task boards.

Dingo Project Management A full-featured personal project management tool with task boards. Installation You can install using the following way: Clon

Zeeshan Ahmad 267 Oct 30, 2022
The classic email sending library for PHP - this is my personal fork, please post issues on the upstream project

PHPMailer - A full-featured email creation and transfer class for PHP Build status: Class Features Probably the world's most popular code for sending

Marcus Bointon 1.5k Dec 5, 2022