A Collection of Laravel Tutorials (The Book + Blog Posts)
Minimum price
Suggested price

A Collection of Laravel Tutorials

About the Book

A programmer guides an another programmer to build stuff.

This book represents my two year effort to teach others how to build web sites and web applications using Laravel framework. It is a great starting point if you want to jump straight to the thing that interests you.

All tutorials in this book come with a working code repository on GitHub. Throughout the whole book you will find tips to expand your knowledge on a topic. Each chapter comes with a commit that shows the changes that have been made in it. No need to read the whole book. Find a tutorial that interests you and start reading.

  • Building and documenting an API with Laravel
  • Most popular tutorial on JWT for Lumen
  • Homestead or Laragon, pick one and start building
  • Testing with Codeception on Laravel and Lumen

Forms and Validation

Learn how to create and validate forms. Includes tutorials on validating form arrays and different ways of validating data.

Compiling Frontend Assets

Learn how to use Laravel Mix to compile frontend assets. Also, learn how to use Laravel Mix or Laravel Elixir without Laravel.

Mulitilingual Web Applications

Learn how to create multilingual web application with Laravel. From simple text localization to database model translations.

Deployment with Envoy

Learn everything about Laravel Envoy with practical examples. There is also a tutorial on deploying a Laravel app from GitHub to Heroku.

Database and Eloquent ORM

Learn all about pagination presenters and how to paginate a collection of different models. Also, learn different ways of deleting records.

Server Administration

For the brave, there are a couple of tutorials on installing Nginx, PHP7, obtaining certificates with Let's encrypt and bash scripting.

  • Share this book

  • Categories

    • Laravel
    • PHP
    • Computers and Programming
    • APIs
    • API Design
    • Web Development
    • Testing

About the Author

Mario Bašić
Mario Bašić

Full stack web developer from Croatia, specialized in Laravel framework. Author of the book: “A Collection of Laravel Tutorials”, creator of open-source Laravel packages, and a father.


The Book

You get the book with all the tutorials inside.


  • extras
    Laravelista repositories

    This zip file contains all repositories mentioned in this book. The repositories were previously hosted on GitHub.

  • PDF

  • EPUB

  • WEB

  • English

Minimum price
Suggested price
The Book + Blog Posts

You get the book with all the tutorials inside, plus a smaller book that contains all blog posts that were published on Laravelista from 2014 to 2018.


  • extras
    Laravelista repositories

    This zip file contains all repositories mentioned in this book. The repositories were previously hosted on GitHub.

  • PDF

  • EPUB

  • WEB

  • English

Minimum price
Suggested price

Reader Testimonials

Marcel Pow
Marcel Pow

Clear and Easy

The book is clear and easy to understand, I found some useful stuff like setting up Laravel on shared hosting, RSS, and sitemap.

Table of Contents

    • About the Author
    • About the Book
  • Getting Started
    • Elementary Laravel
    • Laravel on Windows with Homestead
    • Laravel on Windows with Laragon
    • Configure Laravel 5 for Shared Hosting
  • The HTTP Layer
    • Handling Nested Resources
    • Route Caching in Laravel
    • Laravel Forms & HTML
    • Different ways of validating requests
    • Validating Form Arrays
    • Creating Custom Validation Rules
  • Frontend: Compiling Assets
    • Sublimely Magnificent Laravel Mix
    • Laravel Mix Without Laravel
    • Laravel Elixir Without Laravel
  • General Topics
    • Sitemap for better SEO
    • RSS feed for news readers
    • Newsletter subscription with MailChimp
    • PHPUnit Code Coverage Analysis
    • Creating a Sitemap with Bard 2.0
    • Bard 2.0 and Laravel
    • Multilingual Web Application with Laravel
  • API Development
    • Laravel API 101
    • Write better API documentation with API Blueprint
  • Database & Eloquent ORM
    • Paginating a collection of different models
    • Dropping a composite primary key on a pivot table
    • Understanding Pagination Presenters
  • Testing
    • Laravel 5 with Codeception
    • Lumen 5 with Codeception
  • Deployment
    • Deploy Laravel with Envoy
    • Advanced Laravel Envoy
    • Deploying a Laravel App from GitHub to Heroku
  • Server Administration
    • Bash Scripting Introduction
    • Upgrade to PHP 7 on Ubuntu 14.04
    • Secure Nginx with Let’s Encrypt on Ubuntu 14.04
    • Using SSH to execute commands on a remote server
  • Extras
    • JSON Web Token Authentication for Lumen REBOOT
    • What is a canonical tag?
    • Loading your own fork of a third party library
    • The End

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub