Unlike most other Linux distributions Elementary OS doesn’t come preinstalled with a LAMP stack. In this tutorial I will show you from start to finish. If you are interested in a certain part of the LAMP stack we have separate tutorials for you to read on those here, here and here.
Sublime text is one of the best text editors out there and its cross platform. Its also free to use and try out to see if you like it or not. It also plays nicely with Elementary OS.
A quick tip when using Lumen 5.2, if you try and include a feature you may get the error Class’Log’ not found for example. This is because be default, unlike Laravel facades are not loaded to save on resource and increase the framework speed.
I see this question asked many times and there never seems to be a definitive resource so in this post I hope to give you a high level overview of the things you will need to get started. Over the next few articles I will drill down into each section and expand on the points given.
This time we create a countdown timer.
Okay, you’ve been tasked with a project and it’s using GIT for version control but you have never used GIT. Don’t worry I will lay out a typical GIT workflow that will get you through.
Unlike most other Linux distributions Elementary OS doesn’t come preinstalled with a LAMP stack. In this tutorial I will show you from start to finish.
First up is to get Apache installed, we can do this with the following command:
sudo apt-get install apache2
Laravel makes it super easy to build a login system because it has everything already built and configured for you, here is how to create a login system using Laravel 5.2
Lets create a new Laravel project using composer:
composer create-project --prefer-dist laravel/laravel login
To get the authentication up and running we need to do a few things but luckily Laravel makes the set-up a breeze.
Scalar types in PHP is a new feature to PHP 7. Whilst on the surface its very easy to implement and uses very little code its actually an extremely powerful tool.
I constantly see this question asked and the answer is so simple yet people ignore or outright refuse to use it. The answer is prepared statements with the PDO extension. There is simply no need or a solid valid argument to use mysqli or even worse mysql, mysql_* where deprecated in PHP 5.5.0 and removed completely in PHP 7.0.* so stop using it!