You are 3 days old in PHP and trying Lumen? Do you have a background in Web coding in JAVA or ASP? You don't need PHP Unit. Did you install composer? Can you type php -v and get a version? No one can help you with the kind of information you posted. With a proper PHP install and Composer install, Lumen installs just fine.
Creating new projects with Lumen for novices is a pain in a few rather tender places.
"Get started with Lumen" guide for novices or at least a "Quirks report" will be appreciated. Lumen looks great on the outside but it seems strangely feeble once you try it. Below are some fragments of what I experienced this weekend. I am new to PHP and new to Lumen (so far 3 days on both). Environment: Macbook Pro, El Capiten, PHPStrom11EAP, Lumen (Installed 1.0.1).
A. If the PHP unit is not installed (properly) entire vendor folder comes up empty w/o any suggestion as to why. Later even after PHPUnit is installed and added to the project, the paths to tests are not properly auto configured leading to messages like: Class "PHPUnit_Extensions_RepeatedTest" does not extend PHPUnit_Framework_TestCase.
B. Missing or broken test workspaces Monolog; Doctrine/Tests; FastRouter/Dispatcher are missing from autoload_namespaces.php. I had to study the whole test case concept before I created them there. FastRouter/Dispatcher does not have the proper folder structure (FastRoute folder is missing). I had to create it inside vendor/nikic
C. Unsafe code inside the RoutesRequests.php When you attempt to debug via PHPStorm11EAP IDE the the $_SERVER doesn't have REQUEST_METHOD and REQUEST_URI which causes crash at getMethod and getPathInfo. I was forced to change the code in the very framework to make it safer and allow debugging. Example: from: return $_SERVER['REQUEST_METHOD'] to: return isset($_SERVER['REQUEST_METHOD'])? $_SERVER['REQUEST_METHOD']: 'GET';
The only good part so far: It forced me to learn the whole frkn framework in 3 days. And laracasts ROCKS.
Please or to participate in this conversation.