Results 9 comments of vilords

Hi, Still have the same issue, even after I upgraded to the latest libs (workerman, webman-framework, and even webman itself). Anyway, seems PHP 8.1 throws errors when using NULL values...

If you'll try to grab an empty get variable in a controller: $my_var = $request->get('query_var'); That's strictly an 8.1 issue, 8.0 doesn't throw errors when NULL variable used in parse_str...

Great :) Thank you On Sun, Dec 5, 2021, 04:23 walkor ***@***.***> wrote: > Creating your own view class is a good way. > > *Create app/support/Twig.php* > >

Hi, Just updated my webman, but this new way the extensions do not get recognized: (/config/view.php) use support\view\Raw; use support\view\Twig; use support\view\Blade; use support\view\ThinkPHP; return [ 'handler' => Twig::class, 'options'...

ok, now it seems to be working: 'extension' => function (\Twig\Environment $twig) { Not working with Twig\Environment but working with \Twig\Environment

Not sure if it's correct to do it like this (please confirm): added app\support\bootstrap\Categories::class to bootstrap created Categories.php in /app/support/bootstrap where I'll use the following: namespace app\support\bootstrap; use Webman\Bootstrap; use...

Great! And this is set for all users, globally, right?

Thank you! Appreciate your speedy responses. Keep it up. Big fan of webman