PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, January 18, 2022

[FIXED] How can I look at my composer packages and see what is out of date?

 January 18, 2022     composer-php     No comments   

Issue

I am using Magento 2 and I run all of my updates through Composer. I would like to see what Composer packages I have that are currently out of date. When I run composer outdated I get this:

[InvalidArgumentException]
Command "outdated" is not defined.

Is there another command I can use?


Solution

Your Composer is too old. outdated command was introduced in 1.1.0. If you're using pretty ancient 1.0.0-beta2, you may missing many features and bugfixes, you should really upgrade to the last version.

If 1.0.0-beta2 is the last version available in repository of your Linux distribution, you may try uninstalling it and download last version directly using instructions from documentation. Official repositories are often focused on stability and they're avoiding non-patch upgrades. In many cases it means that PHP packages from official repositories are pretty outdated (2 years is like ages in PHP world). You should either install such packages directly from source or use some alternative repositories with more fresh packages (like this PPA for Ubuntu).



Answered By - rob006
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing