Integrating Doctrine into your Slim 3 project
In this post we will explain how to setup Doctrine 2 in your Slim 3 project. Integrating Doctrine can be a bit of a pain but reading this article should get you around the major hurdles
In this post we will explain how to setup Doctrine 2 in your Slim 3 project. Integrating Doctrine can be a bit of a pain but reading this article should get you around the major hurdles
Slim is a "Micro-Services" application framework. Slim provides a minimalistic environment which is very suitable for the development of micro-services.
CORS, the bane of every web-dev existence. It's a pain to deal with so let me give you some boilerplate that will make it just work.
In this post; I will show you how to use a middleware to create an object inside of PHP-DI for your Action classes to use. One of the most annoying things I have ever found is that Security Code pops-up everywhere. Adding context to a request is hard; but Auto-wiring makes it less hard!
Integrating a peristence package for your project is probably the most common task we all need to figure out. There are a lot of different options to choose from, some light, some heavy, maybe you choose to use none at all and just use PDO. I want to show you one package I have recently fallen in love with. Zend Frameworks DB project and specifically the Table Gateway class.
Recently, I have seen a few things pop-up around using Sessions within Slim so I'd like to take some time to show how easy it is.