Popular Tweets
A list of popular tweets by retweets and favorites.
-
In v8.16 of Laravel a very convenient
php artisan dbcommand has been added. It drops you automatically in the right CLI for your chosen DB. Thanks @parasume! 👏 → PR: github.com/laravel/framework/pull/35304 → Docs: laravel.com/docs/8.x/database#connecting-to-the-database-cli -
✍️ Wrote a longer blog post about GitHub Actions and how you can use them in your PHP projects to automate stuff. Like run phpunit or automatically fix all style problems in your project. 👉 stefanzweifel.io/posts/github-actions-for-php-developers/
-
Laravel 6.0 gets a cool new way to run Artisan commands before starting the test suite: github.com/laravel/laravel/pull/5050 Thanks @timacdonald87 👍
-
Rebuilding my personal site with Laravel, Filament, laravel-export and Orbit. So much fun! 🏄 Content is stored in md files; but they are Eloquent models. Edit in Filament or any text editor. filamentphp.com github.com/ryangjchandler/orbit
-
Shoutout to @tonysmdev for creating a free, almost 3 hours long video course on how to use Kubernetes for Laravel Developers. 👏 tonysm.com/courses/kubernetes-for-laravel-developers/
-
💡 Did you know that the
finally-block in PHP is always executed, even if you return intryorcatch? I've recently used this in my changelog-updater CLI to always render GitHub Actions output. → Real world example: github.com/stefanzweifel/php-changelog-updater/blob/e3f1a768dcc650a372a789735463491cc64a71c3/app/Commands/UpdateCommand.php#L49-L73 -
🖊️ My Alfred Setup Wrote 2.7k words on how I use @alfredapp. Workflows, snippets, custom web searches. (If you think Alfred is "just like Spotlight" give this a read) stefanzweifel.io/posts/2021/02/03/my-alfred-setup/ Highlights ↓
-
📦 v2.0.0 of laravel-stats has been released! - Support for Laravel 6.0 - New Feature: Verbose Mode - New Feature: Filter by Components ➡️ Release Notes & Upgrade Guide: github.com/stefanzweifel/laravel-stats/releases/tag/v2.0.0 ➡️ Source Code: github.com/stefanzweifel/laravel-stats
-
Laravel Tip: Use "Constrained Eager Loading" in @laravelphp if you now that a relationship might return thousands of models. I patched this in an app today, where we accidentally hydrated thousands models. 😐 Response went from 1.5s to 0.3s. Docs: laravel.com/docs/master/eloquent-relationships#constraining-eager-loads
-
Cool project by Anthony Rappa (@Rppasoft): He converted the Laravel docs into quizzes to test your knowledge. → rappasoft.com/quizzes/laravel
-
🖋️ Running Deployer on GitHub Actions Wrote a lengthy guide (4.4k words!) on everything I know about deployments, deployer and GitHub Actions. stefanzweifel.io/posts/2021/05/24/deployer-on-github-actions A few examples and highlights ↓
-
Was skeptical about the new artisan test command at first. Now I really dig it. 😍 Thanks @enunomaduro !
-
✏️ Laravel Dusk is great outside of tests too. A short post on how we automated a file upload using Laravel Dusk stefanzweifel.io/posts/2021/09/26/using-laravel-dusk-outside-of-tests-to-upload-files Also learned that @LaravelZero has a neat plugin to get you started even quicker: laravel-zero.com/docs/web-browser-automation
-
🔥 Did you know you can add query-constraints when eager loading relationships in Laravel? Perfect opportunity to improve query performance when your relationships return thousands of models. ↳ Full example: stefanzweifel.io/posts/constrained-eager-loading-in-laravel/
-
Tagged v1 of sidecar-browsershot today. 🎉 Supports Laravel 8 & 9 and PHP 8 & 8.1. github.com/stefanzweifel/sidecar-browsershot Once setup is complete, just replace
BrowsershotwithBrowsershotLambda🪄 -
The future in web dev is fast: - @laravelphp Octane for the backend - @tailwindcss JIT for CSS - esbuild for JavaScript bundling 🚀🚀🚀
-
Wow! Thank you @github for sponsoring me. ♥️