How to Send Email in Laravel 5.6 using Gmail SMTP

On 7/24/2018 Be the first to comment!
Hi! Today let's see how to send email in laravel 5.6 using gmail smtp server. Since Laravel 5.3, the framework comes with the clean, simple API to send mails quickly via localhost or cloud based service. You can simply use the 'Mailable' class to build your emails. These classes collect the data and pass it to the view. Any property set...

How to Install Laravel 5.6 on Windows using Composer

On 6/19/2018 1 Comment so far
Here let's see how to install laravel on windows using composer. Ever since its launch, laravel has become the most popular php framework and not without a good reason. It's a great alternative to CodeIgniter which is another popular MVC for php. Laravel ships with so many goodies out of the box than other frameworks do. Mastering laravel...

How to Create and Download CSV File in PHP

On 6/08/2018 Be the first to comment!
Hi! Here we will see how to create a csv file and download it using php. CSV is one of the popular data storage methods used on the Web. Being a modern language, PHP has no problems handling various data formats including csv. It offers native functions to read and write csv files. With fputcsv() method, you can write data as a csv file...

How to use PHP PREG MATCH function to validate Form Input

On 6/03/2018 3 Comments so far
In this post we'll see how to do some basic PHP validations of form input using preg_match() function. One of the vulnerable spot in a website which attracts malicious hackers are the user input forms like registration form, contact form etc. Validating the user input before processing is the first and foremost step in securing the...

How to Secure Passwords in PHP and Store in Database

On 6/01/2018 1 Comment so far
Hi! Here let's see how to secure passwords in php. Developers have a huge responsibility when handling sensitive user data, such as password. They must take necessary precautions to store the password and other sensitive information in a secure manner. Old-school methods use the md5 algorithm to hash passwords and store them in the database....

How to Install Composer on Windows with XAMPP

On 5/26/2018 Be the first to comment!
Now-a-days, many modern php frameworks like laravel, symfony, codeigniter and other libraries use the composer to manage their dependencies. So you need composer to install them on your machine. In case you don't know, Composer is the tool for dependency management in php. It allows you to declare the dependency libraries and packages required...

How to Change Apache and MySQL Port Number in XAMPP Localhost

On 5/18/2018 Be the first to comment!
Hi! I'm going to show you how to change the apache and mysql port number in xampp localhost. In case you wonder why you should change the port number of a web server, here is the answer. It's not unlikely for you to run multiple PHP versions on a same machine or to run IIS or JBoss simultaneously with Apache. When you start a web server,...

Contact Form

Name

Email *

Message *