atymic/laravel-collection-playground

Server side evaluation

atymic opened this issue · 1 comments

While running the code directly inside the browser is fun (and fast) there are a few major issues:

  • PHP in Browser isn't very stable (memory leaks, etc)
  • Large initial download (~6mb)
  • Only supports PHP/Firefox on desktop

If the playground is popular, I'll look into hosting a server to evaluate the code. This could be used alongside the in browser implementation (for unsupported clients, etc) or replace it entirely.

Hey! I found your repo recently. I am interested in it because I want to take laravel form validation and bring it to the client side. Ideally I would like to write one input validation rule set then have a validator run on submit client side and backend. Do you think enough has changed in the wasm space to make this possible?