Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71835 invoked from network); 8 Sep 2016 14:55:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2016 14:55:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=daniel@honestempire.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=daniel@honestempire.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain honestempire.com designates 66.111.4.28 as permitted sender) X-PHP-List-Original-Sender: daniel@honestempire.com X-Host-Fingerprint: 66.111.4.28 out4-smtp.messagingengine.com Received: from [66.111.4.28] ([66.111.4.28:33282] helo=out4-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/01-61313-FDB71D75 for ; Thu, 08 Sep 2016 10:55:28 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0CCCB2062E for ; Thu, 8 Sep 2016 10:55:25 -0400 (EDT) Received: from web4 ([10.202.2.214]) by compute4.internal (MEProxy); Thu, 08 Sep 2016 10:55:25 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=honestempire.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=luGl6zhHhXQDQLWStn1rdPATQ+w=; b=nZRRPD U7c8GbK8Afc2ov2ZvGBbQZgKC6q6BHdGSyeVsJ2jP7dJ+LF5fKh9zTEn6s1P2whi sik1TsKho5TxXQuikgWCToq4jDBLXZ6KOypad2Td0AiQ5z7qJfeSTbG/6CosneNR sy4h12bSlJZvBj8VO/1yZW0mrmJo38CoCET3M= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=luGl6zhHhXQDQLW Stn1rdPATQ+w=; b=CRL701EAD/R56jV4ZZwa2uQOouk4JtxlFnngJN+AuuefPFs JV40PLyDKRm5LD/3GGPmQUUs6U64bSIEQgxBSO+Zr66cV6JDXr/zVn2PSowjbnXw JwqXEy1+wZGjpJpq1gINTqQ19mYaVQCD7YlwYQGBd3nxBDaE+kfbOv75anmc= Received: by mailuser.nyi.internal (Postfix, from userid 99) id D0928CC80A; Thu, 8 Sep 2016 10:55:24 -0400 (EDT) Message-ID: <1473346524.1460168.719658521.3787EBE6@webmail.messagingengine.com> X-Sasl-Enc: hxgeS/qjkmOQtdzNJNz5Rk7Muz8nUD1d0I0kH8xBkPVN 1473346524 To: internals@lists.php.net MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-fa733828 In-Reply-To: References: <04998da0-6344-0b8b-c69a-411400e340ba@lsces.co.uk> <1473323097.1378681.719308017.2139F909@webmail.messagingengine.com> <8493a9dd-1f0e-f15f-3651-0278cf25234b@lsces.co.uk> Date: Thu, 08 Sep 2016 15:55:24 +0100 Subject: Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace withcomposer/pickle From: daniel@honestempire.com (Daniel Morris) On Thu, 8 Sep 2016, at 01:13 PM, Lester Caine wrote: > That is the chicken ... if you ARE already composer user then it will > make some sense, but pear gives a phpcs -h which works out of the box. > ./vendor/bin/phpcs -h does not sound right as an alternative? And I > would expect different installations of composer will affect that > installation? If I run `composer global require "squizlabs/php_codesniffer=*"`, I get: ``` Changed current directory to /Users/dmorris/.composer ./composer.json has been created Loading composer repositories with package information Updating dependencies (including require-dev) - Installing squizlabs/php_codesniffer (2.7.0) Downloading: 100% Writing lock file Generating autoload files ``` Composer has indicated in its output where the executables have been downloaded to, I could just add `~/.composer/vendor/bin` to my `$PATH` and then it essentially works the same way as PEAR. I generally prefer to have project specific dependencies though, as do most others, I believe. This thread has turned into a Composer help/support thread now, which I'm sure is not the original intention. I'd like to see the deprecation of PEAR, it served many well for a long time, but Composer has made life much easier for the majority. -- Daniel Morris daniel@honestempire.com