Laravel not creating autoload.php in vendor folder?

Laravel not creating autoload.php in vendor folder?

Not sure why but when running laravel new inside a directory, it makes the app but doesn't make the autoload.php file?

Not sure why but when running laravel new inside a directory, it makes the app but doesn't make the autoload.php file?

I've tried running this

composer dump-autoload

After running the above command Laravel seems to throw a 500 error page. I've tried other things like composer update, composer install

Running such a command resulted in this

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 37 installs, 0 updates, 0 removals
  - Installing jakub-onderka/php-console-highlighter (v0.4): Loading from cache

Invalid zip file, retrying...
  • Installing jakub-onderka/php-console-highlighter (v0.4): Loading from cache

    Invalid zip file, retrying...

  • Installing jakub-onderka/php-console-highlighter (v0.4): Loading from cache Failed to download jakub-onderka/php-console-highlighter from dist: 'C:\Users\ash\Desktop\workspace\projects\gaming-site\vendor/jakub-onderka/php-console-highlighter/6664f6e733cabe83723c2d19f66a4784' is not a zip archive. Now trying to download from source

  • Installing jakub-onderka/php-console-highlighter (v0.4): Cloning 9f7a229a69

[RuntimeException] Failed to clone https://github.com/JakubOnderka/PHP-Console-Highlighter.git, git was not found, check that it is in stalled and in your PATH env.

'git' is not recognized as an internal or external command, operable program or batch file.

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...

I don't see why its requiring git now, it didn't in the initial install process. Am I doing something wrong? This seems very strange for composer.

I've even tried running it like this, no luck:

composer create-project --prefer-dist laravel/laravel


laravel- php

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Php how to delete multiple rows through checkbox using ajax in laravel

In this article i will let you know to delete multiple rows through checkbox using ajax in laravel and before delete we will give a confirmation message.

5 Laravel’s Hidden Gems

Spread the love1. Stop on first validation error By default, Laravel will check for all validation rules and return a list of errors. But if you want to stop this process after first validation failure, that’s how you can achieve…Read More→

Some of the most frequent how tos in Laravel

Spread the loveHow to get relationship from relationship using With() in Laravel Some times there are cases where you want to get relationship from relationship in Laravel, that can be achieved via following: How to create multiple where clauses in…Read More→

10 Laravel Quick Tips

Spread the loveTip 1. Controllers Having Single Action In some situations you need a single action in a controller, if this is the case in Laravel you can achieve it by __invoke() method. Routes: Artisan command to generate this controller:…Read More→

Laravel Sanctum vs Passport

After the Laravel Sanctum package was released? Everywhere question was asked that When to use Sanctum and when to use Passport? So, in this video, you will ...