Re: [PHP-DEV] PHP Package for PHP

2023-05-19 Thread Larry Garfield
On Fri, May 19, 2023, at 6:55 PM, Robert Landers wrote: > I'd also like to add that I like the 'hands-off' approach that PHP has > taken in the past. I'm not a fan of some of the PSRs. I literally had > someone tell me a few months ago that I would never be a 'real > programmer' because I used tabs

Re: [PHP-DEV] PHP Package for PHP

2023-05-19 Thread Robert Landers
I'd also like to add that I like the 'hands-off' approach that PHP has taken in the past. I'm not a fan of some of the PSRs. I literally had someone tell me a few months ago that I would never be a 'real programmer' because I used tabs instead of spaces which is against the PSR-12 spec (which is my

Re: [PHP-DEV] PHP Package for PHP

2023-05-19 Thread Larry Garfield
On Fri, May 19, 2023, at 2:02 PM, Rowan Tommins wrote: > On Fri, 19 May 2023 at 08:45, Arvids Godjuks > wrote: > >> I think this whole thread can be summarized into a single statement: >> >> "Let's integrate PSR standards into PHP core and ship those interfaces as >> part of the language" >> > > >

Re: [PHP-DEV] PHP Package for PHP

2023-05-19 Thread Rowan Tommins
On Fri, 19 May 2023 at 08:45, Arvids Godjuks wrote: > I think this whole thread can be summarized into a single statement: > > "Let's integrate PSR standards into PHP core and ship those interfaces as > part of the language" > That's one of the angles that's come up, but there are also some oth

Re: [PHP-DEV] PHP Package for PHP

2023-05-19 Thread Arvids Godjuks
On Fri, May 19, 2023, 09:26 Mike Schinkel wrote: > > On May 18, 2023, at 1:34 PM, Rowan Tommins > wrote: > > On Thu, 18 May 2023 at 16:27, Deleu wrote: > >> Monolog is a great example of what PHP is missing - a single library > for a > >> purpose. I have never worked with any other library besi

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Mike Schinkel
> On May 18, 2023, at 1:34 PM, Rowan Tommins wrote: > On Thu, 18 May 2023 at 16:27, Deleu wrote: >> Monolog is a great example of what PHP is missing - a single library for a >> purpose. I have never worked with any other library besides Monolog and I >> never worked on any project which didn't h

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Gunnard engebreth
On 5/18/23 9:00 PM, Deleu wrote: On Thu, May 18, 2023 at 6:56 PM Rowan Tommins wrote: On 18 May 2023 20:15:44 BST, Deleu wrote: I meant exactly the opposite. Monolog is an example of what PHP (is missing === doesn't have enough of). There's hardly any reason to re-release it under the PH

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Deleu
On Thu, May 18, 2023 at 6:56 PM Rowan Tommins wrote: > On 18 May 2023 20:15:44 BST, Deleu wrote: > > I meant exactly the opposite. Monolog is an example of what PHP (is > missing > > === doesn't have enough of). There's hardly any reason to re-release it > > under the PHP umbrella. Monolog alrea

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Mike Schinkel
> On May 18, 2023, at 10:27 AM, Rowan Tommins wrote: > > On the one hand, PEAR was a single "baseline" that everyone expected; on > the other hand, packages tended to be slow to adapt to new needs and > fashions, and inflexible to different environments. So instead, people > moved to: > > - Fram

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Rowan Tommins
On 18 May 2023 20:15:44 BST, Deleu wrote: > I meant exactly the opposite. Monolog is an example of what PHP (is missing > === doesn't have enough of). There's hardly any reason to re-release it > under the PHP umbrella. Monolog already won the log battle. I can't say the > same for virtually anyth

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Deleu
On Thu, May 18, 2023 at 2:35 PM Rowan Tommins wrote: > On Thu, 18 May 2023 at 16:27, Deleu wrote: > > Monolog is a great example of what PHP is missing - a single library for a > > purpose. I have never worked with any other library besides Monolog and I > > never worked on any project which did

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Ilija Tovilo
Hi Marco On Thu, May 18, 2023 at 7:35 PM Rowan Tommins wrote: > > On Thu, 18 May 2023 at 16:27, Deleu wrote: > > Monolog is a great example of what PHP is missing - a single library for a > > purpose. I have never worked with any other library besides Monolog and I > > never worked on any projec

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Larry Garfield
On Thu, May 18, 2023, at 5:34 PM, Rowan Tommins wrote: > I actually wonder if some things in core should be removed to encourage > userland replacements - ext/soap, for instance, and some of the data > structures in ext/spl. > > IMHO, the things that would benefit from being written in PHP then b

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Rowan Tommins
On Thu, 18 May 2023 at 16:27, Deleu wrote: Monolog is a great example of what PHP is missing - a single library for a > purpose. I have never worked with any other library besides Monolog and I > never worked on any project which didn't have it installed. Perhaps my > bubble might be a limiting f

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Tim Düsterhus
Hi On 5/18/23 18:13, tag Knife wrote: An extension of this, Looking on packagist. The namespace PHP is reserved, in collaboration with PHP, Composer and Packagist. Official PHP packages can use the /PHP/... root namespace. And can be published on packagist under the PHP namespace To my underst

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Deleu
On Thu, May 18, 2023 at 11:43 AM Reinis Rozitis wrote: > > I have worked with PHP for 14 years now and I know nothing about PEAR. > It either says something about me or about PEAR. > > Then the next logical question would be do you know what PECL is? :) > > But to be short my point is - before

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread tag Knife
An extension of this, Looking on packagist. The namespace PHP is reserved, in collaboration with PHP, Composer and Packagist. Official PHP packages can use the /PHP/... root namespace. And can be published on packagist under the PHP namespace https://packagist.org/packages/php/ -- Note this URL CU

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread tag Knife
> > The work to get started seems to be about: > > 1- Getting an RFC to approve this idea itself > 2- Getting a repository to host the PHP package code. > 3- CI/CD > 4- Release Management > 5- Versioning Strategy > 6- Package naming convention > 7- Distribution strategy (single package vs multiple

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Deleu
On Thu, May 18, 2023 at 11:27 AM Rowan Tommins wrote: > On Thu, 18 May 2023 at 14:12, Deleu wrote: > > > > Or PEAR? > > > Like that particular path_join() request is exactly > > > > > > https://pear.php.net/package/File_Util/docs/latest/File/File_Util/File_Util.html#methodbuildPath > > > > > > I

RE: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Reinis Rozitis
> I have worked with PHP for 14 years now and I know nothing about PEAR. It > either says something about me or about PEAR. Then the next logical question would be do you know what PECL is? :) But to be short my point is - before attempting to get new function(ality) in core it (seems to me)

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Rowan Tommins
On Thu, 18 May 2023 at 14:12, Deleu wrote: > > Or PEAR? > > Like that particular path_join() request is exactly > > > https://pear.php.net/package/File_Util/docs/latest/File/File_Util/File_Util.html#methodbuildPath > > > I have worked with PHP for 14 years now and I know nothing about PEAR. It >

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Lynn
On Thu, May 18, 2023 at 3:07 AM Deleu wrote: > Hi folks! > > Reading through https://externals.io/message/120323#120326 and > https://externals.io/message/120323#120332, it reminded me of a few times > I've seen similar debates on internals about "why not do this on userland?" > and the consensus

Re: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Deleu
On Thu, May 18, 2023 at 8:55 AM Reinis Rozitis wrote: > > Which begs the question of a PHP Package for PHP. Some benefits: > > > > - Written in PHP, it will allow a much wider pool of contributors than > the > scarce pool of C developers contributing to PHP source code. > > Aren't this what frame

RE: [PHP-DEV] PHP Package for PHP

2023-05-18 Thread Reinis Rozitis
> Which begs the question of a PHP Package for PHP. Some benefits: > > - Written in PHP, it will allow a much wider pool of contributors than the scarce pool of C developers contributing to PHP source code. Aren't this what frameworks are for (Laravel / Yii / Symfony / Zend etc)? Or PEAR? Like th

[PHP-DEV] PHP Package for PHP

2023-05-17 Thread Deleu
Hi folks! Reading through https://externals.io/message/120323#120326 and https://externals.io/message/120323#120332, it reminded me of a few times I've seen similar debates on internals about "why not do this on userland?" and the consensus seems to be inclined to only take the maintenance burden