Kairee Wu

Results 13 comments of Kairee Wu

> Can you try to download it directly from GitHub? Is it being blocked by the Chinese firewall? It is not blocked by GFW of China, but it's very slow...

My recommendations: 1. Download the binary from a mirror URL instead of github release. The problem is S3 storage used by github. 2. You can support an environment variable like...

@wolfy-j You can contact "jsdelivr", they can provide free CDN for spiral's binary. It works perfectly both inside and outside China. Their CDN wat provided by MaxCDN, Cloudflare, Fastly and...

> I downloaded through some tools and it can be used normally at present, but the current situation is very unfriendly to most Chinese users you can use https://github.com/nkbai/githubdns to...

The problem is: If you don't use `SETTERS` in filters, both validator and filter will throw errors to correct values even user input correct values. But if you use `SETTERS`...

1. most of the cast (intval, doubleval) will cast invalid values to 0, boolval will cast 'true', 'false' to true. 2. When user input an invalid value, you should tell...

I think it's not a problem for users from Symfony. They may have used to such kind of validation rules. However, it may confuse users from Laravel and other frameworks....

What do you think is wrong with `filter_var`, so you give up using it instead of `is_function` and `ctype_function`? For example, `$isInt = filter_var($value, FILTER_VALIDATE_INT) !== false)` and `$isBool =...

I think the main question is where the values from. If the source is another system, component or inner code, it's very nice to check type strict. If the main...

> I'm not a user of laravel validation, but does it assume that every value scalar string? You can see it's validation docs [here](https://laravel.com/docs/7.x/validation). you can do validation like this:...