TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What are PHP's equivalents to Python's top tools?

3 pointsby mcbetzover 9 years ago
I have been a happy Python user for years and super thankful for the plethora of good tools in the Python environment. However I sometimes have to use some PHP and still feel like I&#x27;m in the 90ies when it comes to the tools I use. I skimmed through Josh Lockhart&#x27;s Modern PHP, but still I have not found many alternatives to the tools I love.<p>I&#x27;m sure, however, that these exist. So, what are the closest best practice equivalents, for...<p>- Creating separate dev environments using `Virtualenv`? - Installing packages in these envs using `pip`? How can I use composer in that workflow? - Enabling persistence in a super simple way using `dataset`? - Handling requests using `requests`? - Creating beautiful command line interfaces using `click`? - Getting an overview of good practices via http:&#x2F;&#x2F;docs.python-guide.org&#x2F;en&#x2F;latest&#x2F;?<p>Probably you can come up with even more great workflow tools in Python and their equivalent in PHP.

1 comment

mcbetzover 9 years ago
I did some more research and might have find a few good PHP equivalents:<p>- guzzle for HTTP request handling - <a href="http:&#x2F;&#x2F;docs.guzzlephp.org&#x2F;en&#x2F;latest&#x2F;" rel="nofollow">http:&#x2F;&#x2F;docs.guzzlephp.org&#x2F;en&#x2F;latest&#x2F;</a><p>- Virtphp for virtual environments - <a href="https:&#x2F;&#x2F;github.com&#x2F;virtphp&#x2F;virtphp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;virtphp&#x2F;virtphp</a><p>- Composer for dependency management - <a href="https:&#x2F;&#x2F;getcomposer.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;getcomposer.org&#x2F;</a><p>- PHP-cli-tools for CLI building, see the example: <a href="https:&#x2F;&#x2F;github.com&#x2F;wp-cli&#x2F;php-cli-tools&#x2F;blob&#x2F;master&#x2F;examples&#x2F;arguments.php" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wp-cli&#x2F;php-cli-tools&#x2F;blob&#x2F;master&#x2F;examples...</a>
评论 #11065654 未加载