Tutorials , code & Inspiration

Create a a Personal Blog with laravel 5.2

5

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

 

prevChapter 1 of 11

5 Comments
  1. Erkan TAYLAN says

    can you update `artisian` to `artisan`

  2. Erkan TAYLAN says

    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

  3. Erkan TAYLAN says

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

  4. Christopher Shaw says

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

  5. Kathy Johnson says

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

Leave A Reply

Your email address will not be published.

Pin It on Pinterest

Shares