Robstar π retweeted
One of the only parts of Laravel I was disgusted by is now fixed. π§Ό
When defining a local scope, you no longer have to prefix the method name with "scope". You can just add the new Scope attribute to the method.
Thank you @SHaedrich and @crynobone. π«Ά
laravel.com/docs/12.x/eloqueβ¦
Robstar π retweeted
Replying to @levelsio
i always put an empty 8gb file in the server root. in case something happens you have quick relief to fix things
Robstar π retweeted
Generate consistent API responses with the Laravel API Response Helpers by @roballport βοΈ - madewithlaravel.com/laravel-β¦
Robstar π retweeted
Premature optimization is the most common mistake made by developers who have just started reading about SOLID principles.
Robstar π retweeted
Don't do it.
Enjoy your weekend.
iamdevloper.creator-spring.cβ¦
Robstar π retweeted
TIL in Laravel you can run `php artisan migrate --pretend` to see exactly what SQL will be executed before you actually run the migrations π€―
Robstar π retweeted
π Hereβs a to-the-point summary of all awesome features in #php.
Now updated for PHP 8.1
front-line-php.com/cheat-sheβ¦
Robstar π retweeted
π‘ A little #Laravel tip from the latest blog post to get the week started!
Under the hood, the withAvg/withCount/withSum and other methods in Eloquent use the 'withAggregate' method. You can use this method to add a subselect based on a relationship π«
#PHP #webdev #OpenSource
Robstar π retweeted
π₯ Laravel 8.64.0 ships today with support for a new "@aware" Blade directive that allows child components to easily access parent component data when needed.
π Check out the example in the docs: laravel.com/docs/8.x/blade#aβ¦
Robstar π retweeted
Did you know that in PHP 7.4, the numeric literal separator was added? This means you can separate numbers with an underscore.
These two numbers are equal, but the second is much easier to parse.
wiki.php.net/rfc/numeric_litβ¦
Robstar π retweeted
Using Swoole table, Octane cache driver can do 2 million reads / writes per second - and, since Swoole essentially gives PHP "setInterval" functionality, even exposes a wild new "interval" method on the cache that refreshes every N seconds. πββοΈ π₯
Robstar π retweeted
β‘οΈMaverick is OUT NOW on @Bandcamp with 3 unreleased bonus tracks! Enjoy! fm84.bandcamp.com/album/maveβ¦
Robstar π retweeted
$27,700,000,000 - for a company where the main project is running on a PHP backend. π
techcrunch.com/2020/12/01/saβ¦
Robstar π retweeted
Surprise package release. When? Now! Laravel Breeze. If Jetstream overwhelmed you and you need something simpler for now. Blade + Tailwind only. Every route and controller exported directly to your application. Same beautiful Jetstream style UI. github.com/laravel/breeze π΄ππ΄
Robstar π retweeted
Composer 2.0 is now available! π Faster, using less memory, more deterministic and packed with new features, read up at getcomposer.org/2 #composerphp #phpc π

























