Skip to content

Instantly share code, notes, and snippets.

View markushausammann's full-sized avatar

Markus markushausammann

  • Bright Answer
  • Geneva, Switzerland
View GitHub Profile

In [this precursor question][1], I asked about the practical way of using the new Zend\Session component. That question contains a lot of misconceptions I got when first looking at the component.

This question is about the practical way of really doing things.

  • are my proposed ZF ways correct?
  • are there better ways?

For more depth, let's compare how we would do certain things with Zend\Session as well as the Symfony Session component:

Symfony (given you register the namespaced attribute bag):

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should consider using (and some other shiny extras).