Installing Way's Generator in Laragon

  • | 456 points

    I want to install way's generator into my laravel application. I have followed the instruction from github, but I am not seeing the generator's file been downloaded. This is the error I get:

    C:\laragon\www 30/03/2016 13:19:13.80
    λ composer update --dev
    Warning: This development build of composer is over 60 days old. It is recommended to update it by running "C:\laragon\bin\composer\composer.phar self-update" to get the latest version.
    You are using the deprecated option "dev". Dev packages are installed by default now.
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Nothing to install or update
    Generating autoload files

    C:\laragon\www 30/03/2016 13:56:15.78

    I could not download it. But I saw a zipped files at the top from github, i was able to download this file. Is this is same files as the one i was trying to get through composer? If yes, wheer do i put all the downloaded files, so that i can make use of it for creating model, views, controllers etc?

  • administrators
    | 131291 points

    What is the instruction you are following, can I have the url?

  • administrators
    | 131291 points

    If you use Laravel 5, just run this command:

    composer require laracasts/generators --dev


  • | 456 points

  • administrators
    | 131291 points

    @kingsadave : I think you didn't follow the instruction properly. Let me help with some pics.

    1. Add these lines to your composer.json (pic 1):
     "require-dev": {                    
         "way/generators": "~2.0"        
    1. Run compose (pic 2):
    composer update --dev
    1. Add the service provider to app/config/app.php (pic 3):
    1. Run the artisan command (pic 4):
    php artisan

    That's all.

    Pic 1:

    Pic 2:

    Pic 3:

    Pic 4:

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.