{"id":21636,"date":"2021-03-03T20:40:49","date_gmt":"2021-03-04T01:40:49","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/installing-phpunit-and-pear-package-manager-for-windows-web-development-by-sayed-ahmed\/"},"modified":"2021-03-03T20:40:49","modified_gmt":"2021-03-04T01:40:49","slug":"installing-phpunit-and-pear-package-manager-for-windows-web-development-by-sayed-ahmed","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=21636","title":{"rendered":"Installing PHPUnit (and Pear package Manager) for Windows #Web Development #By Sayed Ahmed"},"content":{"rendered":"<p>Pre-requisite:<\/p>\n<p>1. You need to install pear package manager first before installing PHPUnit<\/p>\n<p>I installed PHPUnit as well as Pear using Wamp. It should be the same with vanilla (i.e. plain) PHP<\/p>\n<p>The instructions at: http:\/\/nishutayaltech.blogspot.in\/2011\/04\/installing-phpunit-on-windows.html<\/p>\n<p>Worked well for me.<\/p>\n<p>One thing: remember to run command prompt as an administrator<\/p>\n<p>&nbsp;<\/p>\n<p>&#8212;-<\/p>\n<p>Details:<\/p>\n<p>&nbsp;<\/p>\n<p>First, install pear package<\/p>\n<p>Then install phpunit : http:\/\/nishutayaltech.blogspot.in\/2011\/04\/installing-phpunit-on-windows.html<\/p>\n<p>&#8212;<\/p>\n<p><strong>Details<\/strong><\/p>\n<p><strong>To install PHP pear, one approach,<\/strong><\/p>\n<p>Go to http:\/\/pear.php.net\/go-pear.phar, and save this file in your PHP directory (where php.exe or similar exists).<\/p>\n<p>(this file means : go-pear.phar in the following two sections)<\/p>\n<pre><strong># Webbased installation:<\/strong>\r\n# 1) Download this file and save it as go-pear.php\r\n# 2) Put go-pear.php on your webserver, where you would put your website\r\n# 3) Open http:\/\/yourdomain.example.org\/go-pear.php in your browser\r\n# 4) Follow the instructions, done!\r\n#\r\n<strong># Command-line installation (for advanced users):<\/strong>\r\n# 1) Download this file and save it as go-pear.php\r\n# 2) Open a terminal\/command prompt and type: php -q go-pear.php\r\n# 3) Follow the instructions, done!\r\n\r\n<strong>Reference:<\/strong><\/pre>\n<h1>Getting and installing the PEAR package manager<\/h1>\n<pre>http:\/\/pear.php.net\/manual\/en\/installation.getting.php\r\n\r\n\r\n<strong>Seems to be a good resource<\/strong>\r\nhttp:\/\/www.viper007bond.com\/2012\/08\/21\/installing-phpunit-on-windows\/\r\n\r\n<strong>Note:\r\nComposer (not PEAR) is the preferred way of installing PHPUnit.\r\nCheck details at: http:\/\/phpunit.de\/manual\/current\/en\/installation.html#installation.composer\r\n\r\n\r\n\r\n<\/strong><\/pre>\n<p>&nbsp; From: http:\/\/sitestree.com\/?p=1097<br \/> Categories:Web Development, By Sayed Ahmed<br \/>Tags:<br \/> Post Data:2014-06-24 03:12:37<\/p>\n<p>\t\tShop Online: https:\/\/www.ShopForSoul.com\/<br \/>\n\t\t(Big Data, Cloud, Security, Machine Learning): Courses:http:\/\/Training.SitesTree.com<br \/>\n\t\tBlog: http:\/\/Bangla.SaLearningSchool.com<br \/>\n\t\thttp:\/\/SitesTree.com<br \/>\n\t\t8112223 Canada Inc.\/JustEtc: http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning)<br \/>\n\t\tShop Online: https:\/\/www.ShopForSoul.com\/<br \/>\n\t\tMedium: https:\/\/medium.com\/@SayedAhmedCanada<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pre-requisite: 1. You need to install pear package manager first before installing PHPUnit I installed PHPUnit as well as Pear using Wamp. It should be the same with vanilla (i.e. plain) PHP The instructions at: http:\/\/nishutayaltech.blogspot.in\/2011\/04\/installing-phpunit-on-windows.html Worked well for me. One thing: remember to run command prompt as an administrator &nbsp; &#8212;- Details: &nbsp; First, &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=21636\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1917],"tags":[],"class_list":["post-21636","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":62813,"url":"http:\/\/bangla.sitestree.com\/?p=62813","url_meta":{"origin":21636,"position":0},"title":"Installing PEAR Package Manager and PHPunit #PHP #By Sayed Ahmed","author":"Author-Check- Article-or-Video","date":"May 21, 2021","format":false,"excerpt":"From: http:\/\/sitestree.com\/?p=2412 Categories:PHP, By Sayed AhmedTags:Installing, PEAR, PHPunit Post Data:2015-10-09 08:28:11 Shop Online: https:\/\/www.ShopForSoul.com\/ (Big Data, Cloud, Security, Machine Learning): Courses: http:\/\/Training.SitesTree.com In Bengali: http:\/\/Bangla.SaLearningSchool.com http:\/\/SitesTree.com 8112223 Canada Inc.\/JustEtc: http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) Shop Online: https:\/\/www.ShopForSoul.com\/ Medium: https:\/\/medium.com\/@SayedAhmedCanada","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":75916,"url":"http:\/\/bangla.sitestree.com\/?p=75916","url_meta":{"origin":21636,"position":1},"title":"installing pear and phpunit","author":"Sayed","date":"November 19, 2023","format":false,"excerpt":"https:\/\/youtu.be\/TyjvAl4P9Vw","rel":"","context":"In &quot;From Youtube Channel&quot;","block_context":{"text":"From Youtube Channel","link":"http:\/\/bangla.sitestree.com\/?cat=1952"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/TyjvAl4P9Vw\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":72015,"url":"http:\/\/bangla.sitestree.com\/?p=72015","url_meta":{"origin":21636,"position":2},"title":"Output for the command: composer require sparsh\/buy-now-magento-2-extension","author":"Sayed","date":"November 28, 2021","format":false,"excerpt":"Output for the command: composer require sparsh\/buy-now-magento-2-extension Output: Using version ^1.0 for sparsh\/buy-now-magento-2-extension .\/composer.json has been updated Running composer update sparsh\/buy-now-magento-2-extension Loading composer repositories with package information In Laminas\\DependencyPlugin\\DependencyRewriterV2::onPrePoolCreate Updating dependencies Lock file operations: 1 install, 0 updates, 0 removals - Locking sparsh\/buy-now-magento-2-extension (1.0.1) Writing lock file Installing dependencies from\u2026","rel":"","context":"In &quot;\u09ac\u09cd\u09b2\u0997 \u0964 Blog&quot;","block_context":{"text":"\u09ac\u09cd\u09b2\u0997 \u0964 Blog","link":"http:\/\/bangla.sitestree.com\/?cat=182"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":23963,"url":"http:\/\/bangla.sitestree.com\/?p=23963","url_meta":{"origin":21636,"position":3},"title":"#laravel laracast testing Homemade Fakes Coupon Generation With TDD A Clean PHPUnit Workflow in PHPStorm Testing Email With Custom Assertions","author":"Author-Check- Article-or-Video","date":"April 3, 2021","format":false,"excerpt":"Homemade FakesTesting Laravel - Episode #15 TESTING \u2022 AUG 18TH, 2017 \u2022 ADVANCED \u2022 18:28 ADD TO WATCHLIST Testing LaravelSeries: 15 Episodes TESTING \u2022 DEC 16TH, 2015 \u2022 INTERMEDIATE \u2022 18:00 ADD TO WATCHLIST A Clean PHPUnit Workflow in PHPStormPHP Bits - Episode #2 TESTING \u2022 MAY 16TH, 2017 \u2022\u2026","rel":"","context":"In &quot;Laravel&quot;","block_context":{"text":"Laravel","link":"http:\/\/bangla.sitestree.com\/?cat=1852"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24271,"url":"http:\/\/bangla.sitestree.com\/?p=24271","url_meta":{"origin":21636,"position":4},"title":"#laravel Professional PHP Workflow in Sublime Text 3 Instant PHPUnit Feedback and Workflow Automatic Image Optimization Sequel Pro How to Structure Your Caching Layer","author":"Author-Check- Article-or-Video","date":"April 6, 2021","format":false,"excerpt":"Professional PHP Workflow in Sublime Text 3Series: 11 Episodes TOOLING \u2022 AUG 8TH, 2017 \u2022 BEGINNER \u2022 41:45 ADD TO WATCHLIST Instant PHPUnit Feedback and WorkflowProfessional PHP Workflow in Sublime Text 3 - Episode #11 TOOLING \u2022 AUG 8TH, 2017 \u2022 INTERMEDIATE \u2022 3:36 ADD TO WATCHLIST Sync Your Settings\u2026","rel":"","context":"In &quot;Laravel&quot;","block_context":{"text":"Laravel","link":"http:\/\/bangla.sitestree.com\/?cat=1852"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":23393,"url":"http:\/\/bangla.sitestree.com\/?p=23393","url_meta":{"origin":21636,"position":5},"title":"Installing Plugins (modules\/blocks) for Moodle #Root","author":"Author-Check- Article-or-Video","date":"March 30, 2021","format":false,"excerpt":"Installing Plugins (modules\/blocks) for Moodle Sure, I did 1. Installing a module\/plugin\/block As a Zip File login as an administrator then from left navigation site administration plugins install add ons in next screen select what you want to install module or block select\/browse the zip file to upload (sure, you\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/21636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21636"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/21636\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21636"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}