NewYour coding agent can read the release notes before it upgrades.Set up the MCP server β
Packagist
Packagist, #876 most downloaded on Packagist
π Nette RobotLoader: autoloads every class, interface, trait and enum in your directories, with no PSR-4 and no naming rules, and remembers where it found them.
Latest stable
v4.1.4
Last release 28 days ago
25 Oct 2026
Ships fairly regularly
a new release about every 6 months
Most releases are documented
notes for 37 of 45 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
45 releases Β· first in 2014
Drag across the ruler to compare, or tap a release to open it.
RobotLoader is ready for PHP 8.6
setCacheDirectory() replaces setTempDirectory() , matching the naming used in Latte. The old method still works as a deprecated alias, so there is noβ¦
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.Your coding agent can read these notes before it upgrades. Set up the MCP server β
A code quality release that tightens static analysis and cleans up internals.
A code quality release that tightens static analysis and cleans up internals.
declare statements across the codebaseNothing published for this version
optimized global function calls
support for PHP 8.4
checks whether temp directory is absolute
support for PHP 8.3 fixed parser #28 removed Nette\SmartObject
renamed getCacheKey() -> generateCacheKey() (BC break)
refactoring support for PHP 8.2
added support for PHP 8.1 enum #23
uses realpath() for added directories
fixed buggy behavior after 788ab3ec
getRealPath() can return false (in PHAR)
getRealPath() can return false (in PHAR)For the details you can have a look at the diff.
Loads and builds cache on demand
For the details you can have a look at the diff.
Nothing published for this version
Nothing published for this version
fixed renaming on windows, when it is read at the same time #11
acquireLock() and better exception messagesFor the details you can have a look at the diff.
saveCache() is atomic, fixed problem on Windows #11
saveCache() is atomic, fixed problem on Windows #11For the details you can have a look at the diff.
$this is not available in loaded file
addDirectory() #17For the details you can have a look at the diff.
deprecated support for addDirectory($array) and excludeDirectory($array) (BC break)
Nothing published for this version
Nothing published for this version
For the details you can have a look at the diff.
For the details you can have a look at the diff.
readme: added info about non-autoloading usage
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->reportParseError
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.
Nothing published for this version
Nothing published for this version
RobotLoader: fixed exclusion when scanned dir contains .. #13
For the details you can have a look at the diff.
throws exception when is unable to create temp directory
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.
coding style: fixes, lowercase true/false/null
For the details you can have a look at the diff.
removed setCacheStorage() and dependency on nette/caching (BC break)
Nothing published for this version
throws exception when is unable to create temp directory
For the details you can have a look at the diff.
coding style: fixes, lowercase true/false/null
For the details you can have a look at the diff.
added setTempDirectory(), should be used instead of setCacheStorage()
setTempDirectory(), should be used instead of setCacheStorage()register(), not in rebuild()For the details you can have a look at the diff.
$refreshed is set in rebuildCallback()
setAutoRefresh()rebuildCallback()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.
For the details you can have a look at the diff.
For the details you can have a look at the diff.
travis: migrating to container-based infrastructure
For the details you can have a look at the diff.
added support for loading from Phar
travis: migrating to container-based infrastructure
For the details you can have a look at the diff.
Ignores ClassName::class syntax #1
For the details you can have a look at the diff.
The first standalone release. For more information see readme.md.
The first standalone release. For more information see readme.md.
One column per quarter.