nette/robot-loader
RobotLoader automatically loads PHP classes, interfaces, and traits from specified directories by scanning files and caching the results. It spares you from manually requiring or registering each class, making it handy for legacy code or small projects without Composer.
setTempDirectory(), matching the naming used in Latte. The old method still works as a deprecated alias, so there is no rush to change anything.rename(); the write is now retried briefly before giving up. Other platforms behave exactly as before.A code quality release that tightens static analysis and cleans up internals.
declare statements across the codebaseimproved phpDoc
compatible with PHP 8.0
compatible with PHP 8.0
compatibility with PHP 8.0
For the details you can have a look at the diff.
getRealPath() can return false (in PHAR)For the details you can have a look at the diff.
For the details you can have a look at the diff.
acquireLock() and better exception messagesFor the details you can have a look at the diff.
saveCache() is atomic, fixed problem on Windows #11For the details you can have a look at the diff.
addDirectory() #17For the details you can have a look at the diff.
refresh()For the details you can have a look at the diff.
By default, RobotLoader reports errors in PHP files by throwing exception ParseError (since PHP 7.0). It can be disabled via $loader->reportParseErrors(false).
For the details you can have a look at the diff.
For the details you can have a look at the diff.
For the details you can have a look at the diff.
saveCache() is atomic #11For the details you can have a look at the diff.
For the details you can have a look at the diff.
For the details you can have a look at the diff.
setTempDirectory(), should be used instead of setCacheStorage()register(), not in rebuild()For the details you can have a look at the diff.
How can I help you explore Laravel packages today?