composer – what you should know

composer – what you should know. Last year I wrote a piece called “a few thoughts about composer and how people use it“. In that post I had a list of things which are problematic about how composer is used. That post got widely recognized, linked an visited, but in general those issues still exist. However lately I’ve had even more people asking questions (either on related forums, irc or even irl) about problems that stem from issue number 2: people are using composer as an installer (and sometimes Number 3 because of Number 2). In that Post I already … Continue reading composer – what you should know

A hand full of composer related tools that I’ve found useful.

I know I haven’t been blogging much (about php stuff) lately, and this is not going to be one of the bigger posts either. However lately I’ve added a handful of tools to my stack, which I think can benefit most developers, so here a few tools that you might want to look upon if you are using composer (which you should). The first one is composition – which allows you to gather information about the currently installed composer packages at runtime. This can be useful if you want to take different routes in your code depending on if a … Continue reading A hand full of composer related tools that I’ve found useful.

Slim Framework 3 + king23/di (replacing pimple)

I’ve promised this post to a few guys on the slim framework irc channel (#slimframework on irc.freenode.net), so here we go. As this post is not an introduction to slim framework 3 itself, I might be skipping over some information that, if you don’t know the framework, might be important to you. I recommend that if something is unclear – just have a look at the code of the example app and/or the documentation of slim framework 3 This post is basically in 3 pieces: the slim3-skeleton as an example – a very quick introduction in the relevant parts of … Continue reading Slim Framework 3 + king23/di (replacing pimple)

King23/Castle23/ReactPHP/Slim Framework 3.0 – for the fun of it

Sometimes I sit down, and just do some code for the fun of it. Yesterday I took the time to marry my own Framework with Slim Framework 3.0beta1 – just for the fun of it. The result is quite fast. Disclaimer I’m not even sure if I should make this post. Most certainly I shouldn’t make this post without this warning: almost everything you will see in this post is unstable so if you get the idea to use this in production, keep in mind that you have been warned, and that you probably will burn in hell (or have … Continue reading King23/Castle23/ReactPHP/Slim Framework 3.0 – for the fun of it

A few thoughts about composer and how people use it

A few thoughts about composer and how people use it composer has changed the PHP ecosystem like no other tool introduced – almost everyone is using it today. Now, I have written about composer before, and have always been a big proponent of using it. However, as I have spend some time with looking more closely on a few things, there is a few problems (some with composer, some with how people (ab)use composer) that I would like to write about. I’m pretty certain that my point of view is not the only valid one, and that some of you … Continue reading A few thoughts about composer and how people use it

Building better project skeletons with Composer

Note: This post has originally been posted at binpress, you can find the original post there:  (http://www.binpress.com/tutorial/better-project-skeletons-with-composer/157) As the two weeks exclusive i gave to them are now over, i decided to put it here on my blog as well for those who might not stumble over it at binpress. If you haven’t heard of binpress, check them out, they are a market place for opensource solutions. Building better project skeletons with Composer The more you use modern frameworks and the more modular you build your PHP applications, the more likely you’ll use a skeleton (or template) for creating new … Continue reading Building better project skeletons with Composer

Composer & virtual packages

Composer & virtual packages Composer has been a blessing for the PHP community, and many many people use it today. However most people don’t know all it can do – i for certain every now and then learn something new. A few days ago i stumbled over a “virtual package” on packagist – and found it to be a feature that i was actually missing in composer. Turns out, composer can do it, its just not so well documented. So what is this about? Virtual packages allow you to have a more loose dependency. Rather than depending on a specific … Continue reading Composer & virtual packages