Getting started with Laravel 11, master the most popular PHP framework
$12.00
Minimum price
$30.00
Suggested price

Getting started with Laravel 11, master the most popular PHP framework

Here continues your roadmap in the development of web applications in PHP with Laravel + Rest Api and Vue 3 Full Sack

About the Book

The book is being updated from version 10 to 11 as part of my commitment to the reader to provide updated and current content, and I have migrated the first chapters and I am currently in this process.

This book is for anyone who wants to build their first applications in Laravel 11, this writing offers a step-by-step introduction to the framework, knowing the most relevant aspects of it and is focused above all on practice; it is assumed that the reader has knowledge and has developed PHP and related language technologies, such as JavaScript, HTML and CSS and even similar frameworks; Remember that to use any framework, you have to have the bases that support it, that is, its programming language.

Map

This book has a total of 23 chapters, it is recommended that you read in the order in which they are arranged and as we explain the components of the framework, go directly to the practice, replicate, test and modify the codes that we show in this book.

  1. Explains what is the necessary software, and its installation to develop in Laravel on Windows with Laragon or on Mac and Linux with Laravel Sail and Docker.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. We will know how to send flash type session messages which we will use to confirm CRUD operations.
  8. This chapter is reinforcement, in which we will create a CRUD for the categories in which we have to use everything learned so far.
  9. 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.
  10. In this chapter, we are going to create an authentication system and all that this entails for our application by installing Laravel Breeze, which also configures Tailwind.css in the project and Alpine.js.
  11. We are going to expand the scheme provided by Laravel Breeze for authentication, creating a protection based on roles, to handle different types of users in specific modules of the application.
  12. In this chapter, we will learn about some common Eloquent operations applied to the database using query builders.
  13. We are going to introduce the use of components in Laravel as a central element to create a modular application.
  14. We will learn how to generate test data using classes.
  15. We will learn how to create a CRUD type Rest Api and additional methods to perform additional queries.
  16. We are going to protect the CRUD type Rest Api with Sanctum, using SPA and token authentication.
  17. We are going to consume the Rest Api through a CRUD type application in Vue 3 using axios requests and web components with Oruga UI; we will also see the process of uploading files.
  18. We will learn how to configure Browsersync with Laravel to do automatic application reloads.
  19. We will protect the application in Vue with login required to access its different modules using SPA authentication or Laravel Sanctum tokens.
  20. We are going to learn how to manage the cache, to save access data to improve application performance and avoid bottlenecks with the database.
  21. We are going to learn how to manage access policies to certain application modules through Gates and Policies.
  22. We will see how to handle polymorphism relationships to reuse models that have the same behavior.
  23. We will see how to manage the permissions and roles of a user to authorize certain parts of the application with a flexible scheme and widely used in web applications of all kinds using Spatie, in this chapter we will learn how to perform this integration and we will develop a module to manage this permissions.

By the end of the book, you will have the knowledge to create any basic application with the framework and know more than just the basics of it.

I invite you to visit my website:

desarrollolibre.net

And get to know my work.

 

This book is a translation into English of Primeros pasos con Laravel 11, domina las bases del framework PHP más famoso which was originally written in Spanish.

Translations

About the Author

andres
andres

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.

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