Articles tagged Php
How To Build The Imagick Php Extension From Source
Update: This instructions in this article should no longer be necessary as you can once again install imagick via pecl:
If you are still having issues, I would recommend this excellent article by Andrea Olivato.
Thank you for reading this article.
If you've made it this far, you might like to connect with me on 𝕏 where I post similar content and interact with like-minded people. If this article was helpful to you I'd really appreciate it if you would consider buying me a coffee.Tidying Tips
In a post called The Life Changing Magic of Tidying Up Code, Kent Beck outlines his philosophy on cleaning up code. The article results in a short list of easy-to-follow rules, which I'm sure he would agree are there to be broken.
- If it’s hard, don’t do it
- Start when you’re fresh and stop when you’re tired
- Land each session’s work immediately
- Two reds is a revert
- Practice
- Isolate tidying
Thank you for reading this article.
If you've made it this far, you might like to connect with me on 𝕏 where I post similar content and interact with like-minded people. If this article was helpful to you I'd really appreciate it if you would consider buying me a coffee.Reset Your Laravel App In Seconds
In his recent talk about Laravel Nova at Laracon US, Taylor Otwell used a nice little shortcut to reset his demo app during the presentation. To reset an app in our local environment, we need to do three things:
- Drop the database.
- Migrate the database.
- Seed the database.
Thank you for reading this article.
If you've made it this far, you might like to connect with me on 𝕏 where I post similar content and interact with like-minded people. If this article was helpful to you I'd really appreciate it if you would consider buying me a coffee.Testing Values
There are many ways to test a value in php, some of which can produce confusing results. What’s more, Laravel also offers a couple of helpers which can help us test php values. We’ll go over each method in turn and find out how to avoid some common pitfalls along the way.