Category: Laravel

Laravel 7.14 Released

The Laravel team released v7.14.0 with making component attributes available during render and guessing a file extension based on mime-type, along with the latest features, fixes, and changes in the 7.x branch. View Attributes...

Middleware as a Laravel service provider

When you need to set up a service in a Laravel app, service providers are generally the place to be. But, there’s one problem with service providers: they’re global. This usually doesn’t matter, but...

Survey: type systems in PHP

« back — written by Brent on June 03, 2020 Hi there! Thanks for spending 5 minutes of your time on this quick survey. My goal with it is to investigate the correlation between type-systems...

Maravel Permissions Package for Laravel

Maravel Permissions is a package by Inani El Houssain that provides permissions in Laravel using superhero jargon. The package helps you grant users abilities, but in a fun, superhero kind of way. Because every...

Zipping

Unix things I always forget This series is an attempt to document the Unix commands I know, and the ones I occasionally need. Follow along, and you might learn some tricks along the way!...

The latest PHP version

« back — written by Brent on June 02, 2020 It seems like a simple question with a simple answer: the latest PHP version currently is PHP 7.4. However! If you want to know more...

Detect device’s OS in JavaScript

There comes a scenario when you might want to check which operating system the device is running. For instance, when you want to set device-specific download links. For windows, .exe file, for macOS, .dmg...

Strict typing vs. Weak typing in PHP

With PHP 5, the core team had introduced type declarations (also known as type-hinting) that allow functions to require that parameters are of a certain type at call time. If the given value is...