mlocati / powershell-phpmanager

A PowerShell module to install/update PHP, PHP extensions and Composer on Windows

Home Page:https://www.powershellgallery.com/packages/PhpManager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

extensions - simple listing

ltdeta opened this issue · comments

the function Getting the list of PHP extensions shows a lot of detail information

Type : Builtin
State : Builtin
Name : zlib
Handle : zlib
Version :
PhpVersion : 7.2.12
Architecture : x86
ThreadSafe : True
Filename :

An additional way to get only the names in a simple list would be helpful

What about this?

Get-PhpExtension | Select-Object -Property Handle

You can also do something very handy like

Get-PhpExtension | Where-Object {$_.State -ne 'Disabled'} | Select-Object -Property Handle,Type

Thank you, that's exactly what I was looking for