Laravel What It Is
Laravel is a PHP framework that gives a web app its shape. It supplies the common parts so you build the parts that make your app different.
Built on PHP
Check the PHP version on your machine.
php -vApp facts
This command shows basic facts about a Laravel app.
php artisan aboutOne language
Laravel apps are written in PHP.
echo 'Hello from PHP.';Example
<?php
echo 'Laravel is written in PHP.';Key points
- Framework: ready-made code that gives an app its shape.
- Laravel is written in PHP, so PHP skills carry over.
- Laravel suits small sites and large apps alike.
- Laravel is open source, so anyone may use it for free.
In this example, the first line opens a PHP file. The third line prints a sentence. The sentence states the main idea: Laravel is written in PHP.
Note
Laravel is a framework, not a language. PHP is the language.
Try it Yourself
Edit the code, then press Run.
Running is simulated
Exercise
Which language is Laravel written in?