The Slim Framework support forum has moved to http://discourse.slimframework.com. This Tender forum is no longer maintained or monitored.

Fatal error: Class 'Slim\Helper\Set' not found

stevan314's Avatar

stevan314

27 Jul, 2015 06:36 PM

I'm trying to make a simple application with Slim, here is my code

$app = new \Slim\Slim(array( 'view' => new \Slim\Views\Twig() ));

    $view = $app->view();
    $view->parserOptions = array(
        'debug' => true,
    );
    $view->parserExtensions = array(
        new \Slim\Views\TwigExtension()
    );

    $view->parserExtensions = array(
        new Twig_Extension_Debug()
    );

PS

I'm new to Slim.

  1. Support Staff 1 Posted by Andrew Smith on 29 Jul, 2015 10:27 AM

    Andrew Smith's Avatar

    Are you loading Slim manually or using Composer? we recommend you use Composer to get the best usage of Slim.

  2. 2 Posted by stevan314 on 29 Jul, 2015 12:18 PM

    stevan314's Avatar

    Yes sir, I'm using Composer.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac