How to Install and Uninstall php-mockery Package on Debian 12 (Bookworm)

Last updated: November 22,2024

1. Install "php-mockery" package

Please follow the step by step instructions below to install php-mockery on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-mockery

2. Uninstall "php-mockery" package

Please follow the step by step instructions below to uninstall php-mockery on Debian 12 (Bookworm):

$ sudo apt remove php-mockery $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-mockery package on Debian 12 (Bookworm)

Package: php-mockery
Version: 1.5.1-2
Installed-Size: 349
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Depends: libpcre3 (>= 7.0), php-common, php-hamcrest (>= 2.0.1), php-hamcrest (<< 3~~)
Suggests: php-mockery-doc
Breaks: phpunit (<< 8.0~~)
Description: mock object framework for PHPUnit and other testing framework
Description-md5: 6606b7b33a9ed757d9fe7b1ab179f1d5
Homepage: https://docs.mockery.io
Section: php
Priority: optional
Filename: pool/main/p/php-mockery/php-mockery_1.5.1-2_all.deb
Size: 50420
MD5sum: 8f840ce92c2fe9c2348cb2f25ba47049
SHA256: 744d2aca682f0e05f1ace9f16c5ddfd55b79f86cd466f9f830259bd14e0c86f7