PHP-SQL-Parser icon indicating copy to clipboard operation
PHP-SQL-Parser copied to clipboard

Can

Open romettm opened this issue 9 years ago • 2 comments

When I try to run it old fashioned way by including "PHPSQLParser/PHPSQLParser.php" I get Fatal error: Class 'PHPSQLParser\processors\DefaultProcessor' not found

When I try to run it like examples/exmaple.php by including vendor/autoload.php then theres no autoload.php

I see there's a readme in /vendor, something about installing composer but I have no way installing 3rd party software.

Can somebody help me with these problems?

romettm avatar Mar 29 '16 14:03 romettm

If you can't install 3rd party software on server, so my advice is install composer locally and then install sql parser to your computer, then just upload downloaded package on server. But then you have to create some autoloading script, which will map all files in package to your application. Because that's what composer do.

bednic avatar Aug 11 '16 14:08 bednic

install instructions don't work for me either

byte-opps avatar Oct 09 '23 15:10 byte-opps