dtnbjjq51949 2010-09-20 00:20 采纳率: 0%
浏览 41
已采纳

PEAR频道为什么我需要一个?

So I guess a PEAR channel is like a server that lets you distribute your own PEAR packages? I was under the impression PEAR was sort of dead, until I started looking at Symfony (is it dead? I haven't used it in the past so maybe someone with more experience in PHP can comment on its state and whether it makes sense to invest any time in it)

Anyway my question. Why do I need to set up my own PEAR channel? There's a page here maintained by the PEAR project http://pear.php.net/channels/ but it looks like it may be just a list of PEAR channels as opposed to a public PEAR channel. Are there easier alternatives than setting up my own PEAR channel?

  • 写回答

3条回答 默认 最新

  • dongpan1871 2010-09-20 01:43
    关注

    PEAR is not dead. Symfony is not dead either.

    A PEAR channel is just like a package repository for your favorite linux distribution.

    If you are distributing a PHP library that others will find useful, you can set up your own PEAR channel and your users can use that to install/update/uninstall your library, using the pear tool they're already acquainted with.

    You do not need to set up your own PEAR channel -- you distribute your own code however you like.

    That said, if you're distributing library code for others to use, setting up your own channel is a nice way to do it.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥20 iOS绕地区网络检测
  • ¥15 python验证码滑块图像识别
  • ¥15 根据背景及设计要求撰写设计报告
  • ¥15 QT6颜色选择对话框显示不完整
  • ¥20 能提供一下思路或者代码吗
  • ¥15 用twincat控制!
  • ¥15 请问一下这个运行结果是怎么来的
  • ¥15 单通道放大电路的工作原理
  • ¥30 YOLO检测微调结果p为1
  • ¥15 DS18B20内部ADC模数转换器