PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, August 31, 2022

[FIXED] How can I easily package PEAR dependencies with app?

 August 31, 2022     pear, php     No comments   

Issue

I am working on a PHP application which leverages some PEAR packages. I want to be able to package the app in archive (e.g. tar, zip, etc) to be easily downloaded and extracted on servers to run. I do not want the servers to need PEAR for downloading or installing the dependencies. Is there a simple way of packaging the PEAR dependencies with the application?


Solution

Okay, you are probably looking for Composer, a tool for dependency management in PHP.

If I understand you correctly, this should do what you want.



Answered By - hakre
Answer Checked By - Timothy Miller (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing