Alright, so let's start with the basics first. More of which is obvious to know, what is even composer and what is even the use?
Well, Composer is an application-level package manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries. It was developed by Nils Adermann and Jordi Boggiano, who continue to manage the project. That sounds a lot bookish, right? Well, my bad I just copied it off from Wikipedia <!--Insert laughing emoji here-->.
But, all of that aside composer is really useful if you are a beginner as a coder. Well, of course not exactly a beginner, you must know PHP, HTML, CSS, and Javascript enough to work on PHP Frameworks. But, that is a thing to talk about some other day but for now; you are here to learn how to install composer, and that's what exactly I'm going to tell you next.
STEP #1
Go on to Composer's official download site and click on the download button.
STEP #2
Download the windows version setup or if you are on Mac or Linux then you have to go for the command-line option. But, as I don't have both. What I have is windows, so we are going to do in the windows way.
STEP #3
Install the Windows setup the way things are being installed, and if you don't know how to then you might go and buy a book named "Computers for dummies". (That's a joke, don't take it seriously. After all, who doesn't know how to install a setup).
And, if you are running Mac or Linux, sorry again that I cannot help you but you can still go on and search for it on Youtube, you will get plenty of tutorials up there.
STEP #4
Open your terminal by pressing Ctrl + R, that will pop-up Run, type in cmd and press enter or just the search for 'cmd'. You can also use PowerShell if you want to. Now, when Command Prompt(or PowerShell) on type in "composer -V". This will tell you the version of composer and date and time for which it was installed.
STEP #5
Well, you are now done!
You have successfully installed the composer in your system. Now, go on add whatever PHP framework or dependencies you want to add to it.
EXTRA
Go on and type just "composer", you will get all the commands you can use on composer.
Thank you for reading.
Well, Composer is an application-level package manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries. It was developed by Nils Adermann and Jordi Boggiano, who continue to manage the project. That sounds a lot bookish, right? Well, my bad I just copied it off from Wikipedia <!--Insert laughing emoji here-->.
But, all of that aside composer is really useful if you are a beginner as a coder. Well, of course not exactly a beginner, you must know PHP, HTML, CSS, and Javascript enough to work on PHP Frameworks. But, that is a thing to talk about some other day but for now; you are here to learn how to install composer, and that's what exactly I'm going to tell you next.
STEP #1
Go on to Composer's official download site and click on the download button.
STEP #2
Download the windows version setup or if you are on Mac or Linux then you have to go for the command-line option. But, as I don't have both. What I have is windows, so we are going to do in the windows way.
STEP #3
Install the Windows setup the way things are being installed, and if you don't know how to then you might go and buy a book named "Computers for dummies". (That's a joke, don't take it seriously. After all, who doesn't know how to install a setup).
And, if you are running Mac or Linux, sorry again that I cannot help you but you can still go on and search for it on Youtube, you will get plenty of tutorials up there.
STEP #4
Open your terminal by pressing Ctrl + R, that will pop-up Run, type in cmd and press enter or just the search for 'cmd'. You can also use PowerShell if you want to. Now, when Command Prompt(or PowerShell) on type in "composer -V". This will tell you the version of composer and date and time for which it was installed.
STEP #5
Well, you are now done!
You have successfully installed the composer in your system. Now, go on add whatever PHP framework or dependencies you want to add to it.
EXTRA
Go on and type just "composer", you will get all the commands you can use on composer.
Thank you for reading.
Comments
Post a Comment