Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125769 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 192EC1A00BD for ; Tue, 8 Oct 2024 22:40:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1728427386; bh=YDG+W7js0kEcJAvlshsuca1s9Tb8TLOudOcavrYSRyQ=; h=Date:From:To:In-Reply-To:References:Subject:From; b=P3w846dPBjysZG8AYsF3CKO1OU9icz//egY85a2+i4T0WocSGEjF2tPxlrnz7Pljp YXhuI93da+3F89dmMny291DEIp7hyjR+8116/pg3emvySJ0APlDPYTdkaJ27IuqhD+ ZVR6eeaoijBM6AG384sFsxpB3fiCcvdOemrmQke5MinG5D9FJPQ1nM8vBxYF49Fy/w xmzWFPxJzLxErwxLiNmro4K1OhdElawoXA/JD5cmZIH7yuS37JJ0Bl9CMXKE/AGHOt FqLiYaBndeWz762CMtkGHNkfVDnbHCje0Qq0PrVI7720czUvhBCutIvuKLTEI+a/YE vwiBeFN1iV7pA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 06140180044 for ; Tue, 8 Oct 2024 22:43:06 +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_PASS,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fhigh-a6-smtp.messagingengine.com (fhigh-a6-smtp.messagingengine.com [103.168.172.157]) (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 ; Tue, 8 Oct 2024 22:43:05 +0000 (UTC) Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.phl.internal (Postfix) with ESMTP id 0768D114021A for ; Tue, 8 Oct 2024 18:40:48 -0400 (EDT) Received: from phl-imap-07 ([10.202.2.97]) by phl-compute-12.internal (MEProxy); Tue, 08 Oct 2024 18:40:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= trainedmonkey.com; 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=1728427248; x=1728513648; bh=qguIxQAKmE8yuGIVjFbCE JrBmdh5rlbpRtZQyPBvE+A=; b=jxykBbOes5ev/oK+XFPc3hrtihRVojhf6MAnd TdQSRRwiok284w8e3RgaBn2rUjt2IZj8BGGtIOlnSxOdVze6NyldiXDCOo6Dx7Ev sMGEvvUk8Sl1xzZ+ppSZEnD6MKN40kMqOcD20TGpSTPjr1zmViJDXZo4k5bz+lPP gB8h55K9KnVS1F/jQkEqz/kxOkRgLVUiElM0J6YmJhrI283392jA7jQphOIXdqnN +EgI8NwTYc5YB4EI8DTFC3t/emVw3Sjg4oAB8tBTGlbWzF5hjxydGRl1ua7BXwIy naHauIn6wvh5xYTPKxMey8gV7YzSa5MGmBRRk38EEIrcSowHg== 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=1728427248; x= 1728513648; bh=qguIxQAKmE8yuGIVjFbCEJrBmdh5rlbpRtZQyPBvE+A=; b=E FEKItADi+dbC1CCeEJ7ik7ecCEOZShSRA+zLG8HKan5uae6bpDwUEW0Ahr8o/swT M4UVhfNyF+WiJfRodXqtIam/4ExBlsPY07SqJ9CETuz/MTlh4PS2fRaWTTrfU20Z nh7V2hSa7yX0njaRPy4FFHk6/8kpgl88Z/QAlfMUfb27zvpCG1YX6TQMNRgqcchS x0O8slWKRGEuJcj2ULr233EE9bmfU2VN8caJCdBz2IyZcI7ugqu0Lkj5AoSDCvls WeKl4iCincAmKyQPJaaHNSxi8Rtnv4aA20iRXFf353fT7aMYSbgAJFPh2gcNCqX6 q88lF139kawcR8rB0HEuQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefvddguddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefoggffhf fvkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedflfhimhcuhghinhhsthgvrggu fdcuoehjihhmfiesthhrrghinhgvughmohhnkhgvhidrtghomheqnecuggftrfgrthhtvg hrnhepgfeiheefffelgeffheduudffieffueeutedvffevvdfhhffftddtudegtdelvdfh necuffhomhgrihhnpehphhhprdhnvghtpdifihhnughofihsrdhtohholhhspdhinhhsth grlhhlrdgtlhhouhgunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepjhhimhifsehtrhgrihhnvggumhhonhhkvgihrdgtohhmpdhnsggprhgtph htthhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhs sehlihhsthhsrdhphhhprdhnvght X-ME-Proxy: Feedback-ID: ia2404087:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 68DA3BA006F; Tue, 8 Oct 2024 18:40:47 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Tue, 08 Oct 2024 15:40:26 -0700 To: internals@lists.php.net Message-ID: <0737bbf0-a3ea-4d51-a9dd-aece0c3f3948@app.fastmail.com> In-Reply-To: <92b537ac-62f4-435c-bf55-07223cfa1915@app.fastmail.com> References: <92b537ac-62f4-435c-bf55-07223cfa1915@app.fastmail.com> Subject: Re: [PHP-DEV] [RFC] Policy on 3rd party code Content-Type: text/plain Content-Transfer-Encoding: 7bit From: jimw@trainedmonkey.com ("Jim Winstead") On Wed, Oct 2, 2024, at 11:36 AM, Larry Garfield wrote: > Since Jim's RFC proposal was criticized for being too vague, I hereby > offer a somewhat more prescriptive policy proposal on using 3rd party > code. (With JIm's blessing.) It's still more heuristics than rules, > but I think that's the right approach generally. It also includes a > voting mechanism to resolve edge cases when they come up. > > I'm sure we'll bikeshed it to death, but please keep an open mind about > the concept in the first place. PHP is more than just php-src, and > that's a good thing. We need to catch up with that reality, while at > the same time maintaining a reasonable neutrality about projects > Internals doesn't manage directly. > > https://wiki.php.net/rfc/third-party-code > > *Puts on trusty flame-retardant suit* Some additional libraries that could probably be added to the list of pre-approved libraries for PHP tooling because they're already being used: * michelf/php-markdown (used by main.php.net) * phpmailer/phpmailer (used by main.php.net) * squizlabs/php_codesniffer (used by news-web.php.net) * symfony/dotenv (used by pecl.php.net) * symfony/console (used by pecl.php.net) * fzaninotto/faker (used by pecl.php.net) * friendsofphp/php-cs-fixer (used by www.php.net) The way that the "PHP documentation" section talks about third-party libraries feels strange, but there are also other third-party tools and services mentioned and that we may want to think about: The documentation has a chapter on installing LiteSpeed which covers both the commercial version (LiteSpeed Web Server) and the open source version (OpenLiteSpeed Web Server). https://www.php.net/install.unix.litespeed Can we add a section on Caddy that is similar to the ones for Apache and NGINX? What about FrankenPHP? The instructions for installing macOS via packages has an example for Brew but not for MacPorts or Fink. https://www.php.net/install.macosx.packages There is a section in the Windows install docs that lists third-party packages but there's not even an example or explanation like there is for Brew on macOS: https://www.php.net/install.windows.tools There is a chapter on installing PHP on cloud providers that only includes three providers: https://www.php.net/install.cloud Could we add a section about Google Cloud? Could we add a section about Oracle Cloud? Could we add a section about STACKIT? Could we add a section about Hetzner? What about Laravel Cloud (when it launches)? Jim