setTempDirectory(__DIR__ . '/temp'); $configurator->setLogDirectory(__DIR__ . '/temp'); // Other values $configurator->setTimeZone('Europe/Amsterdam'); // Add config folder $configurator->addDirectory(dirname(__FILE__), 'config'); // Add components $configurator->addComponent(new \FuzeWorks\WebComponent()); $configurator->addComponent(new \FuzeWorks\ObjectStorage\ObjectStorageComponent()); $configurator->addComponent(new \FuzeWorks\DatabaseComponent()); $configurator->addComponent(new \FuzeWorks\LayoutComponent()); $configurator->addComponent(new \FuzeWorks\TracyComponent()); // Build the container $container = $configurator->createContainer(); // And add the library $container->libraries->addLibraryClass("forms", \FuzeWorks\Forms\Forms::class); $container->plugins->addPlugin(new \FuzeWorks\Authentication\AuthenticationPlugin()); return $container;