Member-only story

Configure PHP and Laravel Framework

Francisco Igor
7 min readDec 26, 2018

In this guide we configure PHP and Laravel Framework to build web applications and REST APIs. As a result, you can prepare the environment to start the development process in a Laravel Project.

After this process, you will get installed the following components:

  • PHP (PHP 7 or newer)
  • MySQL/MariaDB server engine and client
  • PEAR (PHP repository of common reusable components)
  • Composer (PHP package and dependency manager)
  • XDebug (PHP debugger used by unit tests tools like PHPUnit)
  • Laravel command line tools (laravel and php artisan)

Install PHP, Database and required components

PHP and the Laravel Framework need some basic components prior to run a Laravel application. The following steps will help you complete all the Laravel software and component requirements.

Install or update php

If you don’t have a PHP 7.1 or newer installation, see the article Installation of PHP in Windows, MacOS and Linux to review the installation steps of PHP for your specific OS.

Initialize a php.ini

Francisco Igor
Francisco Igor

Written by Francisco Igor

Programming from the past century. Worked with many programming languages and software development tools for desktop, web and mobile. https://fraigo.github.io/

No responses yet

Write a response