Skip to content
Readerstacks logo Readerstacks
  • Home
  • Softwares
  • Angular
  • Php
  • Laravel
  • Flutter
Readerstacks logo
Readerstacks
Simplest Way to Install Laravel 10

Simplest Way to Install Laravel 10

Aman Jain, March 12, 2023March 16, 2024

Laravel is most popular framework of PHP. It provides lots of in-build tools and library to build the web application. laravel community has working quite hard to make the laravel most efficient and secured framework for web developers that’s why most of the websites are built with laravel as backend. Laravel is used to to create robust custom web applications with ease of amazing developer experience.

Laravel add some new features in laravel and here are the nutshell

  • Process Interaction
  • Laravel Pennant
  • Test Profiling
  • Pest Scaffolding
  • Generator CLI Prompts
  • Horizon / Telescope Facelift

Laravel is easily customizable and provides tools like ORM, Validation libraries, Queue, Mail, Routing, Schedulers, Views engines and Model view controller architecture.

Installing Laravel using composer

To install the Laravel 10 using the composer there is few requirements which are below:

# Requirements:

  1. PHP 8.1+ for Laravel 10
  2. BCMath PHP Extension
  3. Ctype PHP Extension
  4. Fileinfo PHP extension
  5. JSON PHP Extension
  6. Mbstring PHP Extension
  7. OpenSSL PHP Extension
  8. PDO PHP Extension
  9. Tokenizer PHP Extension

Read how to install extensions and php and What is composer and how to install composer?.

After checking the requirements, now we can start the installation.

First step is to open the command line in windows or terminal in Ubuntu and go to the folder where you want to install the Laravel. Most probably the directory of web server (var/www/html or htdocs)

$ composer create-project laravel/laravel example-app

here, example-app is the name of project.

This will show result as below

Laravel 10 installation using composer
Laravel 10 installation using composer

Getting error like below

error_outline

ERROR


PHP Fatal error:  Allowed memory size of 1610612736 bytes exhausted

then change composer memory limit and run composer update in example-app

 COMPOSER_MEMORY_LIMIT=-1  composer update

And the directory structure after installation

Screenshot 2021 09 20 at 10.18.13 AM
Laravel directory structure

then change composer memory limit and run composer update in example-app

If you are getting error Laravel 10 – Error During installation laravel/framework[v10.0.0] require composer-runtime-api ^2.2 – Solved then you can read this article

Check the installation in browser by opening URL http://domain_ip/example-app/public

Screenshot 2021 09 20 at 10.23.20 AM

Related

Php Laravel Laravel 10

Post navigation

Previous post
Next post

Related Posts

Php install laravel composer

How to install laravel 8 ?

September 20, 2021May 6, 2022

Laravel is most popular framework of PHP. It provides lots of in-build tools and library to build the web application. Laravel is used to to create robust custom web applications with ease of amazing developer experience. Laravel is easily customizable and provides tools like ORM, Validation libraries, Queue, Mail, Routing,…

Read More
Php Ajax Image Upload with form in Laravel 8 9 with example

Ajax Image Upload with form in Laravel 8 / 9 with example

June 3, 2022June 4, 2022

Ajax image Upload with preview in laravel 9 can be implement easily using the laravel file and storage providers.In a website Image uploading can be used in multiple places like set up a profile picture to providing the documents. Laravel 9 provides robust functionality to upload and process the image…

Read More
Php Integrate Google Map with Marker in Laravel

Integrate Google Map with Marker in Laravel

August 28, 2022March 16, 2024

In this article we will learn to integrate google map with marker in laravel. Google maps are used to share the location or indicate the location of business and any user. In our application we want to show the exact location so in that case google maps are most optimal…

Read More

Aman Jain
Aman Jain

With years of hands-on experience in the realm of web and mobile development, they have honed their skills in various technologies, including Laravel, PHP CodeIgniter, mobile app development, web app development, Flutter, React, JavaScript, Angular, Devops and so much more. Their proficiency extends to building robust REST APIs, AWS Code scaling, and optimization, ensuring that your applications run seamlessly on the cloud.

Categories

  • Angular
  • CSS
  • Dart
  • Devops
  • Flutter
  • HTML
  • Javascript
  • jQuery
  • Laravel
  • Laravel 10
  • Laravel 11
  • Laravel 9
  • Mysql
  • Php
  • Softwares
  • Ubuntu
  • Uncategorized

Archives

  • June 2025
  • May 2025
  • April 2025
  • October 2024
  • July 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • July 2023
  • March 2023
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021

Recent Posts

  • The Resilience of Nature: How Forests Recover After Fires
  • Understanding Laravel Cookie Consent for GDPR Compliance
  • Understanding High Vulnerabilities: A Critical Overview of the Week of May 12, 2025
  • Installing a LAMP Stack on Ubuntu: A Comprehensive Guide
  • Understanding High Vulnerabilities: A Deep Dive into Recent Security Concerns
©2023 Readerstacks | Design and Developed by Readerstacks
Go to mobile version