Support the ongoing development of Laravel.io →
Installation Configuration

i got this in the command prompt:

Writing lock file Generating autoload files Generating optimized class loader Compiling common classes

[Symfony\Component\Process\Exception\ProcessTimedOutException] The process "php artisan optimize" exceeded the timeout of 300 seconds.

create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repos itory-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--n o-scripts] [--no-progress] [--keep-vcs] [--no-install] [package] [directory] [ve rsion]

C:\xampp\htdocs\laravel>composer update --no-scripts Composer could not find a composer.json file in C:\xampp\htdocs\laravel To initialize a project, please create a composer.json file as described in the http://getcomposer.org/ "Getting Started" section

C:\xampp\htdocs\laravel>cd laravel

C:\xampp\htdocs\laravel\laravel>composer update --no-scripts Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating autoload files

C:\xampp\htdocs\laravel\laravel>php artisan optimize Generating optimized class loader Compiling common classes

C:\xampp\htdocs\laravel\laravel>

...........ok this is what i did:

  1. i installed the composer
  2. installed laravel through composer (composer create-project laravel/laravel --prefer-dist)
  3. then it timed out (The process "php artisan optimize" exceeded the timeout of 300 seconds.)
  4. searched for fix in the net
  5. i saw this http://forumsarchive.laravel.io/viewtopic.php?id=11746
  6. cd to the laravel folder in the laravel folder i created.
  7. i did this:
    composer update --no-scripts
    // got this: Nothing to install or update Generating autoload files
    php artisan optimize
    //got this: Generating optimized class loader Compiling common classes

Im I done already with everything?

i included a pic: http://i975.photobucket.com/albums/ae238/Mochi_Ongpin/help2_zps2904e250.png

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.