Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111074 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 45571 invoked from network); 19 Jul 2020 15:03:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 19 Jul 2020 15:03:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 27E221804CD for ; Sun, 19 Jul 2020 06:57:26 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,MIME_QP_LONG_LINE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 19 Jul 2020 06:57:25 -0700 (PDT) Received: by mail-qk1-f173.google.com with SMTP id l6so12947908qkc.6 for ; Sun, 19 Jul 2020 06:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benramsey.com; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=asKC7XRa+QK19iY732bzOCzz9u8jguFWm6r85+UH/mY=; b=aJaeXF2Vwr+dZVcmv8J491EsaEo9FY+gUB+cUWN11dAJnANbCyMOCyx7Nov9nYI21R pIfRsERuEhCOxYqwwgXI2MbH5uKbcRepi3ioxdSmjOESGF8HzA5+0OBG6477y6Np4nf3 SiMPQQnGD2iMZi0olbqdNXOBzQa3h8TO3VU6EHX3VVb7jtHVWME7sO91xrIAC7E7HkqJ rwHoWBKxPl7CuqWUjOKEZmCAvD0qSPXyZXr7vh7RIAAvNRhm41dHhMZaHFFh8T8j1QHW GzJGRU0Cb+0qE4Fzp0SWgMxmZ4T4/+ZUBM+Fm88tz58+qQzDfy4w7XQqC4DgAYfQu157 NK6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=asKC7XRa+QK19iY732bzOCzz9u8jguFWm6r85+UH/mY=; b=dHhweDWJYDDzuNtKEaU6iioLl/APIv4RwkaWF/GxbbpDeo0VwVgv0KMzTPkn90de2P 5l/MwXD3sGBwBP9CZ84ECkv7J+WIuTAKtiAHX+DZQAlKQe6nDuf4Id2LnUJ8rttqeiY7 YKGsAxZ6gntgfEldy1hBaM22u0HYsQGBTs923bBo5VHYLxzFvP2SZePeA7ayc2fzNMDy udADmLHcEB4bM3Y3UwU8yIcT8BZwjnvLxIK9cUSeRdo42eRnQrWrFGHBTz1d4EDtWNhp nP4/5xZjhBsBkyjP/YCEj+WX/fdlqeVdwqSWn0eWEZnukDMCCSoxdiBf/C5J9x66IV/A kJiA== X-Gm-Message-State: AOAM530vlFUO1A1qaxyyaVlOK9cY83iHa6LD1En15oG98sAmeYvcgXax Oah4B2XRazaLnUjgZy4lw6fE9XA8LFnVpw== X-Google-Smtp-Source: ABdhPJyRijZIWIqY4jPVf+8Jnuk18FQNv9LlF/YjQJFmUqI818/+MhT8C9OHeESyo/i/H6+l10swBA== X-Received: by 2002:a37:dcc3:: with SMTP id v186mr16879368qki.393.1595167042066; Sun, 19 Jul 2020 06:57:22 -0700 (PDT) Received: from [10.10.42.46] (h69-21-156-190.lvrgtn.dsl.dynamic.tds.net. [69.21.156.190]) by smtp.gmail.com with ESMTPSA id p123sm2966044qkd.26.2020.07.19.06.57.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jul 2020 06:57:21 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-31EF74BC-0393-4ED1-956E-6ED3C80AA466 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Date: Sun, 19 Jul 2020 08:57:19 -0500 Message-ID: <005A3D7C-3B20-4756-BD49-8CC40C735470@benramsey.com> References: Cc: "internals@lists.php.net" In-Reply-To: To: tyson andre X-Mailer: iPhone Mail (17F80) Subject: Re: [PHP-DEV] Improving the usability of PHP's interactive shell? (completions, displaying expression results, custom syntax) From: ben@benramsey.com (Ben Ramsey) --Apple-Mail-31EF74BC-0393-4ED1-956E-6ED3C80AA466 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On Jul 18, 2020, at 18:33, tyson andre wrote: >=20 > P.S. What do developers here use for an interactive shell? > I've seen https://github.com/bobthecow/psysh mentioned as an alternative f= or `php -a` while investigating options but I haven't gotten around to using= it. I=E2=80=99m a big fan of PsySH. I use it in all my projects. It supports all= or most of the features you=E2=80=99ve mentioned, and it=E2=80=99s the proj= ect used as the base for Laravel Tinker, Drupal shell, WP-CLI shell for Word= Press, CakePHP console, and Yii shell. It seems to be the de facto REPL of choice with the PHP community. :-) Cheers, Ben --Apple-Mail-31EF74BC-0393-4ED1-956E-6ED3C80AA466--