We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon module skeleton

I have some problem in phalcon module skeleton.

In the file index.php has the code below, but there is not this folder in the project.

require_once APPLICATION_PATH . "/../vendor/autoload.php";

I get this error.

PHP Fatal error: require_once(): Failed opening required '/home/fabricio/Public/project/application/../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/fabricio/Public/project/public/index.php on line 11



34.6k
Accepted
answer

Did you install dependencies with composer?

cd project
composer install

I didn't. I will try. Thanks.