Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124081 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id CA3DD1A009C for ; Sun, 30 Jun 2024 09:18:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719739212; bh=xqsgpRPscQWTD0BZxTaLX8/GJYpjAhb9DV0ut9x6kKA=; h=Date:From:To:Subject:In-Reply-To:References:From; b=S6k4mSJM4gVy6Ye3O9Sx+Fn1d+y23YN+4yX6BixiVSMaXAWjg2gKjl24HM4El4ytH H9oj7bEjzsqrF9xCn5L/fdUXuaY6eaAOpYeyq+x+MV2i7qBPX560A9eKGbZVUpCSNF e8C/cOp3AIhzkxgLKtAClYt676gZHkqlxr9B/IAhYRM49uLDyl9ZhKq4SrVDu3DbtA XARjn92z9VUl0e9QGEg6KhW/bhNHxiXCSnqP5htLm/6xkBc48Ocfw0Cb48cAJiMmu4 LoztRlVSj99Rn2IjhdgFCnf8d88uhOsTLqv1VVL84H6zJYiQnVlCvOyZO16mUeOC2W 821/AegYaMqtg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 67277180382 for ; Sun, 30 Jun 2024 09:20:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from fout1-smtp.messagingengine.com (fout1-smtp.messagingengine.com [103.168.172.144]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 30 Jun 2024 09:20:10 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id 928541380262 for ; Sun, 30 Jun 2024 05:18:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 30 Jun 2024 05:18:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1719739130; x=1719825530; bh=MMTV4iUEcrKrk3EhRloRKg5AHG6LCRWR4ccjQcMB9jI=; b= nLLVwpcY/UC24CyEpUbkL13O5a+7WQZk3lcZY8ND0ydg4ZyNwJoH+4rslnsPMAHq HTEBp7ZTJqpFhFs10MsDuDekoSLLRWVuJ7pqlOw/RLBNY0RmNFBMGrCyL2SUIpaF pYLl6VyZHS+QpFMXhvJGVBDtphYf+7MTsKO490+edc0UlRQLsQCQyQz0IauGDGCs yKW/jQY9kF1b6oiZBg5QTHF6WVw5nghFx8CriuNMz1zGyTd+pf58zosfIkkBNeu7 YTpjlaFpRs5B9YiGe27AFanGuX3z2lKMF6uleZ2YvA7IMhKwH8lLZRTIe1p9vpjl pPDZX8EB5g76H/lp0tHxcQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1719739130; x= 1719825530; bh=MMTV4iUEcrKrk3EhRloRKg5AHG6LCRWR4ccjQcMB9jI=; b=P SJZXsK5kPwB94afXkXL0NqYKWhKGCdJ3CGsHzdKz2oUuKJlKRcDBcpw7oEPvq6D2 EsrykPBPHmGbBMHtO82l2Kvq5Nl4kwQRMl6vpW62juVbRfTpTU2A7MVriIxNjYlD UHPGre7SMqayEf/fZJsueOPhEsdnchWvjLrGW3p2dJ2TxRiXMUIy5UL+Qao0uSXI e/mqSHkKgSaJ5p9Czj6tTsVLH7RickvpTVG6XsRKMLEpn19wNr+mEm5I5/7rE6pP CeGO1awPcmZM4/z2RZqO0cVlN9JJvHQIYWhTLdXf8jCXAJ9RFITJOIbXwxbNvrqu W/42TPnI4tKEre/7Vs14Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddugddufecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvufgfjghfkfggtgfgsehtqhhmtddtreejnecuhfhrohhmpedftfhofigr nhcuvfhomhhmihhnshculgfkoffuohfrngdfuceoihhmshhophdrphhhphesrhifvggtrd gtohdruhhkqeenucggtffrrghtthgvrhhnpeehleffteeigfevudetfedugedtudevledu geeugeelheeihfehgfdtkeevvefgleenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehimhhsohhprdhphhhpsehrfigvtgdrtghordhukh X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 30 Jun 2024 05:18:49 -0400 (EDT) Date: Sun, 30 Jun 2024 10:18:44 +0100 To: PHP internals Subject: =?US-ASCII?Q?Re=3A_=5BPHP-DEV=5D_=5BInitial_Feedback=5D_PHP_User_Mo?= =?US-ASCII?Q?dules_-_An_Adaptation_of_ES6_from_JavaScript?= User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 29 June 2024 21:20:23 BST, Michael Morris wrote: >Composer is wonderful as a userland solution to a problem the Internals >team has failed to solve, but such a critical problem as package >management being mostly solved in userland I don't think anyone failed to solve anything=2E Somebody came along and b= uilt a solution, it worked well, and people adopted it=2E In fact, so many = people adopted it that we're in the happy place of not having competing too= ls, outside of application-specific plugin installers=2E=20 Its release cycle is independent of PHP's, which means you can get the lat= est version of Composer whatever version of PHP you're on=2E It's written i= n PHP at least in part because there are a lot more PHP programmers willing= to maintain PHP tools than there are C programmers willing to maintain PHP= tools=2E If Composer (or some new package manager) was marked as an official part o= f the PHP project, I doubt it would make any difference to how people find = it - users looking at existing projects find it because it's the first line= of the installation instructions; new PHP users learning from scratch are= probably following tutorials the official project has no control over, whi= ch either mention it or not=2E > using a configuration file >(composer=2Ejson) written in another programming language JSON is not a programming language=2E It looks a bit like JS, because it w= as invented by a JS developer, but was explicitly designed as a cross-langu= age data format=2E=20 Some other package managers use other data formats, like XML, or TOML=2E T= here probably are languages which use their own source code for that config= uration, but I've not come across any=2E As I mentioned on another reply, it would take an extremely good sales pit= ch for me to pay any attention to any attempt at a replacement for Composer= , especially one that wasn't compatible with its huge library of existing p= ackages=2E=20 If the sales pitch is "JSON is not the best format for package configurati= on", count me out=2E=20 The same goes for a lot of other suggestions in this thread: I'm going to = need a pretty strong sales pitch to change my hierarchical namespaces to fl= at module imports - and more importantly, projects like Symfony and Laravel= are going to need that sales pitch, before they break compatibility for th= ousands of applications built on their current packages=2E Other parts of this thread are just random rants about things people don't= like in PHP, which I have zero interest in, and have nothing whatsoever to= do with modules or package management=2E Rowan Tommins [IMSoP]