clockwork
glow
Our great sponsors
clockwork | glow | |
---|---|---|
30 | 60 | |
5,490 | 14,674 | |
- | 2.3% | |
8.4 | 6.9 | |
6 days ago | 13 days ago | |
PHP | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
clockwork
-
Laravel Debugger
Either Clockwork or Debugbar.
- Need to get good performance on request
-
Profiling Laravel application
https://underground.works/clockwork/ is super easy to set up and really good.
-
API Post Route slow
Get clockwork (https://github.com/itsgoingd/clockwork) so you can understand where in (or outside) your application you are getting an issue.
- How to read enterprise web applications built on Laravel8?
-
Debugbar skipping trace
Give https://github.com/itsgoingd/clockwork a go - I made the switch a long time ago, haven't look back
-
Are there any lesser-known tools you use a lot in your work?
90% of what I do is Laravel work and for every project, I use Clockwork. It puts all of the stuff below into a tab in Chrome's DevTools.
-
How to profile your PHP applications with Xdebug
Funny timing — I just spent 4 hours this morning comparing Xdebug, Blackfire, and New Relic.
After feeling like my SaaS application is starting to hit some scaling bottlenecks, I had a play with all 3 services to try and get some insight for a real-world application.
A brief summary:
- Xdebug: Slow. Fiddly to set up. Fine for a development environment and day-to-day profiling, but things like Clockwork[0] are, practically speaking, far more insightful.
- Blackfire: Terrible UX. Difficult setup process. Their free plan is almost impossible to evaluate as it only shows you glorified stack traces, most of which are littered with vendor and framework files. I didn’t want to commit to paying a full year of their standard plan (no monthly payment unless options, unless you go for the highest tiers), so I happily uninstalled and moved on.
- New Relic: wow… one command and a server reboot later, and I’m seeing performance profiling, consolidated dashboards, error logging, MariaDB and Redis queries, frontend performance, and server capacities - with REAL data, on production! I’m very, very impressed. And it’s free for a single user…?!
[0] Clockwork: https://underground.works/clockwork/
-
Performance of Relationship queries - Eloquent vs. Collection - Impact on performance
Clockwork is a must-have for identifying hidden performance bottlenecks. It’s like DebugBar, but on steroids. Also seems to be kinda under-the-radar, it should definitely be more widely known :)
-
Laravel Query Log
You might want to have a look at clockwork, it has a query logger and so much more.
glow
-
Essential Command Line Tools for Developers
To get started, install Mods and check out some of the examples below. Since Mods has built-in Markdown formatting, you may also want to grab Glow to give the output some pizzazz.
- Ask HN: How do you synchronise your notes?
-
Not trying to start a rumble, but why neovim
I recently started using markdown in neovim (with an LSP) along with https://github.com/charmbracelet/glow to view markdown / navigate. Does everything I used to use Obsidian for minus the links / graph functionality which I don't really need and it's pretty snappy on an old Lenovo. Very customizable as well.
- How would you read your files if Obsidian disappeared?
-
Show HN: GPT-engineer – platform for devs to tinker with AI programming tools
Yup, those seem to be the key challenges. I've been making good progress on them, but there's plenty more work to do!
On the topic of "AI-generated PRs", I used my tool to file a PR to the `glow` CLI tool. I don't know the go language, so I had aider make the changes to glow.
https://github.com/charmbracelet/glow/pull/502
I've also been able solve a couple of github issues that were file by users by just pasting the issue into my tool... it fixed itself. Links below:
https://github.com/paul-gauthier/aider/issues/13#issuecommen...
https://github.com/paul-gauthier/aider/issues/5#issuecomment...
- FLiPN-FLaNK Stack Weekly May 8 2023
-
How to host your own Golang based Git server for the command line.
I'm personally also quite fond of Glow. I use it pretty much every time I touch a markdown file.
-
Show HN: Frogmouth – A Markdown browser for your terminal
Nice idea! I’m excited to check it out. I write a lot of docs in Markdown and this could be a great way to browse them.
Out of curiosity, have you seen glow[0]?
-
Recommendations on file/dir/module structure, common dependencies, and/or anti-patterns for writing CLI tool in Rust
Charm's Glow is a joy to use, a good example of having the Charm's Bubbletea usage - but from the code perspective, it's a bit difficult to navigate as many code paths are put in the same package
-
AI - a commandline ChatGPT client in with conversation/completion support
thanks! Yeah all the markdown is handled through glow, which is one fairly awesome tool.
What are some alternatives?
laravel-debugbar - Debugbar for Laravel (Integrates PHP Debug Bar)
markdown-preview.nvim - markdown preview plugin for (neo)vim
laravel-telescope-toolbar - A toolbar for Laravel Telescope, based on the Symfony Web Profiler.
pcstat - Page Cache stat: get page cache stats for files on Linux
phpqa - Docker image that provides static analysis tools for PHP
mdless
php-spx - A simple & straight-to-the-point PHP profiling extension with its built-in web UI
mdcat - cat for markdown
laravel-ide-helper - IDE Helper for Laravel
glow.nvim - A markdown preview directly in your neovim.
phpinsights - đź”° Instant PHP quality checks from your console
bat - A cat(1) clone with wings.