Open sausin opened 4 years ago
The repo is hopefully going to just be a shell for discussions and getting things in order. Once that is done, we can hopefully make it so it could just be manageable changes on the sausin/laravel-ovh
package
We could spin up a Livewire plugin somehow, which would rely on laravel-ovh
package for the Form Post API... This way, if there’s an update to the Livewire interfaces we could just update this package, and keep the base one intact (if no update is required)
If possible, that would actually be good!
I was thinking we can just finalize a list of things, the outline of how everything should work before digging into the code.
I haven't looked enough into livewire from a plugin perspective. Any good examples as a starting point?
There are some “components” made by other developers, however, those are intended to be “extended” for functionality.
For this package, we should look into the “include in your existing component”, like how traits work.
I’ve done some custom traits that extend the functionality of my Livewire components (and they’re reusable!), and Livewire File Upload feature is actually implemented as a Trait as well. Maybe we should look into that sort of thing.
For reference, here is a custom Livewire-select component
Just a quick list of things that the package is intended to do: