Latest Laravel/PHP Articles

Latest Laravel/PHP Articles curated daily from around the web.


Suppose you run a website and want to split part of it into a package with its own repository. You start a new repository and check it out on your development m...
When you start a new project it is best to stick to some best practices. Skeleton projects provide a basis for starting your project with a good directory struc...
Oh, how the weather can change! Yesterday it was 28 degrees Celsius, sunny and we were sweating because of a broken airconditioning (which was fixed and compens...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
This is a quick tip on how to get code coverage results when running PHPUnit on Laravel Homestead. This will enable Xdebug first and then run your tests. When y...
So, I've wanted to make my own open source package for quite some time. Last week it was registered at Packagist: barryvanveen/lastfm. It's a simple API client...
Last couple of months I've been working on a project that relies heavily on a Microsoft SQL (or mssql) database. It is the source of a legacy system that we are...
Tuesday the 29th of August, day 1 of Laracon EU 2017. This is my second Laracon and I've been regularly working with Laracon Framework for about 2,5 years now....
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Codeception is a testing framework with many functionalities. These functionalities are bundled in so-called modules. Some modules are used in most tests, like...
Codeception is configurated using the codeception.yml file. But, you don't want to store any credentials in this file. You can use a dotenv configuration file t...
It's difficult to check if you need to update your dependencies. There are services that can help. This is a review of Gemnasium, VersionEye and Libraries.io, w...
Currently, I'm working on my first Laravel package. So, it was time to dive into the wonderful world of the service container and service providers. Laravel has...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Some time ago I read an excellent article by Scott Helme on security headers. If you want to learn more about these headers I suggest you read the article yours...
Writing clean and readable code is essential. Having a properly defined code style, and adhering to that, is tedious work. Let's automate it as much as possible...
Updating dependencies can be tricky, especially if you let them build up over time. These are my tips to stay on top of any changes and make updating as painles...
Laravel translations can depend on the number of subjects: one apple, two apples. This article will explain more complex pluralizations: no apples, one apple, t...