Povilas Brilius
2 min readFeb 9, 2021

--

Laminas invigorated ERB saga continues going on — the so called MVC approach is questioned there — take, e.g. a sample project on composer.php domain. The developer can pick up from a couple of compose requirements staged elements:

$ composer require laminas/laminas-modulemanager$ composer require laminas/laminas-mvc

None of them is plausible — the project requires at least package manager availability with the project itself — it’s not introspection nor internal package debugging.

Alas, the swift sailship journey has come to a docking stage. Decks — aboard off!

Photo by Martin Zaenkert on Unsplash

Let’s switch to Laminas Mezzio — the same branch project, though aimed at global PSR standardization:

It’s rather easy —

composer create-project mezzio/mezzio-skeleton mezzio

So, you are now a true open-sourcer; the project installed successfully and the virtual host machine is running correctly —

http -hF localhost:2145

looks promising —

HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Length: 309
Content-Type: application/json
Date: Tue, 09 Feb 2021 13:34:10 GMT
Keep-Alive: timeout=5, max=100
Server: Apache/2.4.46 (Ubuntu)
X-Powered-By: PHP/7.4.15

It’s OK at the moment to take a look at the browser stage —

--

--

Povilas Brilius

PHP Developer in e-commerce and e-loans industry fields.