Hide Artisan commands
✨Laravel Package Tip: Hide your install commands from `php artisan` after installed to keep things tidy. pic.twitter.com/o4PK8xXkIk
— Brian Dillingham (@im_brian_d) January 2, 2021
✨Laravel Package Tip: Hide your install commands from `php artisan` after installed to keep things tidy. pic.twitter.com/o4PK8xXkIk
— Brian Dillingham (@im_brian_d) January 2, 2021
For those who missed it, a new major version of Flysystem was released on the 24th of November.
Read more [blog.frankdejonge.nl]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
A pattern that has come up a few times Vera's my code is the following: an object has a property which defaults to an expression based on its other properties unless it’s explicitly set, in which case it functions like a normal property. Essentially, the expression functions as a default value.
Read more [lea.verou.me]
If you're ever required to test CI, and the only way to trigger it is to create a new commit, then you can use --allow-empty flag of `git commit` to create an empty commit without introducing new changes.
— Satya Rohith (@SatyaRohith_) January 3, 2021
h/t: https://t.co/EKSeXgTbk3#denoland #git pic.twitter.com/p6lhPPYlNK
What a year this has been. I guess that in January, nobody suspected that we'd got ourselves a worldwide pandemic on our hands.
For many people, 2020 has been a pretty rough year. While the pandemic also impacted me, I think that the problems I have only exist in my head. Nobody around me had health or financial troubles, and I also don't have any complaints on those fronts. That makes me a very lucky man.
In this blog post, I'd like to reflect on the things I did in 2020.
In this blogpost we'll take a quick look at how Blackfire is set-up and how Lambda layers works. In the second part of this post we'll add the two together to get production profiling data from Lambda into Blackfire.
Read more [flareapp.io]
"When it feels safe to make changes to code, it’s not really legacy code any longer".
Read more [medium.com]
Nice work by Tom Witkowski.
Read more [gummibeer.dev]
Yesterday, GitHub launched discussions as a public beta. We've been using the feature for a couple months. In this blogpost, I'd like to share how we will use discussions for our repos.
Here's a list of things announced at the GitHub event earlier this month.
Read more [github.blog]
Sail is a new option for running Laravel locally via Docker. Matt Stauffer wrote a good post on how to let it play nicely with Takeout.
Read more [mattstauffer.com]
Earlier this year, Travis CI announced a new pricing model that effectively ends the generous open-source offering they had for many years. It seems that, even though there were some plans to provide free resources for OSS projects in the future, all activity for OSS projects has stopped.
At our company, we create a lot of open-source projects and packages. Beginning 2020, we already moved most of our stuff to GitHub actions.
Sure, you can read the GitHub actions docs to start learning the possibilities, but in my experience, it might be better to see some examples of practical uses cases. Here are some interesting links that might help you get started with GitHub actions.
This is a great newsletter run by Liam Hammett. Here's the latest edition, so you know what you're getting into.
Read more [livewire.run]
I really like the simplicity of our solution.
Read more [ohdear.app]
In this post Derick Rethans ask maintainers and users to have empathy for each other.
Read more [24daysindecember.net]
– protone.media - submitted by Pascal Baljet
Introducing a new Laravel package that allows you to re-use scopes as a boolean attribute on Eloquent models.
Read more [protone.media]
– www.csrhymes.com - submitted by Chris Rhymes
Splitting up a large Laravel Livewire component into more manageable and maintainable chunks
Read more [www.csrhymes.com]
Everybody makes fuckups. When you do, don't be ashamed, just try to learn from it.
Read more [stitcher.io]
At the time of writing there is no version of Imagick compatible with PHP 8. Fortuntely, the version on the master brach of the Imagick repo seems to work. Here's how you can use it. Clone the repo somewhere on disk Follow the steps mentioned here to create the extension. cd <directory of cloned…