ФОРЕКС: Доллар/Рубль 74.837 ▲ +0.279 • Евро/Рубль 90.269 ▼ -0.151 • Нефть 61.56 ▼ -1.87 • Золото 1727.16 ▼ -43.87 • Биткоин 46325.82 ▼ -1839.48
Коронавирус 2019-nCoV данные на 26 февраля: заражений 113264928 (+396627), выздоровевших 63893484 (+217094), погибших 2513313 (+9277).
Курсы валют от ЦБ РФ на 27 февраля 2021 года. Доллар США $ — 74.44 руб. ▲ +0.97. Евро € — 90.37 руб. ▲ +0.87.
К ЭТОМУ ЧАСУ

Amazing PHP

Testing HTTP Middleware in Laravel
Testing HTTP middleware in a Laravel app might look easy at first glance but can be surprisingly difficult to get right. There are many possible pitfalls. In this post, I want to show some of these pitfalls and what problems they can cause. Then, I will explain how I write tests for my custom middleware.

Amazing PHP

Sell files online fast and easy
Want to sell e-books, PDF documents, audio/video files, or any other type of files? It is easy.
Just upload your file, get a short link, share it and make money. No monthly or hidden fees.

Amazing PHP

When to use empty in PHP? I’d say never
I realized that I am very strict about the use of PHPs empty function in code review. There isn’t really any reason to use it in my opinion:

Amazing PHP

Preventing Dependency Confusion in PHP with Composer
The problem boils down to companies referencing internal packages by name, e.g. "my-internal-package" and an attacker then publishing a package by the same name "my-internal-package" with a higher version number on the central registry / package repository for that language (for PHP that would be packagist.org). The companies then installed and ran these malicious packages instead of their internal packages because their package manager chose the higher version number from the default package repository over their internal repository.

Amazing PHP

​​Symfony and Hexagonal Architecture
I have been working on many Symfony projects in my career and one of the most common problems where customers call our company is that their software is blocked in the old framework version, or they are not maintainable because it costs a lot to find and fix bugs.

Телеграм канал Amazing PHP @phpme

Amazing PHP

8.8K members
11 photos
67 links
Welcome to the Amazing PHP Channel! Here you can find a lot of interesting articles/news about PHP, frameworks, tools and development.

Support the channel: https://www.paypal.com/donate?hosted_button_id=FAYP5QJH5LVRL

По всем вопросам: [email protected]

Читайте также: