phparchitect-2019-08

(Rick Simeone) #1

Brought to you in conjunction with <?PHPDeveloper.org


NEWS

34 \ August 2019 \ http://www.phparch.com

July Happenings

PHP Releases


PHP 7.4.0beta1:
https://www.php.net/archive/2019.php#2019-07-25-1

PHP 7.3.7:


https://www.php.net/archive/2019.php#id2019-07-04-2

PHP 7.2.20:
https://www.php.net/archive/2019.php#id2019-07-04-1

News


Implementing Event Sourcing—Testing
Aggregates
Freek Van der Herten shares the news that they’ve released
a package to add test methods for the laravel-event-sourcing
package. These tests let you verify that an aggregate behaves
correctly. He dives into an example showing how to write
such a test class for an example accounting aggregate.
http://phpdeveloper.org/news/27173

SymfonyCloud: From Early Access to General
Availability
On the symfony Project Blog, Fabien Potencier announced
the general availability of SymfonyCloud—a Platform as a
Service offering optimized for Symfony applications. With it,
you can define the services used on your projects in a single
YAML file.
http://phpdeveloper.org/news/27161

Creating Encrypted Backups of Laravel apps
Simon Kollross shares how he makes encrypted backups
with the spatie/laravel-backup package. It creates a ZIP file
with your database and application files that you can trans-
mit to another backup location. Once the ZIP file is ready,
it’s encrypted using AES-256 to guard sensitive information
further.
http://phpdeveloper.org/news/27143

Laravel v6 Announcement!
At Laracon this July, Taylor Otwell unveiled the next release of
the Laravel framework will be available in August. One signif-
icant change prompting the version bump is that the project
will now follow Semantic Versioning.
https://laravel-news.com/laravel-v6-announcement

Setup VS Code for Efficient PHP development
Louis-Marie Michelin started using PHP and documented
how the configured VS Code to stay productive. They list the
plugins they installed, and while the guide is based on Ubun-
tu 18.04, it should apply to other operating systems. Beyond
giving the editor PHP related intelligence, it also shows how
to make Xdebug work.

https://blog.theodo.com/2019/07/vscode-php-development/

Trimming the Phat
Joe Watkins wrote an extension, Tombs, which he uses to
detect code that is unused in production. He needed to go
beyond just identifying code that the compiler can reach. He
details the challenges in finding code that is actually unused
in production. After running in production for some time,
the extension collects and reports functions and methods
that have not been executed.
https://blog.krakjoe.ninja/2019/07/trimming-phat.html

Four Ways The Laravel Service Container Helps
Us Managing Our Dependencies
Christoph Rumpel has a post on his blog describing why and
when Laravel’s service container helps manage dependencies.
He observes that many tutorials explain how it works with-
out actually explaining what the container does. Starting with
an example CSV exporter, he lists how the service container
manages and retrieves objects needed by other objects.
https://phpa.me/rumpel-laravel-container-4
Free download pdf