Vanilla PHP is fast, flexible and the most popular web scripting language. Vanilla PHP powers everything from your blog to the most popular websites in the world.
Download Vanilla PHPIn fact, Vanilla PHP is already used on more websites than Laravel, Symfony, CodeIgniter, YII, CakePHP and Phalcon - combined.
Requests / second | |
Vanilla PHP | 1617 |
Laravel | 609 |
Yii | 550 |
Symfony | 532 |
// Vanilla PHP
Hello, <?= $name ?>
// Laravel / Blade
Hello, {{ $name }}
// Symfony / Twig
Hello, {{ name }}
// Vanilla PHP
if ($_SERVER['REQUEST_URI']) == '/' {
require '/views/index.php';
}
// Laravel
Route::get('/', [HomeController::class, 'index']);
// Symfony
class HomeController
{
/**
* @Route('/')
*/
public function index()
{
//
}
}
For more information about Vanilla PHP, check out the official Vanilla PHP documentation.