Kick off your book project in 3 hours! Live workshop on Zoom. You’ll leave with a real book project, progress on your first chapter, and a clear plan to keep going. Saturday, May 2, 2026. Learn more…

Leanpub Header

Skip to main content

Laravel 13 from scratch: Full Stack web development with Vue 3 and Tailwind CSS

Real Full Stack Web Development with Vue 3, Tailwind CSS, REST API, Role Management with Spatie, and Testing with Pest

This book is for anyone who wants to build their first applications in Laravel 12, this writing offers a step-by-step introduction, knowing the most relevant aspects and focused above all on practice.

Integration with other packages, Vue 3, Oruga UI, Tailwinds.CSS, build Rest Apis, CRUDs and much more.

This book is a translation into English of Laravel 13 desde cero: desarrollo web Full Stack con Vue 3 y Tailwind CSS which was originally written in Spanish

Minimum price

$9.99

$20.00

You pay

$20.00

Author earns

$16.00
$
You can also buy this book with 1 book credit. Get book credits with a Reader Membership or an Organization Membership for your team.
PDF
EPUB
About

About

About the Book

Learn to develop full-stack web applications with Laravel 13, Vue 3, and Tailwind CSS, from installation to production deployment.

Over 24 chapters, you'll build complete CRUD applications, a secure REST API with Sanctum, authentication with Laravel Breeze, roles and permissions with Spatie, and a Vue 3 SPA frontend that consumes your own API.

You'll also see how to improve performance with caching and queuing, write tests with PHPUnit and Pest, and prepare your application for real-world environments.

Map

Chapter 1 - Required Software and Installing the Tools: The necessary software is explained, and its installation to develop in Laravel on Windows with Laragon or Laravel Herd or on MacOS Laravel Herd and MacOS and Linux with Laravel Sail and Docker.

Chapter 2 - Knowing general aspects of Laravel: We will talk about Laravel, we will create a project, we will configure the database, we will know basic aspects of the framework and finally we will know the main element that are the routes.

Chapter 3 - Routes, controllers, and views: We will take the first steps with the routes and the views, to start seeing screens through the browser; we’ll also cover using controllers with views; redirects, directives and blade as template engine.

Chapter 4 - Migrations: We will know the use of migrations, as a central element to be able to create the models, which are the layer that connects to the database, to a particular table; and, to have this table, we need the migrations.

Chapter 5 - MVC and CRUD: We will get to know the MVC, which is the heart of the framework, and we will make a few examples that will help us to continue advancing.

Chapter 6 - CRUD and forms: We will create a simple CRUD app, we will learn to work with the MVC, resource type controllers, lists, pagination, form validations, database access among other related aspects.

Chapter 7 - Session messages and flash: We will know how to send flash type session messages which we will use to confirm CRUD operations and session usage.

Chapter 8 - Routes: This chapter is oriented to learn the use of routes; which in Laravel are very extensible and full of options for groupings, types and options.

Chapter 9 - Authentication with Laravel Fortify (and Breeze): In this chapter, we will create an authentication system and everything that this entails for our application by installing Laravel Fortify with login and registration and creating role-based protection to handle different types of users in specific modules of the application.

Chapter 10 - Introduction to Tailwind CSS and Components: Let's improve our application's design by creating reusable styles for tables, buttons, layout, and more.

Chapter 11 - Common operations in Eloquent (ORM) and Query Builder: In this chapter, we will learn about some common Eloquent operations applied to the database using query builders.

Chapter 12 - Relationships in Laravel: We will see how to handle one-to-one, one-to-many, many-to-many, and polymorphic relationships to reuse models that have the same behavior.

Chapter 13 - Blade and Components in Blade: We will present the use of components in Laravel as a central element for creating a modular application and the use of the Blade template engine.

Chapter 14 - Seeders and Factories: We will learn to generate test data through classes using the seeder system that the framework incorporates.

Chapter 15 - Rest API: We will learn how to create a CRUD type Rest Api and additional methods to perform additional queries. Also we are going to protect the CRUD type Rest Api with Sanctum, using SPA and token authentication.

Chapter 16 - Consume Rest Api from Vue 3: We are going to consume the Rest Api through a CRUD application in Vue 3 using axios requests and web components with Oruga UI; we will also see the process of uploading files. Also we will protect the application in Vue with login required to access its different modules using SPA authentication or Laravel Sanctum tokens.

Chapter 17 - Cache: We are going to learn how to manage the cache, to save access data to improve application performance and avoid bottlenecks with the database.

Chapter 18 - Gate and Policies (Authorization and Authorization): We are going to learn how to manage access policies to certain application modules through Gates and Policies.

Chapter 19 - Roles and Permissions (Spatie): We will see how to manage the permissions and roles of a user to authorize certain parts of the application with a flexible scheme widely used in web applications of all types using Spatie, in this chapter we will learn how to carry out this integration and we will develop a module to manage this permit.

Chapter 20 - General features: In this chapter, we will see how to handle configurations, environment variables, create help files, send emails, logging, collections, Lazy and Eager Loading, mutators and props, queues and jobs and topics of this type that as we discussed before , are fundamental in the development of web applications.

Chapter 21 - Essential packages: In this chapter, we will learn about important packages in Laravel to generate excel, qrs, seo, PayPal, detect mobile navigation among others.

Chapter 22 - AI applied to Laravel: Laravel Boost and Laravel AI: We present the use of AI in Laravel, using the two main packages we have available and how we can use it with other tools like OpenCode.

Chapter 23 - Testing: We will learn how to create unit and integration tests in the Rest Api and the blog application using PHPUnit and Pest.

Chapter 24 - Deployment: We will talk about how you can push your Laravel application to production.

I invite you to visit my website:

desarrollolibre.net

And get to know my work.

Share this book

Categories

This book is a translation into English of Laravel 13 desde cero: desarrollo web Full Stack con Vue 3 y Tailwind CSS which was originally written in Spanish

Author

About the Author

Andrés Cruz Yoris

Andrés Cruz Yoris, Licenciado en Computación, con más de 10 años de experiencia en el desarrollo de aplicaciones web en general; trabajo con PHP, Python y tecnologías del lado del cliente como HTML, JavaScript, CSS, Vue entre otras; y del lado del servidor como Laravel, Flask, Django y Codeigniter. También desarrollo con Android Studio, xCode y Flutter para la creación de aplicaciones nativas para Android e IOS.

Pongo a tú disposición parte de mi aprendizaje, reflejado en cada una de las palabras que componen mis libros sobre el desarrollo de aplicaciones en general.

Translations

Translations

Languages

Contents

Table of Contents

Getting started with Laravel 9

Tweet about the book!

About the Author

Copyright

Chapter 1: Required Software and Installing the Tools

  1. Windows
  2. MacOS and Linux
  3. Composer

Chapter 2: Knowing general aspects of Laravel 9

  1. organization of a project
  2. Create a project in Laravel
  3. Run the app
  4. Getting started with Laravel 9
  5. developer mode
  6. Model View Controller
  7. Knowing the routes
  8. Named routes
  9. Artisan the command line

Chapter 3: Routes, Controllers, and Views

  1. Routes and views
  2. Parameter passing
  3. Redirects
  4. Directives in Laravel for blade (views)
  5. Sort views in folders
  6. Layout or master view
  7. Views and Controllers
  8. case study
  9. CRUD type paths (resource)
  10. Compact function

Chapter 4: Migrations

  1. Migrations
  2. Create a migration
  3. Run the migration
  4. case study
  5. Migration flow

Chapter 5: MVC

  1. case study
  2. foreign relations:

Chapter 6: CRUD

  1. Create
  2. Validate data
  3. case study
  4. Validations in the controller through the request, second way
  5. Validations using a FormRequest class
  6. show form errors
  7. List
  8. Edit
  9. View Fragment for Fields
  10. Previous values
  11. Image Upload
  12. Remove
  13. Detail view

Chapter 7: Flash Messages

  1. case study

Chapter 8: Category CRUD

Chapter 9 : Routes

  1. Parameters
  2. Grouped routes

Chapter 10: Tailwind.css with Laravel Breeze and authentication system

  1. Authentication system
  2. Configure our application with Laravel Breeze
  3. Configure components

Chapter 11: Role Management

  1. case study

Chapter 12: Common Operations in Eloquent

  1. See the sql
  2. joins
  3. Ordination
  4. Nested Where or orWhere
  5. WhereIn and WhereNotInt
  6. get a record
  7. Limit the number of records
  8. Get random records

Chapter 13: Introduction to Components

  1. Initial structure
  2. Anonymous Components: List View
  3. Slot
  4. Components with Classes: Detail View

Chapter 14: Seeders

  1. Generate a seeder:

Chapter 15: Rest APIs

  1. case study

Chapter 16: Authentication for the Rest API

  1. Authentication for a SPA website
  2. Token-Based Authentication

Chapter 17: Consuming the Rest API from a project in Vue 3 with Oruga UI

  1. Add Vue 3 to project in Laravel
  2. Configure project in Vue 3 with Oruga UI
  3. Generate a listing
  4. Install Material Design Icons
  5. Pagination
  6. Routing with Vue Router
  7. Tailwind.css in Vue project with Oruga UI
  8. Confirmation message to delete
  9. Expose and customize Oruga UI CSS variables
  10. Action taken message
  11. Upload files

Get the free Community Edition

You can get the free Community Edition in PDF or EPUB just by sharing your name and email address with the author, or you can just click this link to read a shorter sample online...

 

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...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

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

In fact, authors have earned over $15 million writing, 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