by Devin Yang
(This article was automatically translated.)

Published - 1 year ago ( Updated - 1 year ago )

Livewire is a full-stack framework for the Laravel framework.
It was the first time I wrote code, and he was probably the one who was able to write and marvel at the magic.
My colleague also marveled while writing after being pushed by me.
When I first learned Vue, I was not so surprised by him.

This article introduces how fun Livewire is through the simple operation I recorded.
Imagine that components can be reused, the back-end PHP content changes, the front-end screen does not need to be completely reloaded,
PHP variables can be directly bound to the front-end screen,

There are many more The powerful functions are not introduced in this film, so I leave it to everyone to study by themselves.

Here, I share how to upload files with Livewire through this short video. This is not a teaching video, but I believe that everyone can Google the relevant instructions for the code in the video.
Actually, there are not many things, because it is really too simple:p

https://youtu.be/JPiFGYLn5po

 

 



 

Tags: laravel laravel livewire

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


laravel,woops

Laravel 5.5 Woops is back, let's check it out.

Woops is a framework for PHP error handling. It was preloaded in Laravel 4, but it was removed in Laravel 5.0, and now 5.5 is back.... Some features of Whoops include: - Flexible, stack-based error handling - No dependencies are required to use the current stand-alone library - Simple API for handling exceptions, tracking frames and their data -Include a stunning error page within your web application - Includes the ability to open referenced files directly in editors and IDEs - Includes handlers for different response formats (JSON, XML, SOAP) -Easy to extend and integrate with existing libraries - Clean, well structured and proven generation

dlaravel

How to automatically detect and update the certificate issued by let's encrypt through getssl

It's really great that let's encrypt provides free certificates. However, is it a bit troublesome to update the certificate every three months? This article introduces how to generate multi-domain SAN certificate settings through getssl, and schedule automatic certificate renewal. It's very simple, just six steps to get it done.

laravel,Laravel security

Lock IP in Laravel debug mode

Laravel's debugging mode is quite rich. Laravel's official website has a reminder that you can set APP_DEBUG to true for local development, but in the production environment, this value must always be False.