Laravel: 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 Laravel 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 at 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. Dashboard
  • 20. Deployment
  • 21. 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; a form to add new purchases; a page to browse purchases, as well as edit and delete them; and a dashboard. We'll also cover deploying your app to the Internet.

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

Source Code