October 15, 2017Symfony Flex is a modern replacement for the Symfony Installer, and not the name of the next Symfony version. As the intro text says:Internally, Symfony Flex is a Composer plugin that modifies the behavior of the require and update commands. When installing or updating dependencies in a Flex-enabled application, Symf...
May 21, 2017In this article, we will tackle the basics of Composer, and what makes it such a powerful and useful tool.
Before we go into detail, there are two things that we need to have in mind:What Composer is:
As we can see on their website: “Composer is a tool for dependency management in PHP. It allows you to declare...
March 20, 2017It’s time for our monthly hunt for new open source libraries to use and contribute to!
If you’re new to Sourcehunt, it’s our monthly post for promoting open source projects that seem interesting or promising and could use help in terms of Github stars or pull requests.
It’s our way of giving ba...
March 13, 2017It was not that long ago that Christopher Pitt wrote an excellent article about writing and running PHP code on an iPad. After reading it, I thought to myself “It would be really cool to do the same on Android”: being able to write and edit code on the fly, for example while traveling, and not having to tak...
August 27, 2016While preparing my technical materials for WebSummerCamp, I realized my workshop would rely on a fairly stable internet connection, as we’d have a lot of ground to cover and a lot of packages to install. Rather than rely on the gods of live demos, or pre-installing everything and ruining the experience, I picked ...
June 24, 2016The following is a guest post by Aydin Hassan, who is going to introduce to you a really compelling way to learn PHP. I’m sure all of us get asked by our less experienced acquaintances “how do I get started with X?” or even “what book should I buy?” Books can be great, but given the choice...
June 24, 2016The following is a guest post by Aydin Hassan, who is going to introduce to you a really compelling way to learn PHP. I’m sure all of us get asked by our less experienced acquaintances “how do I get started with X?” or even “what book should I buy?” Books can be great, but given the choice...
June 6, 2016We’ve discussed Composer best practices before, and I’ve always advocated using composer global require when installing packages that can be used across several projects – particularly command line tools. Then, the other day, I ran into this discussion.
[author_more]The short of it is – the ma...
March 25, 2016Composer is the sharpest tool in the toolbox of the modern PHP developer. The days of manual dependency management are in the distant past, and in their place we have wonderful things like Semver. Things that help us sleep at night, because we can update our dependencies without smashing rocks together.Even though we...
February 18, 2016
The recommended approach to getting started with Drupal 8 is now via Composer. An official project template has been created for this. We will create our project directly using the template, which is also available on Packagist.
To create a new project based on this template we can run the following Composer command:
...
Recent Comments