How to configure and install XAMPP, Composer, Laravel Github
Composer is a tool for dependency management in PHP. It allows you to declare the libraries of your
project. Composer is NOT a package manager as Yum or Apt are. It basically
deals with "packages" or libraries; it helps you to manage them on project
basis.
https://getcomposer.org/Composer-Setup.exe
Laravel is a free,open-source PHP web framework, created by "Taylor Otwell" for the development of
web applications.
GitHub is a
web-based hosting service for version control using git. It is mostly used for
computer code. It offers all of the distributed version control and source code
management functionality of Git as well as adding its own features.
Step to run your Laravel Project.
1. Download
or clone your project from Github
2. Go to the folder application using cd command
3. Run composer install command on your cmd or
terminal
4. Copy .env.example file to .env on root folder.
You can
type copy .env.example .env if using command prompt Windows
or cp
.env.example .env if using terminal Ubuntu
5. Open your .env file and specify the database name
(DB_DATABASE), username name, and password.
6. Run php artisan key:generate
Add the key in your .env file
base64:cScoKTZ9Vz5Io4SJbJRfd5fU1SDWIIKSQrGBM59Y=
7. Run php artisan migrate
8. Run php artisan serve
0 Comments:
Post a Comment