Answer the question
In order to leave comments, you need to log in
Is it possible to use composer in this case?
Until now, I wrote my own code without using someone else's. Of course, this is time consuming, but it was enough for my needs. Decided to try using composer. Previously, to ensure autoloading of classes, I used a file in the root of the project, which contained the following code:
set_include_path(__DIR__.'/../classes/');
spl_autoload_extensions('.php');
spl_autoload_register();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question