Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125320 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 32E141A00BD for ; Tue, 27 Aug 2024 13:56:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724767095; bh=ozDa4Ae79mumEpSeJZ6Aw4CcQCfsgkErrBaRAcINfnA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=OvU1kZRhdaChARxSKlKvzDAlYVqSw2kkyIFOTkFT5rHDjCmITrkI4XAnyIZVpyIWi h+F7XmJfVnHPdd0f1nPoMJgMr+7zBR4J2+0TVU6PU2GHlzjDxpc3OXyDGLC81GOoHe pAovRuIi7UUBN8b6x2QcKsT2j32tVQuPrUB2Rx0rJ+WjGqDhkzBK2IwGGX5NRaxOm3 L1NKeEFQpb7BCcrIjBq2lKCSL319fdIunq73q32qYQCeKwJNswwXn+QiuY1mDzhQkp y4LLmm9WimAFyLqSv557jzZWKHmNNOyxra187ulqWa5uSxTY2rWd2+ff1a2RU9yx3o 8FcX904hVYG6A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 58A061801E9 for ; Tue, 27 Aug 2024 13:58:12 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-oo1-f43.google.com (mail-oo1-f43.google.com [209.85.161.43]) (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, 27 Aug 2024 13:58:10 +0000 (UTC) Received: by mail-oo1-f43.google.com with SMTP id 006d021491bc7-5de92d2e9b3so1638181eaf.2 for ; Tue, 27 Aug 2024 06:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724766976; x=1725371776; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ozDa4Ae79mumEpSeJZ6Aw4CcQCfsgkErrBaRAcINfnA=; b=lByETK+8lS8Ez3DdYHkumg2mpbd5DlWG7DcUgwfzV0n1JLaZ89LHH4DCTZAy7Lez1t TjpN4kqjOUMB1Wc/NEhvmmOdZSketKXjz6u3kPxyehvgYicoC39ZAki0I2AioHY8ZBVC X+vrpmH2SgohkxL+Vne0BXPT3DR6uOc2wDE74nfdY9NzVf35Cxl0ITLkibbXZwUx1STD IGfFO50+kspkZuOSpumAXsCQ3VOsnQhZy/v7xYfqX2ZbXBvaOuI+sZuHxINYOJkezf7m DT85zTfa3NV1fLfBR3e2KHNKUMHHXGXgBTMZdUTzIotAs2JoA0dkdIGc40cs+doBr1if xoZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724766976; x=1725371776; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ozDa4Ae79mumEpSeJZ6Aw4CcQCfsgkErrBaRAcINfnA=; b=SzWe6WXFBGaZGpI2He4yxfUsDuwatrHj7K5DAbNsFgXWm1ekHDxc5h4YeFfY7wSlsQ sG9DXvzB3RXIKq6I07AAhr4AO89rOgjQ/+ksDeCPaKzPpVI1GKSbAvVwlkkSBRs81h6K EbVtNJzQjVvr5NiHFBFtS7C3CCiJT2/yo9JP9+8/xUUBEBqLmpWgPRZnxYU0hxEdzS1e Lfzjdou+zvhjjat9KKRbx1Cbw/OdIRo0xe3MQKWDLOZu7hmqAOtaOr3xZTxk/yePIf+L r7eSJB9FRNr60mp3QXRgs/p8rfuA3D5NC6cOPa58QR5boM72AxjOJTpLV/US2yxoJD3t q0GQ== X-Gm-Message-State: AOJu0YyNEjORpkNMIil9p/2AvOLAwOW2GxTUfiowWDs9OrHQULfRESBg m9cRcB0H5alvYYiAqtgdKP20icJ329H7BLfI//2flwDHLb67UujOiybiaQtTZRgtzp8zu5+Br+e vSMtKcF2rlkh0QuYXslqKr8yGT8Ac4B+5mGE= X-Google-Smtp-Source: AGHT+IGTyi4SifnvbMs5MkS9xQ+1R44mE55k0G2n3xU8OH+eOdK0MOitrB4SrSo5PiA321g/vfHbRCLcqTB87/UQ1ig= X-Received: by 2002:a05:6820:2218:b0:5ce:d2e3:b18 with SMTP id 006d021491bc7-5dea67d50f8mr3871087eaf.8.1724766975994; Tue, 27 Aug 2024 06:56:15 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <642cb3ea-bf51-4832-8539-0540742000e1@app.fastmail.com> <2c2f13b5-9cad-4bcc-b59f-01693e494bb3@heigl.org> In-Reply-To: Date: Tue, 27 Aug 2024 15:56:04 +0200 Message-ID: Subject: Re: [PHP-DEV] [RFC] [Discussion] Using and Mentioning Third-party Packages in PHP Documentation and Web Projects To: Deleu Cc: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: gotrunks@gmail.com (Pere Orga) Missatge de Deleu del dia dt., 27 d=E2=80=99ag. 2024 a= les 13:55: > > > > On Tue, Aug 27, 2024 at 2:06=E2=80=AFAM Andreas Heigl = wrote: >> >> >> I see this a bid differently to be honest. While I understand that using >> third party packages in our internal tools might make things easier in >> the short term it will cause a lot or additional work in the long term. >> >> Currently we have a lot of small scripts that do one thing. And they do >> it for a long time with very little maintenance effort. Blowing these >> scripts up with third-party libraries will mean that we will have to put >> in much more maintenance effort for either keeping the dependencies up >> to date or mostly rewriting the script the moment a change needs to >> happen as the libraries will be outdated. >> >> There are though some actual console applications like Pdt where it >> might be valid to use third party dependencies. But also here I'd ask >> whether the maintainability will be increased. A totally different >> question though is whether we actually need to maintain a special tool >> for building the docs or whether we can use a pre-existing tool for >> that. I am mainly thinking about either phpDocumentor or a default >> docbook renderer. But that is a totally differnt topic IMO. >> >> So I'd see this exactly the other way around: >> >> usage for infra needs very careful consideration to not increase the >> maintenance-burden on those that actually 'do' the maintenance. > > > I like the fact this has been brought up as it seems an equally important= consideration from my perspective. On one hand I remember reading about ho= w PHP Internals could hugely benefit from more volunteers to help maintain = the auxiliary projects of the language - which doesn't require C knowledge.= Perhaps this 'need' might be outdated now with the Foundation hiring emplo= yees to work on PHP. On the other hand there's this really good point about= not creating a burden for existing maintainers of existing tools. Ultimate= ly, I find it important to consider that a tool that has been "mostly no ma= intenance cost" for 10~20 years, then it might be following PHP development= practices so long gone that it's harder to capture new volunteers. I under= stand there's a historical context in the 2000's where PHP frameworks would= come and go and most companies had their own in-house framework. That real= ity is long-gone and community projects like Symfony, Laravel and Composer = are sustainable businesses that simultaneously rely on PHP and make PHP bet= ter. Nowadays it is unlikely that a PHP developer will pick up greenfield w= ork with the language without using some reliable tool provided by the comm= unity. > > As it has been said, it is a disservice to the PHP project to be stuck on= vanilla PHP for things that require improvements, maintainers, revamp, etc= . > It would be helpful if you could share examples of open-source, long-term websites built using frameworks like Laravel, Symfony, Laminas, CakePHP, or similar, especially those to which you have contributed, ideally maintained by volunteers. --=20 Pere Orga