![]() composer create-project laravel/laravel my_example_app Since you already have PHP Composer on your system, you can easily create a Laravel project using the below command. Output: Composer version 2.1.6 17:11:08 Install Laravel wget -qO - | sudo php -install-dir=/usr/local/bin/ -filename=composer You can install composer locally, on your project directory, or globally on $PATH directories (ex /bin or /usr/bin). It will help you download and install Laravel with the necessary components for your project development. With Zend OPcache v7.4.21, Copyright (c), by Zend TechnologiesĬomposer is a dependency manager for PHP. Zend Engine v3.4.0, Copyright (c) Zend Technologies php -vĮnsure the PHP version is 7.3 or later. sudo apt install -y php-common php-cli php-gd php-mysql php-curl php-intl php-mbstring php-bcmath php-imap php-xml php-zipĬheck the PHP version post the installation of packages. Install PHP and few other extensions with the below command. Since Debian 11 and Debian 10 comes with PHP 7.4 and PHP 7.3, respectively, you do not need to get PHP packages from external repositories. Laravel requires PHP version 7.3 or newer. ![]() Here, you will learn how to install Laravel on Debian 11 / Debian 10. ![]() Thankfully, once you understand the basics of the installation process, you can the Laravel project up and running in no time!. It is one of the most popular PHP frameworks in the world, and it’s great for developers looking to build modern web applications.īut setting up a development environment can be frustrating to newcomers. Laravel is an open-source web application framework with expressive, elegant syntax. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |