Getting started with Laravel 12 Livewire 3: Here continue your roadmap in the development of web applications in Laravel with Livewire

Andres Cruz
eBook
297
Pages
Eligible

About this eBook

Laravel is a fascinating framework, huge and with a somewhat steep learning curve and with multiple options; this book is not for beginners and assumes that you already know how to program in Laravel.

Laravel Livewire takes Laravel development a step further; automating routine processes in very flexible schemes based on components, Livewire components that allow us to communicate client and server in a very simple, efficient and easy way.

Laravel Livewire is not a framework, it is just a layer or scaffolding that adds certain extra features to the framework that we can use to create great applications, with less effort and development time.

Map

We are going to give a brief introduction about Laravel Livewire.

We are going to create our project in Laravel Livewire.

We present the characteristics that a project created in Laravel Livewire has; team management, API Tokens, and authentication, are some of them.

We are going to create a simple CRUD type application and get to know all the elements of Livewire such as handling forms, views and directives through the Livewire components.

We are going to work on the style, improving the created application so that it looks like another Laravel Livewire module.

We are going to learn about the communication between Livewire components based on events; detect changes in properties of the component class from the view and know the Laravel Livewire JavaScript.

We are going to create the CRUD for the posts.

We are going to create filters and search fields for a listing taking advantage of the benefits of Livewire.

We are going to create sort fields for the column listing.

We will get to know everything that Livewire offers us in JavaScript and combine it with other plugins, we will know the hooks in JavaScript, consume properties, functions and use of events.

We are going to learn about some extra features of Laravel Livewire properties, such as customizing the update phase of wire:models, such as the use of computed properties.

We are going to create a simple blog-type application with a list with filters and search and detail fields.

We are going to create a shopping cart in the session and database, for which, we will see communication between components, sending events, toast type plugin to show messages confirming the operation carried out, with listeners of the events from JavaScript.

We are going to show the code of an application created with Alpine.js to create a to do list component.

We are going to adapt the Alpine.js application presented in the previous chapter, to work in conjunction with Livewire.

We will learn how to create unit and integration tests in the application we created previously using PHPUnit.


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

I invite you to visit my website:

desarrollolibre.net

And get to know my work.

About the author

This book was prepared by Andrés Cruz Yoris, Bachelor of Computer Science, with more than 10 years of experience in the development of web applications in general; I work with PHP, Python and client-side technologies such as HTML, JavaScript, CSS, Vue among others; and server-side like Laravel, Flask, Django, and Codeigniter. I am also a developer in Android Studio, xCode and Flutter for the creation of native applications for Android and IOS.

Rate this eBook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Centre instructions to transfer the files to supported eReaders.