tburry / pquery

A jQuery like html dom parser written php.
GNU Lesser General Public License v2.1
135 stars 25 forks source link

Fatal error: Class 'pQueryTestCase' not found #15

Open fonko opened 6 years ago

fonko commented 6 years ago

Fatal error: Class 'pQueryTestCase' not found in /var/www/public/pquery/tests/BasicTest.php on line 3

Im not being able to load your classes, i've used composer but maybe im doing something wrong or messing up something. Let me tell you what i have

Windows 8.1 with vagrant/virtualbox/scotchbox.io (for dev virtualmachine... which is an Ubuntu)

so i go into my virtualmachine (linux) thorugh ssh, then go to public folder (/var/www/public/ ) the default folder for index.php and there i issue: git clone https://github.com/tburry/pquery.git

and then i issue this command : composer require tburry/pquery

after that i try your test files and get those kind of errors (Class not found)

also with the snippet of code you have as example (check index.php attached)

im sure im doing something awfully wrong... can't figure out what, and as a plus im new with composer :(

would you be kind enough to give me some guidance?

index2.txt