Composer-Preload icon indicating copy to clipboard operation
Composer-Preload copied to clipboard

Preload your sweet sweet code to opcache with a composer command, making your code faster to run.

Results 4 Composer-Preload issues
Sort by recently updated
recently updated
newest added

```Deprecated: Return type of Ayesh\ComposerPreload\PreloadList::getIterator(): iterable should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice```

Deprecation notice in php 8.1: ``` Deprecation Notice: Return type of Ayesh\ComposerPreload\PreloadList::getIterator(): iterable should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress...

If you have symfony/console 5.x installed globally/for composer, then you get the following error: Fatal error: Uncaught TypeError: Return value of "Ayesh\ComposerPreload\Composer\Command\PreloadCommand::execute()" must be of the type int, "null" returned....