R
R
Ruslan Ruslanov2019-08-05 02:37:36
PHP
Ruslan Ruslanov, 2019-08-05 02:37:36

How to connect phpunit 8+ without composer autoloader?

I realized my insignificant knowledge in php, I decided to write my own microframework for learning.
I specifically do not use the autoloader from composer.
I have not written my own yet (due to insignificant knowledge).
Therefore, the following question arose:
how to connect phpunit 8+ without the composer autoloader?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grigory Vasilkov, 2019-08-05
@gzhegow

Yes, he is good, do not refuse. The loader then only searches for classes in files and that's it. No, you will have to require class.php in the loader ... but the eggs in the profile will be the same.
There, under the hood, spl autoload register and a complete list of all files in a cached form, otherwise no magic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question