Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94962 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64922 invoked from network); 9 Aug 2016 05:54:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2016 05:54:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.214.46 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.214.46 mail-it0-f46.google.com Received: from [209.85.214.46] ([209.85.214.46:38644] helo=mail-it0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 96/CD-33134-EFF69A75 for ; Tue, 09 Aug 2016 01:54:06 -0400 Received: by mail-it0-f46.google.com with SMTP id x130so5303224ite.1 for ; Mon, 08 Aug 2016 22:54:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=EJCnDhsdQLvOprZ4cEzWZH7phKa1hbuxI7AOwuyHV2U=; b=OoGuAa5pJli3eUKNjJSiC8iAWheis6xdzObXdqY9uqLYbWUxpkCajlKytSQ3AYySes r34q5Gls+01J6Sf7FeXONA/VSDwrwIJ7ARMaT+n3WHlHoA2jPR5PW1W8mubtE+jwcGgo 6OHyZooqMNtNPKWGR9uT39T2GSPXuCHJgPd6L8ABR+8/mYXN2J9AHU2Z42CSvDi+ZJzV beg4bVWighwgaxQwIkUyyEKzMJqFnxrNEaGS8xmEVJz7Vt5gkPHbvdrt0rOjt0KbdKde PfpI4pLaQKmlEKQHiknwNwK5O9NU8/Iaj2clFbSETQhzVFIh2fMt8nfqO4aXj+amBAU7 Rf+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=EJCnDhsdQLvOprZ4cEzWZH7phKa1hbuxI7AOwuyHV2U=; b=i8PoTmOgiypj+UMzzguAtS/vQo1WUf5d3uEQ8S3lfkLfFoLUxlNNEuuOSAwxsR80oP qPGAM91m71pqmjv/L3KC4RUqJwLP0YMaFc9/4XZlCw8DvIuCPmEneRrHI5Byu/5NCkb4 LWNG3c2eS6A5uwnXTCo3oHLVsBoE3v5Fs2VXDoBifm9D2As/QJwmm4mwKTcd9X5wVdAU VWdT+jUKFLnJ2yq/jV4EZiuf91ASa6herD+e63wIefFDeh1Cf2l5+AoYXN3JePY7x6/Z GAAWsKSs6czqNFLscCSG1KpC/6z+YOUaKkZtOAltABBgSck62j0h1JqbWo/EcDdwu+Oe B8yg== X-Gm-Message-State: AEkooutNzFKSPcTkzOEh4jSjGJRDl/Mu6ubVUY3ftVTwn1XRuB/q5fF8Q9KU5xY/cZbPsxt5xDPlWw7YA3YE3w== X-Received: by 10.36.137.215 with SMTP id s206mr23058452itd.82.1470722043245; Mon, 08 Aug 2016 22:54:03 -0700 (PDT) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.36.117.201 with HTTP; Mon, 8 Aug 2016 22:54:02 -0700 (PDT) X-Originating-IP: [107.198.91.68] In-Reply-To: <9ccdcfcd-7a1c-42df-c893-398781e1f1d2@lsces.co.uk> References: <9ccdcfcd-7a1c-42df-c893-398781e1f1d2@lsces.co.uk> Date: Mon, 8 Aug 2016 22:54:02 -0700 X-Google-Sender-Auth: BFlpii4QOHRg3AZUzeCsfrCnCkE Message-ID: To: Lester Caine Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Function auto-loading From: pollita@php.net (Sara Golemon) On Mon, Aug 8, 2016 at 9:59 PM, Lester Caine wrote: >> That is, when I'm running the test-suite of my package, the Composer >> project is the root folder of that package - but when the package is >> being consumed by another project, it's installed in a sub-folder in >> that project's "vendor" folder. > > So Composer IS now the rule rather than some optional extra? > Yes, the community has decided that for us. Or at least, Composer is a *significant* player in the ecosystem of PHP development. require_once() might be fine for NiH applications, but for the collaborative world of modern PHP, it's the defacto standard. > It is OK > for users who only want to load the one application, but when one is > running a large number of different packages it's a major hindrance. > You'll need to back that up with some more detail. Composer is specifically designed to _compose_ through multiple packages and also allows for isolation when that sort of blending doesn't make sense. Far from a hinderance. > I don't need to know where my Linux install has put the include files ... > it takes care of that and then finding the pigging things again is the > problem. > So, autotools and cmake and the like exist for what purpose then? Even pkg-config, which was supposed to solve much of this problem is incomplete, at least on GNU distributions, falls short. > Much the same with finding the source of problems in the mess > that composer has created! > [citation required] -Sara