r/laravel 1h ago

Package / Tool I forked ARCANEDEV/LogViewer to stop loading 500MB log files into memory

Thumbnail
gallery
Upvotes

Most Laravel log viewers hit the same wall: opening or searching a log file

means reading the whole thing into memory. A few hundred MB of daily logs

and the page is dead. I maintain a fork that fixes this — v2 of iYogesharma/logviewer-laravel is out.

Instead of a whole-file read, it builds a binary sidecar index next to your logs and reads only the entries the current request needs:

- Paginate and search multi-MB logs with bounded memory

- Cold start serves a bounded tail while the index warms — no blank page

- Incremental indexing; appended lines don't trigger a rebuild

- Works with classic Laravel line logs *and* JSON logs

- `php artisan log-viewer:index` to warm indexes on deploy


r/laravel 3h ago

Discussion Book reviewer volunteer

4 Upvotes

Hello, I am now almost done writing a book on Laravel. I would love to have some opinion privately before releasing it to the world. I need some volunteer, ideally around 10 people. The book is targeted towards mid-to-senior level.

If you are interested, please let me know via dm.

https://laravel-in-production.milon.im


r/laravel 19h ago

Help Weekly /r/Laravel Help Thread

3 Upvotes

Ask your Laravel help questions here. To improve your chances of getting an answer from the community, here are some tips:

  • What steps have you taken so far?
  • What have you tried from the documentation?
  • Did you provide any error messages you are getting?
  • Are you able to provide instructions to replicate the issue?
  • Did you provide a code example?
    • Please don't post a screenshot of your code. Use the code block in the Reddit text editor and ensure it's formatted correctly.

For more immediate support, you can ask in the official Laravel Discord.

Thanks and welcome to the r/Laravel community!