Skip to main content

Posts

Showing posts with the label Learn php for fresher

PHP vs Java in 2018

A Full Comparison of PHP and Java Looking at what Java and PHP provide may open the door to the right possibility for your website. Both of these choices provide scalable and flexible options for the applications you need. Which one is right for you? Before you choose the right one for you, it’s necessary to look at the benefits of both. Benefits of PHP PHP is another top programming language used by web developers. This language provides a number of benefits including: Easy to Learn Open Source Efficient Coding Language Plenty of Support Just as Java is very easy to learn, so is PHP. It becomes even easier to learn if you’re familiar with syntax or have experience with Pearl and C. Along with being easy to learn PHP is an open source coding language, which means you gain access to a huge community for support. It’s also provided free of cost because of the open source feature. If you write the code properly, PHP becomes one of the most efficient web langua...

How to implement LinkedIn login in laravel

In this tutorial, we’re going to explain how to integrate LinkedIn login in Laravel based application using Socialite. The Socialite is Laravel’s official package, which is making is easy to authenticate with external services with OAuth providers. Create Project Create a brand new Laravel 5.6 project with Composer create-project command: $ composer create - project laravel / laravel factdeveloper - linkedIn - login 5.6 -- prefer - dist Database connection settings After creating project open .env file and update your database credentials: . . . DB_CONNECTION = mysql DB_HOST = 127.0.0.1 DB_PORT = 3306 DB_DATABASE = factdeveloper_linkedin_login DB_USERNAME = root DB_PASSWORD = mysql . . . Next step, would be, go to the project root and open the terminal and type the following command. It will create the two tables, which is by default ships by Laravel 5.6 $ php artisan migrate Migration table created succe...