In a post to his site Tomas Votruba introduces something that can be helpful for those working with Symfony 4 and Flex to make the "zero-setup configuration" easier to work with: effective use of the Symfony Flex Loader.
Symfony 4 and Flex is heading in direction of zero-setup configuration - no bundles, no extensions, no configuration. You already know how to get rid of Configuration. Flex now loads services instead of Extension class.
But it has an extra price, a lot of new boilerplate code in Kernel. Today you'll learn how to keep your Kernel Flex-ready and clean at the same time.
He starts with an example kernel that loads an extra directory (defined by a "custom path"). He shows how to refactor these examples to "make them small again" making use of the Flex loader package that reduces the number of lines required to accomplish the same end result.
Package:
Summary:
Store and fetch data with Active Records pattern
Groups:
Author:
Description:
This package can store and fetch data with Active Records pattern...
Read more at https://www.phpclasses.org/package/11006-PHP-Store-and-fetch-data-with-Active-Records-pattern.html
Package:
Summary:
Store and fetch data with Active Records pattern
Groups:
Author:
Description:
This package can store and fetch data with Active Records pattern...
Read more at https://www.phpclasses.org/package/11006-PHP-Store-and-fetch-data-with-Active-Records-pattern.html#2018-12-20-16:41:51
A vulnerability in the Archive_Tar package has been found which potentially allows remote code execution.
A new release of the package is available which fixes this issue. One is strongly encouraged to upgrade to it by using:
$ pear upgrade Archive_Tar-1.4.4
Thanks to Fariskhi Vidyan who reported this issue.
Package:
Summary:
Encrypt and decrypt data using Rijndael-128
Groups:
Author:
Description:
This class can encrypt and decrypt data using Rijndael-128...
Read more at https://www.phpclasses.org/package/11000-PHP-Encrypt-and-decrypt-data-using-Rijndael-128.html#2018-12-20-10:55:33
Package:
Summary:
Generate tokens to protect against CSRF exploits
Groups:
Author:
Description:
This package can generate tokens to protect against CSRF exploits...
Read more at https://www.phpclasses.org/package/11005-PHP-Generate-tokens-to-protect-against-CSRF-exploits.html
Package:
Summary:
Generate tokens to protect against CSRF exploits
Groups:
Author:
Description:
This package can generate tokens to protect against CSRF exploits...
Read more at https://www.phpclasses.org/package/11005-PHP-Generate-tokens-to-protect-against-CSRF-exploits.html#2018-12-19-23:58:02
Package:
Summary:
Full-Featured Anti-CSRF Library
Groups:
Author:
Description:
Full-Featured Anti-CSRF Library