laravel-lang-cache
Make your Laravel translations load faster by caching them, like config and routes. Up to 1,600 times faster with OPcache. Works with Laravel 10-13
What XERJ indexed
Snapshot
The whole repository at commit 7553c14c12 (2026-10-12). main is 3 commits ahead.
Selected work

“Cache each locale in its own file, with a serialized copy for when OP…”. 8 files, 349 lines in tests, src, benchmark.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-16. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
cachei18nlaravellaravel-packagelocalizationperformancephptranslation
Example questions
- How does laravel-lang-cache implement cache?
- What does benchmark do in laravel-lang-cache?
- Show the i18n code in laravel-lang-cache.
Inside the indexed corpus
- 16 files, 41.3 KB in total, about 2.6 KB per file.
- The selected commit changed 8 of those files (50.0%).
- On GitHub since 2026-10-12, last push 2026-10-12, 6 commits on main.
- The pin is 3 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for sajjadhossainshohag/laravel-lang-cache on 2026-10-31, and the LICENSE file at commit 7553c14c12 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Sajjad Hossain Shohag (@sajjadhossainshohag) has 1 selected repository on the hub.
Using XERJ with laravel-lang-cache
- Audit a PHP codebase with an index, not grep PHP is 100% of the code by size.
- Search a SQL dump without restoring it The hub files it under Databases and storage engines.
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones sajjadhossainshohag/laravel-lang-cache at the pinned commit and indexes it on your machine.
Search the GitHub repository sajjadhossainshohag/laravel-lang-cache with XERJ (https://hub.xerj.org/corpus/sajjadhossainshohag--laravel-lang-cache). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/sajjadhossainshohag/laravel-lang-cache laravel-lang-cache && git -C laravel-lang-cache checkout 7553c14c128511e2ab925a1488d97f953a35aad7 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./laravel-lang-cache --url http://127.0.0.1:9200 --prefix laravel-lang-cache --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Sajjad Hossain ShohagDatabases and storage engines corporamozilla-l10n-docstextlint-rule-preset-jtf-stylemoztw-styleguidesiazaran/smart-cachefklavyenet/webblocks-cmsalbertoarena/laravel-truss
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.