Book Image

Beginning Laravel [Video]

By : Hiren J. Dave
Book Image

Beginning Laravel [Video]

By: Hiren J. Dave

Overview of this book

<p><span id="description" class="sugar_field">Using Laravel's PHP framework, it's easy to create complex business applications, but its strict system requirements confuse most beginners. This course will help you understand those system requirements and set them up in your preferred development environment, including Windows, Mac, and Linux, so you can start developing with Laravel.</span></p> <p><span id="description" class="sugar_field">You will start by understanding necessary system requirements for Laravel, and how you can install Laravel for Windows, Mac, and Linux systems. Then you will look into creating and configuring your first Laravel application. You will learn about the Laravel Directory Structure, as well as dependencies, packages, and installation with Composer. After that you will learn all about the Laravel MVC structure: routes, controllers, models, views, and templates. Finally, you will apply all you have learnt to create a simple Web application with Laravel, with CRUD operations and basic validations. </span></p> <h2><span class="sugar_field">Style and Appraoch</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">A fast-paced guide that will take you on a journey through Laravel's essentials and quickly progress to meatier topics. This course will whet your appetite to learn more and progress to the next level of learning. A basic understanding of PHP is assumed.</span></span></p>
Table of Contents (4 chapters)
Chapter 3
All about the Laravel MVC Structure
Content Locked
Section 6
Working with Database and Understanding Database Migrations
The aim of this video is to understand how to add database connection to your Laravel application, learn about migrations and how it can be used to create and update database schema. We will also see about the Laravel schema builder and the various options available to alter the database schema. - Connect the Laravel application to the MySQL database with the environment file - Create a migration and add schema builder and understand the up and down function - Run migration to create database tables and rollback and reset to remove changes