PHP Digest number 145 (November 26 - December 1? 2018)

 
3r3-31.
PHP Digest number 145 (November 26 - December 1? 2018)
3r3638.  
Fresh selection with links to news and materials. In the release: PHP 7.3.? Symfony 4.? Composer ??? and other releases, end of support for PHP 5.6 and PHP 7.? fresh offers from PHP Internals, a portion of useful tools, video reports and much more. 3r3638.  
Enjoy reading! 3r3640. 3r3638.  
PHP ??? 3r3637. - The long-awaited major release of PHP delivered strictly on schedule. Thanks to all contributors and release managers for their work! In the fresh version of the interpreter a number of improvements: 3r3638.  
• Improved Heredoc and Nowdoc syntax
RFC
3r3638...
+ 0 -

PHP Digest number 144 (November 12 - 2? 2018)

 3r? 3522. 3r3-31.
PHP Digest number 144 (November 12 - 2? 2018) 3r33518.

 3r? 3522. 3r33473. Fresh selection with links to news and materials. In the release: PHP ???RC? PhpStorm 2018.3 and other releases, Symfony leaves PHP-FIG, the latest offers and news from PHP Internals, a portion of useful tools, videos from past meetings and conferences and much more.
 3r? 3522. Enjoy reading! 3r33510.
 3r? 3522. PHP ???RC6 3r3507. - The sixth and, probably, the last release candidate of the 7.3 branch. With bated breath we are waiting for the final release already on December 6th. In the meantime, you can once again see what's new in 7.3 in recent reviews
here ..
.
+ 0 -

PHP -Casbin: Authorization library with support for access control ACL, RBAC, ABAC

 3r3184. 3r3-31. 3r3171. PHP -Casbin: Authorization library with support for access control ACL, RBAC, ABAC 3r3172.
 3r3184. 3r3171.
PHP-Casbin
Is an open source lightweight access control platform (3r3141. [url]Https://github.com/php-casbin/php-casbin[/url]
) Built into PHP, and is currently open source on GitHub. PHP-Casbin uses a metamodel design approach that supports many classic access control schemes, such as role-based RBAC, attribute-based ABAC access control, and much more. 3r3172.
 3r3184.
functions
 3r3184. 3r3105.  3r3184. 3r3145. Custom request format support, default request format: {subject, object, action}; 3r3148.  3r3184. 3r3145. They have two basic concepts of model and access ...
+ 0 -

PHP Digest number 143 (November 1 - 1? 2018)

PHP Digest number 143 (November 1 - 1? 2018)
3r33448.  
3r33421. Fresh selection with links to news and materials. In the release: PSR-18 adopted, Packagist PHP version statistics, mitap announcements and mitap map, PHP ???RC5 and other releases, a portion of useful tools, about the future of a PHP digest, and much more. 3r33448.  
Enjoy reading! 3r33450. 3r33448.  
made a decision 3r3447. not to renew corporate subscription on Habré. In addition, at the moment I work in JetBrains in the PhpStorm team. Therefore, the PHP Digest starting from the next issue will be published from my account 3r3323. pronskiy in hubs ...
+ 0 -

Middleware and Pipeline features in Laravel

 3r33333. 3r3-31. Middleware and Pipeline features in Laravel
 3r33333.
 3r33333. Laravel - this is truly a large and complex system that tries to solve most of the everyday tasks of a web developer in the most elegant way and to collect as many tools as possible and, which is very important, with the most human interface possible.
 3r33333.
 3r33333. And today we will talk about one of these tools, and more precisely about its use and implementation by the programmer. The lack of complete documentation, as well as the lack of Russian-language articles and a very small number of foreign articles - pushed me to the decision to uncover a certain ...
+ 0 -

PHP Digest number 142 (October 15 - 2? 2018)

 3r33520. 3r3-31.
PHP Digest number 142 (October 15 - 2? 2018) 3r? 3516.

 3r33520. 3r38080. Fresh selection with links to news and materials. In the release: The future of PHP and Zend Framework, the PHP Internals RFC on performance improvement, a portion of useful tools, a new PHP elephant is available for ordering, and much more.
 3r33520. Enjoy reading!
 3r33520. The future of Zend Engine and Zend Framework - In his blog, Zeev Suraski announced his departure from Rogue Wave, which in 2015 absorbed Zend. Together with Zeev go 3r330. Matthew Weier O'Phinney
and ...
+ 0 -

Do you really need entrust or laravel-permission to implement your authorization?

 
3r3-31. “So I need a simple authorization. Any admin role, and can be an editor /moderator. Now google. ABOUT! For laravel there are already ready packages! 3r3141. zizaco /entrust [/b] , 3r3141. spatie /laravel-permission [/b] other! Let's pick one! ”3r3157.  
 
That's how it happens. Then the migration of the package adds 5 plates to the database to store the roles, permissions and their relationships. All authorization rules, such as roles 3r3141. 'admin' [/b] and 3r3141. 'editor' [/b] can do 3r3141. 'edit posts' [/b] are stored in these tables. Typically, a project has many copies of the database...
+ 0 -

PHP Digest number 141 (October 1 - 1? 2018)

+ 0 -

Docker + Laravel = ❤

<{full}>
Docker + Laravel = ❤
 
In this article I will talk about my experience of "wrapping" the Laravel-application in a Docker-container and so that the frontend and backend developers could work with it locally, and launching it on production was as simple as possible. Also, CI will automatically run static code analyzers, phpunit -tests, perform the assembly of images.
 

"And what, in fact, is the difficulty?" - you can say, and you will be partly right. The fact is that quite a lot of discussions are devoted to this topic in Russian-speaking and English-speaking communities, and almost all studied threads I would conditionally ...

+ 0 -

PHP Digest No. 140 (September 17 - 3? 2018)

PHP Digest No. 140 (September 17 - 3? 2018)

 
A fresh selection with links to news and materials. In the release: PHP 7.3 RC? Codeception 2.5 and other releases, typed properties in PHP 7.? the concept of preloading code from Dmitry Stogov, a portion of useful tools, and much more.
 
Enjoy reading!
 
PHP 7.3 RC2 - The second release candidate was delivered to timetable . The next release is expected on 11 October. One more review of innovations PHP ???r3r3502. .
 
PhpStorm 2018.3 EAP
- The early access ...
+ 0 -