Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In the PHP ecosystem, this is done through the PHAR archive.
You can see an example in some phpunit.
Here it seems to be https://www.php.net/manual/ru/function.get-declare... displays a list of classes, I think that you can weaken your build script based on this, just pre-filter
In general, it's better to use the loader itself Composer, I found the getClassMap() method, which displays a list of loaded classes:
<?php
$loader = require_once __DIR__ . '/../vendor/autoload.php';
$loader->getClassMap();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question