The Laravel team released v7.12.0 with a new TrustHosts middleware, along with the latest updates to the 7.x branch. TrustHosts Middleware Taylor Otwell contributed a new TrustHosts middleware, configuring a whitelist of trusted hosts in the Illuminate request object. By default, the Continue reading Laravel 7.12 Released
PHP 8, the new major PHP version, is expected to be released on December 3, 2020. That means there will be no PHP 7.5 version. PHP 8 in very active development right now, so things are likely to change a lot Continue reading What’s new in PHP 8?
The Laravel team released v7.11.0 with support for email Unicode validation, a split() “stringable” method, two “or where in raw” query build methods, and all the latest updates to the 7.x branch. Support for FILTER_FLAG_EMAIL_UNICODE @mpyw contributed email validation with the FILTER_FLAG_EMAIL_UNICODE flag. Continue reading Laravel 7.11 Released
GitHub just launched a new feature named Codespaces, which is a complete dev environment within GitHub that lets you contribute immediately. Here is the official announcement on this new feature: Contributing code to a community can be hard. Every repository has its Continue reading GitHub with GitHub Codespaces
This snippet will connect to your MySQL database: Check for connection errors: Select database table and display all the results: Checking the number of rows: Insert a new record: Checking the number of affected rows: Escape special characters in a Continue reading PHP :: MySQL Connection