Packages
class Packages (View source)
Methods
Create a Inphinit\Packages
instance.
Get log
Auto import composer packages
Load ./system/boot/namespaces.php
classes
Load autoload_classmap.php
classes
Load autoload_namespaces.php
classes, used by PSR-0 packages
Load autoload_psr4.php
classes, used by PSR-4 packages
Save imported packages path to file in PHP format
Get libs
Get package version from composer.lock file
Details
at line 29
void
__construct(string $path)
Create a Inphinit\Packages
instance.
at line 43
array
logs()
Get log
at line 53
int
auto()
Auto import composer packages
at line 64
int|bool
inAutoload()
Load ./system/boot/namespaces.php
classes
at line 87
int|bool
classmap()
Load autoload_classmap.php
classes
at line 116
int|bool
psr0()
Load autoload_namespaces.php
classes, used by PSR-0 packages
at line 135
int|bool
psr4()
Load autoload_psr4.php
classes, used by PSR-4 packages
at line 155
bool
save(string $path)
Save imported packages path to file in PHP format
at line 191
array
get()
Get libs
at line 213
static string|null
version(string $name)
Get package version from composer.lock file