Laravel 6.x: Learn By Coding


Laravel is one of the most popular PHP frameworks available today. If you want to build a web app, using Laravel is a smart choice.

But, like with anything, there is a learning curve. This book levels out that learning curve by showing you step-by-step how to use the latest LTS version of Laravel (6.x) to build a sample app.

You'll learn how to add authentication to your site, how to seed your database with random data, and much, much more.

You can buy the book on Amazon.

Table of Contents

  • 1. Introduction
  • 2. Homestead
  • 3. IDE
  • 4. MVC
  • 5. Blade
  • 6. Authentication
  • 7. Layouts
  • 8. Controllers
  • 9. Models
  • 10. Tinker
  • 11. Form
  • 12. Validation
  • 13. Browse
  • 14. Seeding
  • 15. Update
  • 16. Delete
  • 17. Relationships
  • 18. Cleanup
  • 19. Conclusion


This book shows you how to use the Laravel PHP Framework to make a web app. To follow it, you do need to know PHP.

If you don't know PHP, you should read my other book, PHP: Learn By Coding, first. You can buy it here: This book shows you everything you need to use a PHP framework like Laravel. It covers all the basic PHP topics that I gloss over here.

I'm also not going to cover every single part of the framework. This is not a reference book. Use Laravel's website for that: They have excellent documentation.

Instead, I'll show you the most important parts as we build a sample app together. This will be a personal finance app that will have authentication and the ability to create, browse, update, and delete purchases.

Please note that this book is a rewrite of my earlier book Laravel: Learn By Coding, which you can still buy here: That book covered the last long-term support (LTS) version of Laravel (5.5), while this book covers the latest LTS version (6.0).

Finally, I know it can be difficult to read programming books using a Kindle. So I've tried to make it easier for you. You can download the code at our website:

Source Code