clockwork
laravel-ide-helper
Our great sponsors
clockwork | laravel-ide-helper | |
---|---|---|
30 | 30 | |
5,465 | 13,816 | |
- | - | |
8.4 | 8.4 | |
1 day ago | 17 days ago | |
PHP | PHP | |
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.
xDebug if digging deep, otherwise I often do common profiling/performance checking via clockwork.
-
How to read enterprise web applications built on Laravel8?
Solid advice, but I think you made a typo, the correct spelling of "debugbar" is "Clockwork"
-
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/
- Is there a way to use DB::getQueryLog() on everything that is run?
- Laravel is slow on ec2 and on rds
laravel-ide-helper
-
VSCode for PHP and Laravel
barryvdh/laravel-ide-helper: IDE Helper for Laravel
-
Best practice for code-completion after retrieving an Eloquent model using Model::first()
Perhaps https://github.com/barryvdh/laravel-ide-helper? I haven’t used it in a while so can’t remember if it will specifically help with the results of methods like first().
-
What are some Good VS Code Extensions for PHP/Laravel?
This. As well as adding https://github.com/barryvdh/laravel-ide-helper as a dev package. Then run the artisan commands to generate helper files.
-
argument type hinting for Job's `dispatch` methods?
However, my IDE (PhpStorm) doesn't provide any type hinting / argument suggestions on the method. I do use https://github.com/barryvdh/laravel-ide-helper and the Laravel Idea plugin, but neither seem to offer these.
-
Larastan / PHPStan — how can I use type-checking on a trait method?
I use barryvdh/laravel-ide-helper, which adds @properties and @methods to models. These help IDE auto-completion and static analysis.
- Productivity in laravel
-
Codeigniter 4.1.8 released
Is it possible that maybe you're biased towards Code Igniter because you're very familiar with it ? Your criticism that Laravel hides a lot of code is valid (The fact that it requires stub files or a plugin for autocompletion to work properly in your IDE is proof of that. But the "think of the newbies" argument is overused and not really fair here I think : It's a framework, of course it's going to allow you to take shortcuts, but it's up to the user to learn PHP first and look at the source code (which is full of magic but rather clean and well documented) to understand what they're using.
-
4 Packages You Need in Any Laravel Project
1. barryvdh/laravel-ide-helper https://github.com/barryvdh/laravel-ide-helper
-
Tools you’ve used to increase code quality and/or productivity?
What we use: https://andries.io/high-quality-laravel-easy-coding-standard-larastan-grumphp/ + https://github.com/barryvdh/laravel-ide-helper
-
Note: Laravel packages
Laravel IDE Helper Generator | This package generates helper files that enable your IDE to provide accurate autocompletion. Generation is done based on the files in your project, so they are always up-to-date.
What are some alternatives?
laravel-debugbar - Debugbar for Laravel (Integrates PHP Debug Bar)
laravel-telescope-toolbar - A toolbar for Laravel Telescope, based on the Symfony Web Profiler.
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
vscode-intelephense - PHP intellisense for Visual Studio Code
phpinsights - 🔰 Instant PHP quality checks from your console
Psalm - A static analysis tool for finding errors in PHP applications
phpqa - Docker image that provides static analysis tools for PHP
psalm-plugin-laravel - A Psalm plugin for Laravel
Laravel 6 - Powerful REPL for the Laravel framework.
php-spx - A simple & straight-to-the-point PHP profiling extension with its built-in web UI
php-docker-compose - High speed low drag PHP using Docker