Slim-Views icon indicating copy to clipboard operation
Slim-Views copied to clipboard

Slim Framework 2 custom views

Results 17 Slim-Views issues
Sort by recently updated
recently updated
newest added

Hi. I have a problem. Why does not it work redirect? ``` $app = new \Slim\App(); $app->get('/', function ($request, $response, $args) { return $response->withRedirect($this->router->pathFor('name'));//not work }); $app->get('/auth/signup', function ($request, $response,...

What's the difference between baseUrl() and currentUrl() ? If I'm on the page `http://www.iubar.it/index.php`, how can I get the address `http://www.iubar.it` (wihout the page name) ??? Thank you in advance...

Are there plans to make SlimViews compatible with Slim 3.0?

Since Twig 1.21 (https://github.com/twigphp/Twig/commit/cc980282dee1964d867b70666ec7d2183d87ea4c) using Twig_Loaders is deprecated, and triggers a silent error using @ supressor. However, certain middlewares such as Whoops will still stop the normal flow. This PR...

Some projects need to use SmartyBC class instead of Smarty; I've just added a parameter to change default class name.

the new version you get with composer require twig/twig changes he way autoloader works and deletes some classes so this slim views don't work any more with it.

Hi I need to set the TwigEnviroment (or better the TraceableTwigEnvironment) in Slim. I'm trying to integrate your project with the DebugBar project. Any advice ? Regards Andrea

Hello I use your code with the Twig view. When I write: $this->app->render(); $this->app->log->debug('Writing a log message after page rendering.'); I could read the log message in the debug bar,...

the extension dir address is confusing