What are some common PHP frameworks used for web development?

Some common PHP frameworks used for web development include Laravel, Symfony, CodeIgniter, and Yii. These frameworks provide a structured way to build web applications, offering features such as routing, database integration, form validation, and authentication. Choosing the right framework depends on the specific requirements of the project and the developer's familiarity with the framework.

// Example code snippet using Laravel framework for web development
Route::get('/', function () {
    return view('welcome');
});