Skip to content

khanakia/pcu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcu (php-composer-update)

Updates your composer.json dependencies to their latest versions.

Installation

go install github.com/khanakia/pcu@main

Using Homebrew

brew tap khanakia/pcu
brew install pcu
pcu --help

Usage

Check the ./composer.json file in current working directory and print the latest version information

pcu check

Update the same composer.json file with latest version

pcu check -u

Specify custom input and output path

pcu check -u --file=./test/composer.json --out=./out.json

Sample Output

laravel/jetstream                                   ^4.0            ^4.0
mll-lab/laravel-graphiql                            ^3.0            ^3.1
mll-lab/graphql-php-scalars                         ^6.1            ^6.2
nuwave/lighthouse                                   ^6.8            ^6.22
laravel/sanctum                                     ^3.2            ^3.3
milon/barcode                                       ^10.0           ^10.0
filament/filament                                   ^3.0-stable     ^3.0
guzzlehttp/guzzle                                   ^7.2            ^7.8
hidehalo/nanoid-php                                 ^1.1            ^1.1
barryvdh/laravel-dompdf                             ^2.0            ^2.0
egulias/email-validator                             ^4.0            ^4.0
laravel/framework                                   ^10.0           ^10.30
doctrine/dbal                                       ^3.6            ^3.7
commerceguys/addressing                             ^2.0            ^2.0
timehunter/laravel-google-recaptcha-v3              ^2.5            ^2.5
laravel/tinker                                      ^2.8            ^2.8
plank/laravel-mediable                              ^5.9            ^5.9

Video

PCU Demo

About

Updates your composer.json dependencies to their latest versions.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages