PHPNews

Basic Routing and Views

When I learn a new framework, the first thing I do is figure out how the framework's default splash page is loaded. Let's work through it together. Our first …

Written by Laracasts - - Aggregated on Thursday September 12, 2019


Eloquent Subquery Additions

Laravel 6 ships with improved support for Eloquent subqueries, thanks to a few PRs from Jonathan Reinink. You may now add subqueries by using the new addSelect…

Written by Laracasts - - Aggregated on Wednesday September 11, 2019


Install PHP, MySQL and Composer

Before we get started, you must first ensure that up-to-date versions of both PHP and MySQL are installed and available on your machine. In this episode, we'll …

Written by Laracasts - - Aggregated on Wednesday September 11, 2019


9/11

This year Laracon was back in New York and I had the ability to take the family to the 9/11 memorial and below are some of my favorite photos from that visit. 9/11 such a solemn place and the only attack on US soil that I remember. In fact, I still remember everything about that day. Where I was at …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Wednesday September 11, 2019


Developers CV: GitLab or LinkedIn?

Dear Reader, Every since “Social Coding” became a thing and GitLab and that other social coding site opened up, developers around the world have been asking “GitLab or LinkedIn for my CV/Resume?” I now present you with the definitive answer to this question. YES Github, or your favorite social coding site is absolutel…

Continue reading »

Written by Cal Evans - - Aggregated on Wednesday September 11, 2019


Slim4-empty: minimal Slim 4 starting point

To simplify creating a new Slim 4 project, I've created slim4-empty which does this for me. To use it: $ composer create-project akrabat/slim4-empty my-new-project and you're done! The my-new-project directory is created and contains Slim 4 along with a minimally viable public/index.php to get …

Continue reading »

Written by Rob Allen - - Aggregated on Wednesday September 11, 2019


The Laravel Installer

Now that we have Composer setup, we can pull in the Laravel installer and make it accessible globally on our machine. This allows you to run a single command …

Written by Laracasts - - Aggregated on Wednesday September 11, 2019


Laravel Valet Setup

If you're a Mac user, rather than running php artisan serve, you might instead choose to install Laravel Valet. Valet is a blazing fast development environment …

Written by Laracasts - - Aggregated on Wednesday September 11, 2019


Secrets in Serverless

Good post on how and where to store your secrets when working in a Serverless / Cloud Environment — something I was wondering about myself a little while ago Serverless applications and cloud functions often need to communicate with an upstream API or service. Perhaps they require a username and password to …

Continue reading »

Written by Bram.us - - Aggregated on Tuesday September 10, 2019


Farewell, Happy Camper

Basecamp has a new website and a new logo. If this is the first you’re hearing about it, it’s because we opted out of the big rebranding announcement that …

Written by Signal vs. Noise - - Aggregated on Tuesday September 10, 2019


511 Network Authentication Required

511 Network Authentication Required is a status that can be used by for example captive portals to signal to computers that they need to go through some kind of sign-in after connecting to a WiFi network. You might see these kind of sign-in screens when for example connecting to the WiFi at a coffee shop. Most …

Continue reading »

Written by Evert Pot - - Aggregated on Tuesday September 10, 2019


Reflect Into Functions

PHP's various reflection classes allow us to do all sorts of magical things. In fact, they're very much the backbone of Laravel's service container logic. In …

Written by Laracasts - - Aggregated on Tuesday September 10, 2019


Rush hour

This morning I had to drive into the city during rush hour. Having worked remote for the past decade it was eye opening and a little bizarre. On a high level it’s strange that a million people all get in their cars at the same time and drive to a 20 square mile spot with some buildings. It’s even stranger when half …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Tuesday September 10, 2019