Skip to content

Instantly share code, notes, and snippets.

@azazqadir
Created October 19, 2018 14:24
Show Gist options
  • Save azazqadir/a4e197861bcfb62a196d685b402e8c20 to your computer and use it in GitHub Desktop.
Save azazqadir/a4e197861bcfb62a196d685b402e8c20 to your computer and use it in GitHub Desktop.

Revisions

  1. azazqadir created this gist Oct 19, 2018.
    12 changes: 12 additions & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    To create a simple ToDo application in Laravel, you first need to setup database. For that, start with configuring the .env file. Now to create table in Laravel, you need to create migration table. For that, use the following command

    ```
    php artisan make:migration create_todo_table
    ```
    Now execute migration with following command:

    ```
    php artisan migrate
    ```

    Full article on [Creating table in Laravel](https://www.cloudways.com/blog/create-todo-app-laravel-5-4/) for todo app.