mirror of
https://github.com/archtechx/livewire-access.git
synced 2025-12-12 12:24:03 +00:00
restructure readme
This commit is contained in:
parent
0b9847f118
commit
597f19528e
1 changed files with 1 additions and 3 deletions
|
|
@ -17,9 +17,7 @@ Sometimes, you may want allow access to a component's property in PHP — outsid
|
||||||
|
|
||||||
Other times, you may simply want more assurance than Livewire provides out of the box. The `WithExplicitAccess` trait is made for that. It disables all frontend access, and requires you to manually enable it on specific properties/methods.
|
Other times, you may simply want more assurance than Livewire provides out of the box. The `WithExplicitAccess` trait is made for that. It disables all frontend access, and requires you to manually enable it on specific properties/methods.
|
||||||
|
|
||||||
The second option is recommended, because it provides the most security benefits. Accidentally making methods `public` is common, and it can cause security issues.
|
The second option is recommended, because it provides the most security benefits. Accidentally making methods `public` is common, and it can cause security issues. Disabling implicit access can be especially useful on teams with junior engineers who don't yet have a full understanding of Livewire's internals, but can be very productive with it.
|
||||||
|
|
||||||
It especially useful for teams with junior engineers who don't yet have a full understanding of Livewire's internals, but can be very productive with it.
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue