Laravel – Basic and Important Terms You Should Know

By: Dr. Maria Seraphina Astriani

 

Laravel is an open-source PHP framework and follow mode-view-controller (MVC) design pattern.

It is suitable for Front-end & Back-end.

 

These are the advantages why you need to use Laravel:

  • Scalable
  • Saved time
  • Includes namespaces and interfaces (thus helps to organize and manage resources)

 

Composer, artisan, migrations, and seeding are some of the basic and important terms used in Laravel.

 

Composer

Composer is a tool which includes all the dependencies and libraries.

To get the composer, please download and install it from https://getcomposer.org/download/

 

Artisan

Artisan is the command-line interface included with Laravel. It provides a number of helpful commands that can assist you while you build your application.

It Incorporated from Symphony framework.

To view a list of all available Artisan commands please use the following command:

php artisan list

 

Migrations

Migrations are like version control for your database, allowing your team to modify and share the application’s database schema.

Migrations are typically paired with Laravel’s schema builder to build your application’s database schema

 

Seeding

Laravel includes a simple method of seeding your database with test data using seed classes.

All seed classes are stored in the database/seeders directory.

 

References:

https://laravel.com/

https://www.tutorialspoint.com/laravel/laravel_overview.htm