Language:

Search

Deshacerse de las advertencias de auto-actualización de Composer : Sólo Windows

  • Share this:
Deshacerse de las advertencias de auto-actualización de Composer : Sólo Windows

You guys might have noticed this little piece of warning while running composer in your command line.

 

1*4NVtX0SXocQ6zA7YzkJQuw.png

Composer Warning message

In this short yet useful article, I’ll teach you how to get rid of composer self-update warning on your windows machine by simply adding a task scheduler, that will update your composer every time period you specified.

Follow the simple steps below to get rid of this warning for like forever.

Step # 01

Open the Task Scheduler in your windows machine, and click on the Create Basic Task button on the right marked on the below screen.

 
1*TJFe9kh2wQpp6erf-xbvgQ.png

Step # 02

On the next screen, Enter the name and description of the Task and hit next.

 
1*VuXKdf3IUW1o2Xn0rG0B5w.png

Step # 03

On the next step, select the time cycle for the task, I prefer to update composer every month, so i selected the monthly tab. but its totally up to you.

 
1*i4Xr1zPFiMIvFa7frnp1Ow.png

Step # 04

On the next step, specify your desired months to update your task and the date, on which you want your task to be performed. Hit next when you’re ready.

 
1*DjPyBQvttc1qLijvRaQUuQ.png

Step # 05

Click next to start the program.

 
1*4JEyyfm1mbUp6bBQYh-AaQ.png

Step # 06

In this next step, specify your composer.bat file path and hit next.

In case, you’re facing some issue in getting your composer’s path in your machine, you can simply type in your command line:

$ where composer

like, in my case, its the following,

 

1*amzUjqVUhvplXptsVTyNeQ.png

 
1*inBqhNh6IK3NQhetpJ5Ntw.png

Step # 07

In this last step, you’ll see a summary of your task, hit finish to complete your task and forget about running composer self-update every now and then.

 
1*paJn7Uhgi8BY37tbpXN6wQ.png

Conclusion

That’ll be all for this article. If you liked my article, please don’t forget to click on the heart button below or if you have any questions, feel free to ask. You can also follow me on Twitter.

Usama Muneer

Usama Muneer

A web enthusiastic, self-motivated & detail-oriented professional Full-Stack Web Developer from Karachi, Pakistan with experience in developing applications using JavaScript, WordPress & Laravel specifically. Loves to write on different web technologies with an equally useful skill to make some sense out of it.