Laravel

What is it?

Laravel is a popular open-source PHP framework known for its elegant syntax and developer-friendly features. It provides built-in tools for common tasks like routing, authentication, database migrations, caching, and templating with Blade. Laravel follows the MVC pattern and emphasizes code that is expressive, enjoyable to write, and follows modern best practices.

Practical example

To create a new resource in Laravel, you run php artisan make:model Product -mcr which generates a Product model, migration file for the database table, and a resource controller with all CRUD methods in one command. The migration defines your table structure with columns, the model handles data logic and relationships, and the controller provides index, create, store, show, edit, update, and destroy methods.

Test your knowledge

What templating engine does Laravel use?

Ask Lex
Lex knows the context of this term and can give targeted explanations, examples, and extra context.
Tip: Lex replies briefly in the widget. For more detail, go to full screen mode.

Learn our language

Learn these terms from real professionals and take your skills further at KdG MCT.

Study at KdG