Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.93 KB

README.md

File metadata and controls

60 lines (47 loc) · 1.93 KB

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