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
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.
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
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 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