Other Laminas components
In this section, we will get an overview of some Laminas components that were not used in the projects of this book. You can read the documentation about all the Laminas components at https://docs.laminas.dev/components.
Cache
Let’s use travel as an analogy. We spend time and money traveling. Since time is money, we spend a lot of money traveling. In addition, the farther we go, the more money we spend. In other words, the cheapest place to go is where you are already. Staying in the same place is the cheapest type of travel. This is the idea of the cache: to keep data in the nearest place possible to reduce the time and cost of transport. The laminas-cache
component allows us to cache data using several storage adapters, which enable your application to save and read data from filesystem, Memcached, Redis, or MongoDB databases, among others.
CLI
Although we have used Laminas to develop web applications, the framework is not limited to this...