How to Use Maintenance Mode with composer in Laravel

in #utopian-io7 years ago (edited)

What Will I Learn?

  • You will learn run serve with composer
  • You will learn run down server with composer
  • You will learn run up server with composer

Requirements

  • xampp (support PHP 5.6.4)
  • laravel 5.3
  • composer

Difficulty

  • Basic

Tutorial How to Use Maintenance Mode with composer

  1. Open Command prompt and then enter into the xampp / htdocs / laravelfolder
    laravel.JPG

  2. run server xampp with composer using command php artisan serve
    save.JPG

  3. Open your browser and then type at address bar localhost:8000 and here the look server after running
    laravel 1.JPG

  4. Now we try maintenance mode because server have running. open other command prompt and type command php artisan down
    save2.JPG

  5. Open your browser and then type at address bar localhost:8000 and here the look server after Maintenence
    image

  6. Now we try exit from maintenance mode. open other command prompt and type command php artisan up
    image

  7. Open your browser and then type at address bar localhost:8000 and here the look server after Live
    image

Curriculum

This is the first tutorial i'm contributing using laravel with composer.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Your contribution cannot be approved because it does not follow the Utopian Rules.

  • Not very informative.
  • Very basic and Trivial tutorial.
  • Your Codes need to be in code block.
  • Your contribution should be informative and must provide value to the community.
    You can contact us on Discord.
    [utopian-moderator]

@iwaydi, Upvote is the only thing I can support you.

thanks dude

Congratulations @iwaydi! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of posts published

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!