About the use of Composer, Composer

Source: Internet
Author: User

About the use of Composer, Composer

I haven't written a blog for about four years. Today I am a little inspired. Let's write it.

The year 2018 is really not calm. Two of our loved ones left us one after another. They felt sorry, sad, and sad throughout the family. Not to mention, turn back to the subject.

In 2013, I decided to return to the Crown because of my family factors and my judgment on my development prospects. So far, I have been home for nearly five years. In the past five years, I have been married, working, having children, and living at home. I met my wife, fate; I was lucky to be a member of the People's teacher; I added a lovely girl and a young boy (probably) Coming soon. Thanks. In short, in the past five years, many things have taken place, enriching the life experience. In the past five years, too many relatives have been sent away, and parting is always so sad... The correct answer turned to the correct one, and the result went wrong again. Another day I wrote a blog to express my feelings.

Let's talk about what we want to write today.

I 've been working for several years, and I 've been slowly picking it up recently. I 've found that it has changed a lot. PHP has reached 7.2, and YII has also entered the 2.0 era. It is more and more convenient to install and use dependency management tools such as Composer.

How can I download the Code if I want to use YII? Visit the official website and use Composer.

What? What is this? I can't understand it.

Start from scratch and pick up the 1.1 points that have fallen in the past few years.

Composer, a PHP dependency management tool, is supported by php5.3 or later versions. Its development comes from Github. In essence, it is to download the code on Github to a local device. Because Github is a foreign website, its access speed is slow, and sometimes it is still damaged. Therefore, we often use Chinese image sites instead. How to use it? You can access the Composer Chinese network to obtain detailed information. The content is very clear, including installation and use.

I wrote the directory of the php.exe folder in the environment variable pathand wrote the composer. bat file as prompted. In this way, the "composer" command is directly used in the command line to replace "php composer. phar", which is much easier.

Okay, so let's get there.

Is it too watery?

Slowly, there are technical content in the back.

A lot of problems can be solved by using search engines without repeating them. It is worthwhile to develop things that have their own thoughts and opinions.

Of course, how the problem is solved can also be recorded as experience, such as this article.

Well, it's a new start. It's good. Try it!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.