Re: laravel/php
| From: | Ashley Sheridan | Date: | Wed, 31 Jul 2024 01:21:31 +0000 |
| Subject: | Re: laravel/php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328487@lists.php.net to get a copy of this message | ||
On 31 July 2024 02:07:17 BST, bruce <badouglas@gmail.com> wrote:
>Hi.
>
>Is the list ok to post basic laravel questions? Or only straight php?
>
>I'm doing some basic research on laravel, and other tech/stacks.
>
>For laravel, assume I download a test app from github, and install it in:
> /var/www/html/asciisd
>
> I do a
> composer install
>
>The "install/setup" says I should do a
> >>composer require asciisd/referrals-laravel
> as well.
>
>Should this be done while within the " /var/www/html/asciisd" or in
>the parent dir " /var/www/html"
>
> doing this from the inner dir, gets an err
> Root package 'asciisd/referrals-laravel' cannot require itself in
>its composer.json
>
>I'm currently looking over github code samples, as well as numerous vids..
>
>thanks
It should be done in the same directory as the composer.json file. If you think about it, it makes
sense, as that's the config for your composer install.