Web Prepration

Web Concept Tutorials

Laravel

Here you can study most popular and useful tutorials of Laravel, we have lists of tutorials, Interview Questions and answers of  Laravel.

CodeIgnitor, Laravel, PHP

In this article, i am going to explain “How to Integrate Paypal in Laravel”. Here i give you full example of How to integrate paypal payment gateway step by step like create laravel project, migration, model, route, blade file etc. Today paypal is major and world most very famous payment gateway which many websites integrated and many people want to integrate in website. So webprepration team show you “How to Integrate Paypal Payment Gateway in Laravel” in few steps. There are many payment gateways integrate in web application, Previously I have written Stripe Payment Gateway  Here I will tell you about paypal payment gateway. We are here use paypal/rest-api-sdk-php package for integrate paypal with laravel, this is very good package for paypal. So you have just follow few steps which is given below:- Step 1:-  Here, we are create new one laravel project by using collowing command

Step 2:- After create new

read more >>
CodeIgnitor, Laravel, PHP

In  this article, we are going to explain “How to integrate Stripe Payment gateway in laravel”. In many websites required payment gateway like Paypal,Stripe,Authorize etc. Stripe payment:- Stripe is one of the most popular payment gateway which is integrated in many websites, Stripe payment is easy to integrate and use. Stripe is very simple and most powerful and flexible tools. Step 1:- First we need to install required packages cartalyst/stripe-laravel, So open your composer.json file and put following one package in require array.

Then After update composer by run following command.

It will take some time and installed required package “cartalyst/stripe-laravel” Step 2:- Now  need to configure package in config/app.php, So open app.php file and paste below code in app.php file.

Step 3:- Now in this step need to configure STRIPE_KEY and STRIPE_SECRATE in .env file.

Step 4:- Now we are require two route one for display payment form and

read more >>
CodeIgnitor, Laravel, PHP

In this article, We are going to explain “How to create API Authentication using passport in laravel”  application. In Laravel 5.2, we got a new structure in our authentication system with multiple auth drivers. This means that, instead of there being a single auth system that is responsible for one app at a time, you can apply different auth systems to different routes (or in different environments). Web services web service is very important for when you are create web and mobile apps. If you require to create API for mobile application As we know laravel is most popular framework for API creation. If you are beginners and don’t know what is API and web services then you are a right place. In this article I will show how to create very simple API and Authentication for mobile APPs. Laravel provide passport package for API authentication, In this example we will

read more >>
CodeIgnitor, Laravel, Others, PHP

In this article, I am going to explain “How to export csv file in PHP”. The ability to export data in excel csv format is very useful feature for web applications. If you want to learn export data in excel then follow these easy steps. First create database and then create table in database. I have created organization table and table structure given below.

Now create export.php file and copy below code and paste it on created file.

In this file you can see, I have used array_walk function this a predefined php function. The array_walk() function runs each array element in a user-defined function. The array’s keys and values are parameters in the function. We hope that this article is helpful for creating export functionality in php. You may also want to read our other posts interesting and useful post then click  http://webprepration.com/  and also you can follow

read more >>
Laravel, PHP

In this post, I am going to given example with Demo how to create CURD (CREATE,UPDATE and DELETE) operation in laravel 5+ Using Ajax from scratch. This article is very helpful for laravel beginners, and If you want to create CURD Application using jQuery Ajax then just need to follow given steps. In this simple ajax curd example, I have created products management with several options like:- Product Listing Add New Product Edit Product Delete Product you can create Curd operation using simple steps, After create successful example you will find layout as below. Step 1: Laravel Installation If you haven’t installed laravel in your system and want to fresh project then just run bellow command and get new Laravel project.

Step 2: Create items table and model In this step we have to create migration for products table using Laravel  php artisan command, so first fire bellow command:

After

read more >>