Can I know my datatable version on command line on windows artisan command?
and how do I do to uninstall old version by the composer?
D:\appserv\www\comefourPS>composer require yajra/laravel-datatables-oracle
Using version ^8.4 for yajra/laravel-datatables-oracle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover
Discovered Package: fideloper/proxy
Discovered Package: laravel/tinker
Discovered Package: laravelcollective/html
Discovered Package: appstract/laravel-blade-directives
Discovered Package: appstract/laravel-bootstrap-components
Discovered Package: yajra/laravel-datatables-oracle
Package manifest generated successfully.
D:\appserv\www\comefourPS>
Firstly I think this is not right place to ask this. This is not about this package, its about using command line and composer. You could do a quick google search composer learn package version or look at Composer's docs.
Anyways you can use show command to learn details of a package. For example for this package you can use
$ composer show yajra/laravel-datatables-oracle
to get its details. You can filter it by using grep pipe as
$ composer show yajra/laravel-datatables-oracle | grep "versions"
which gives only the version not other details.
Most helpful comment
Firstly I think this is not right place to ask this. This is not about this package, its about using command line and composer. You could do a quick google search composer learn package version or look at Composer's docs.
Anyways you can use
showcommand to learn details of a package. For example for this package you can useto get its details. You can filter it by using
greppipe aswhich gives only the version not other details.