Pitch your project

Random text






Blogs

0    
By admin Category Uncategorized, Posted February 12th, 2016
Installing the Laravel framework

Laravel is a powerful, yet elegant and simple framework, for the PHP programming language. It is very easy to learn, and has tools to make your web applications development and deployment very easy. Almost magical. No wonder it is the most popular PHP framework. And this is no joke. Anyway, lets not get so much ahead of ourselves. I will guide you through the process of installing the framework and so, lets get started:

pre-requisites

First, lets get started with the software pre-requisites:
A text editor: You are gonna write some code later, so ill urge you to try sublime text 3. Its one of the best editors out there.
PHP programming language, at least version 5.5: This is pretty obvious, since the framework itself is built using the PHP language
Composer: Its a dependency management tool for PHP. More less like NPM for NodeJS, or Nuget for the .NET framework
Windows/linux/macOS: Any will do the job perfectly. For my examples though, I’ll be using Ubuntu, which is just Linux anyway.

Apart from just software pre-requisites, you should also possess/have the following:
Good knowledge of PHP: You don’t have to be a guru, but just ensure that you have a good understanding of object oriented PHP. You don’t wanna play catch up when learning the framework, so you’ll need this.
A good mental attitude: Even though the framework itself is very easy to learn, learning comes with its own challenges, and as a developer, you have to deal with them.

Generally, just be ready to learn something new, and appreciate it, because believe me, you’ll love it!

Installation

Feel free to skip any of the steps if you have whatever is required.

Install PHP

If you’re on windows, you can download the latest version of Xampp. That will give you the latest version of PHP, MySQL, PHPMyAdmin, etc.
If you’re on Linux and don’t have PHP, just use synaptic, yum or apt-get to install PHP. Just make sure that you install version 5.5+

Install composer

Head over to getcomposer.org for instructions on how to do this. You’ll need PHP installed on your system

Install Laravel

Open a command line and type in the following:
Change project-name to be whatever you want

composer create-project --prefer-dist laravel/laravel project-name

Open your project

Use sublime text for this. Its pretty straight forward.

Just like that, and you’re done!!!. Happy coding!

Posted by Evingtone Ngoa

Leave a Reply

Your email address will not be published. Required fields are marked *