• Create a new function
  • 1. create a new table

    php artisan make:migration create_users_table
    git add.
    git commit -m "new table"
    git push origin master
    ...
    get the new file
    git pull origin master

    2. create the new view

    3. create model
    php artisan make:model User
    php artisan make:model Model/User


    newmodel and type tab

    4. create the controller

    php artisan make:controller PhotoController 


    newcontroller type tab

    5. create the interface contracts

    6. create the Eloquent


    7. add the YeposServiceProvider



     

    by kevin 6 years ago 0 Comment

0 Comment

Leave Comment