Problem while installing laravel on windows 10 - laravel

When I try to install Laravel it gives me an error while displaying
Could not find package Laravel/installer.
It was however found via repository search, which indicates a consistency issue with the repository.
I have already installed composer successfully

Related

Can't update laravel installler 1.5.0 from ubuntu 20.04

After I installed Laravel 9 in Ubuntu 20.04 (php 7.4 and composer 2.3.10) I run
laravel new proyect1
but it does not work. I got this error: In RequestException.php line 113: Server error: GET http://cabinet.laravel.com/latest.zip resulted in a 522 response
When I searched for the error message, I found this question in StackOverflow:
Why do I get a laravel error while creating a new project?
But the solutions suggested on it did not work for me. Basically, it recommends removing the laravel installer and requiring it again, Basically, it recommends removing the laravel installer and requiring it again, but even when I followed the solution that was suggested, laravel/installer version 1.5.0 appears when I ask for the laravel installer version instead of laravel/installer 4.2.13 version

Laravel Installation On Windows by using Composer

I am trying to setup Laravel using Composer through my command prompt but I am getting some errors.
I have already installed Composer and Xampp(php/mysql/apache) but I am still unable to install it. I have followed the exact instructions provide by the Laravel and followed other resources but I am still getting error.

Composer - It is downloading packages but not installing

I am trying to install one of my on going work (github-repository) into my server. I successfully downloaded my work into my server using Git. This work is a laravel based work.
After I did basic composer configurations, I tried to execute the command
composer install -vvv
It seems that, it downloading and cacheing packages but not installing them. After downloading and cacheing, the process get KILLED. I cant trace what is the exact problem here ?
Is anyone face this issue before ? If anyone know why composer behave like this,then please let me know.

Install Laravel behind proxy

Im trying to install Laravel on a windows machine.
I followed this guide up to point 11.
http://www.wikihow.com/Install-Laravel-Framework-in-Windows
I also ran two commands already (which I got from https://stackoverflow.com/a/18852026/2240163)
set http_proxy=<your_http_proxy:proxy_port>
set https_proxy=<your_https_proxy:proxy_port>
But on running composer install i am met with a message
C:\wamp\www\LARAVEL>composer install
Loading composer repositories with package information
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: SSL
: The specified procedure could not be found.
failed to open stream: Cannot connect to HTTPS server through proxy
How can I get past the proxy to install Laravel 4.
.
.
Here in lay the solution
C:\wamp\www\LARAVEL>set http_proxy=http://mnel:******#192.168.20.4:8080
C:\wamp\www\LARAVEL>set https_proxy=https://mnel:******#192.168.20.4:8080
I then ran the install composer command again and presto!
https://stackoverflow.com/a/24958700/2240163
Thanks #mneute
Here in lay the solution
C:\wamp\www\LARAVEL>set http_proxy=http://mnel:******#192.168.20.4:8080
C:\wamp\www\LARAVEL>set https_proxy=https://mnel:******#192.168.20.4:8080
I then ran the install composer command again and presto!
https://stackoverflow.com/a/24958700/2240163
Thanks #mneute
I got this same issue when I ran composer -vvv install. I did it in windows7 computer behind a company firewall. I search and tried every possible answer but didn't work. Then I tried following and it did work
https://www.calazan.com/how-to-set-the-proxy-settings-in-windows-via-command-line/

Laravel Installation error

I have downloaded laravel from github. I also have composer installed. My problem is when i type in
composer install
I got the following error. I can't fix it.
Have a look at the free laracasts series, this will guide you through the install - without any hiccups!
www.laracasts.com

Resources