Bird Elephant chokes on “use class” command #38
-
Hello, my script is choking on the first statement “use Coderjerk\BirdElephant\BirdElephant;”. I did install composer and require coderjerk/bird-elephant. Here is the error I get: PHP Fatal error: Uncaught Error: Class “Coderjerk\BirdElephant\BirdElephant” not found in C:\PHP\script.txt:18 I tried installing git and cloning the github repository into various subdirectories within my C:\PHP (Coderjerk, Coderjerk\BirdElephant, etc) but it still cannot find/recognize the class. What should I do? I am a rank beginner in PHP so I am clueless here. If it helps, I am doing this through a command prompt in Windows, not Linux. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, What way are you autoloading composer dependencies in your project? |
Beta Was this translation helpful? Give feedback.
Hi,
What way are you autoloading composer dependencies in your project?