Tecnologias e prƔticas utilizadas
- PHP 7.2
- Laravel 7.x
- SQLite
- Arquitetura MVC
Funcionalidades
Comandos
CriaĆ§Ć£o do projeto
composer create-project laravel/laravel meu-site
InstalaĆ§Ć£o e atualizaĆ§Ć£o das dependĆŖncias
composer install
composer update
GeraĆ§Ć£o de uma nova chave da aplicaĆ§Ć£o
php artisan key:generate
Make Model, Controller e Migration
php artisan make:model Tarefa -m
php artisan make:controller TarefaController --resource
php artisan make:migration add_pontos_to_tarefas_table --table=tarefas
php artisan make:migration add_data_entrega_to_tarefas_table --table=tarefas
php artisan make:migration add_tempo_to_tarefas_table --table=tarefas
Migrations
php artisan migrate // cria as tabelas
php artisan migrate:refresh // recria as tabelas alteradas
php artisan migrate:fresh // recria todas as tabelas