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. |
Answered by
danieldevine
Jun 21, 2022
Replies: 1 comment 2 replies
|
Hi, What way are you autoloading composer dependencies in your project? |
2 replies
Answer selected by
danieldevine
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
What way are you autoloading composer dependencies in your project?