Create a a Personal Blog with laravel 5.2

In this tutorial, we’ll code a simple personal blog with Laravel. The Tutorial is Updated to Laravel 5.2 So , We’ll also cover Laravel’s built-in authentication, paginate mechanism, and named routes. We’ll elaborate some rapid development methods, which come with Laravel, such as creating route URLs. The following topics will be covered in this chapter:

  • Creating and migrating the posts database
  • Creating a posts model
  • Creating and migrating the authors database
  • Creating a members-only area
  • Saving a blog post
  • Assigning blog posts to users
  • Listing articles
  • Paginating the content

 

Recommended :  Part 1 - A complete guide for wordpress Plugin Development

About the author

Deven Rathore

I'm Deven Rathore, a multidisciplinary & self-taught designer with 3 years of experience. I'm passionate about technology, music, coffee, traveling and everything visually stimulating. Constantly learning and experiencing new things.

  • Erkan TAYLAN

    can you update `artisian` to `artisan`

  • Erkan TAYLAN

    when i create migration with your command i get this error: (it gives after `php artisan migrate`)
    SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘laravel_blog.posts’ doesn’t exist
    i reset everything and change to this command:
    php artisan make:migration create_posts_table –create=”posts”
    and it worked

  • Erkan TAYLAN

    /4 You say create file named “Posts.php” but your class name “Post”. I’m new at laravel and this confuses me

  • Christopher Shaw

    Tutorial does not work and no support given, assuming dead.

  • Thanks for sharing but tutorial is really tricky. I have done changes and then implement your steps.
    Thanks
    Kathy
    Laravel development Company

Pin It on Pinterest

Shares