When developing PHP applications locally, sometimes the performance is not as great as it could be, especially when working with frameworks such as Laravel or Symphony. One place to start looking to gain some performance is the
realpath_cache_size PHP setting. This setting comes in handy in composer-heavy applications.
This setting basically makes it so PHP doesn't have to look up file paths on every request.
For more information on this setting, and how to tune it consider reading Hayden James's article Set PHP realpath_cache_size "correctly".