Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to make controller,command using artisan in laravel 4.x

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 172
    Comment on it

    We can create controller and make command using artisan.The syntax for writing command for controller is:

    Syntax for writing Controller:

    php artisan controller:make ControllerName
    

    Example for writing Controller:

     php artisan controller:make UsersController
    

    Syntax and example for making Command in Laravel is:

    Syntax for writing Command:

    php artisan command:make CommandName
    

    Example for writing Command:

     php artisan command:make KarmaCommand
    

    By this way we can make our controller and command using php artisan.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: