Tag : Scratch


PHP - How to implement Google new reCAPTCHA Code Example with Demo?

We have to use Google captcha code on our registration form, contact form etc because captcha code prevent spams, bots etc. Google provide us to prevent bots sending form requests that way we can protect our site. So, Today i am going to give you very simple example of how to add google reCAPTCHA code in Core PHP from scratch. In this example you have to generate our own API Site Key and Secret from google account. But If you don't know how to generate then no worry, here is the step to generate API Key. we will create two files one "index.php" file for generate view for layout using bootstra.....

By Hardik Savani | August 28, 2016 | | 3221 Viewer | Category : PHP Bootstrap Google API
READ MORE

How to use elasticsearch from scratch in laravel 5?

When i was working on my ecommerce website on laravel, i was need to apply search engine for my website. I was confused and thinking what i have to use, but my senior suggested to me elasticsearch for search engine. But i had no experience elasticsearch. I need to learn from starting but i found how to install elasticsearch and use in our laravel application. Why we choose elasticsearch for search engine because elasticsearch provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and JSON documents. So, in this example i going to give you full example f.....

By Hardik Savani | June 16, 2016 | | 4638 Viewer | Category : Laravel Elasticsearch
READ MORE

Laravel 5 mailchimp api integration from scratch with example

In this post you can learn how to integrate mailchimp api in your laravel 5 application. Mailchimp provides manage subscribers, send emails using campaign and also track email results etc. Mailchimp through you can track how much subscribers open email and read. If you have newsletter website or any tutorial website then you should add email subscriber function that way we can inform through email. I use skovmand/mailchimp-laravel laravel package for mailchimp api in laravel 5 application. In this example you can subscriber email and send campaign from laravel application from scratch, so if .....

By Hardik Savani | June 9, 2016 | | 9518 Viewer | Category : Laravel Mailchimp API
READ MORE

Laravel 5 - Barcode generator example using milon/barcode package

In this post i am going to give you example of how to generate barcode in laravel application. we will create barcode using milon/barcode package that provide several way to generate QR Code and barcode. If you need to generate barcode for your products then you generate barcode sticker in laravel application using milon/barcode package. I added preview of barcode after finish example you can find output like bellow preview. It's provide several barcode like Qr Code, PDF417, C39,C39+, C39E,C39E+, C93, S25,S25+, I25,I25+ etc. You have to just follow few step: <strong>Preview:</strong> <img widt.....

By Hardik Savani | May 17, 2016 | | 6306 Viewer | Category : Laravel
READ MORE

Laravel 5 - Google reCaptcha code and Validation example using anhskohbo/no-captcha package

I think we should use Google captcha code on our registration form, contact form etc because captcha code prevent spams, bots etc. Most of the application we need to use captcha varification because it very important for security reason. There are several library to generate captcha image in Laravel. In this example i use Google reCaptcha for generate captcha using anhskohbo/no-captcha package. anhskohbo/no-captcha is very popular package. In this post i give you very simple and from scratch of generate Google reCaptcha code as you can also see bellow preview. After complete this example you .....

By Hardik Savani | May 16, 2016 | | 6456 Viewer | Category : Laravel Google API
READ MORE

Laravel 5 create and download zip file example using chumper/zipper composer package

Sometimes, we need to create file of our project directory and give to download that zip file to users. we are always prefer zip file because it is very safe and secure from virus. If you want to generate zip file and donwload that file in your laravel 5 application then you do it easily using chumper/zipper composer package. In this post i give you example to create zip file and donwload from scratch. So first we have to follow bellow step for install package. First fire following command on your terminal. <strong>Installation Package</strong> <pre>composer require chumper/zipper</pre> After.....

By Hardik Savani | May 10, 2016 | | 9206 Viewer | Category : Laravel
READ MORE

Laravel 5 - Generate Captcha code and Validation example using BotDetect package

I think we should use captcha code on our registration form because captcha code prevent spams, bots etc. Most of the application we need to use captcha varification because it very important for security reason. There are several library to generate captcha image in Laravel. In this example i use BotDetect package library for generate captcha image and using their validation. BotDetect is very popular library and very customize library. they provide several ui design for captcha code and also how much character do you want?, you can set all the thing using this package. In this post i give y.....

By Hardik Savani | May 5, 2016 | | 6925 Viewer | Category : Laravel
READ MORE

Laravel 5 - Paypal Payment Integration example using netshell/paypal package from scratch

Paypal is very popular payment gateway. Most of the persone are choose paypal as payment gateway because it is very secure and pretty simple way to use. If you want to use Paypal API in your laravel 5 application then this post will help you and you can easily use this. In this post you can lean how to add Paypal payment integration in laravel 5 application. So you have to also need to follow just few step and implement paypal api in your application. I give you full example of paypal express checkout demo from scratch, after finish you can found bellow preview for paypal api. <strong>Preview:.....

By Hardik Savani | May 2, 2016 | | 12610 Viewer | Category : Laravel
READ MORE

Laravel 5.2 multi auth example using Auth guard from scratch

Multiple authentication is very important in big application of laravel. If you work on large project then you mostly prefer to diferente tables, like you always prefer "users" table for site user registration and "admins" table for admin user that way make strong security. we always use Auth for making user authentication but you have question how to make admins with auth then you can do easily by following step. <strong class="step">Step 1: Auth Config Setting</strong> In this step we will add new admin guard from auth.php file of config directory. so first open auth.php file and add bellow.....

By Hardik Savani | May 1, 2016 | | 11205 Viewer | Category : Laravel
READ MORE

Laravel 5 - Image Upload and Resize Example using Intervention Image Package

In this post i will show you how to resize image in laravel application. Generally if we are work on big project like ecommerce etc then we need to generate thumbnail image for product or user image etc. So in laravel you can do easily using intervention/image package. You can also manage resize image with maintain ratio of image. In this example if you beginner then also easily understand and reuse this example in your application, you have to just follow bellow few step. In this example i give you image upload form and after submit image will upload and then display image preview as you can .....

By Hardik Savani | April 26, 2016 | | 22469 Viewer | Category : Laravel
READ MORE

    How to get filename from file path in MySQL?

    How to get filename from file path in MySQL?

    Open Post

    Bootstrap - maxlength validation with count remaining character example

    Bootstrap - maxlength validation with count remaining character example

    Open Post

    Laravel 5 - Barcode generator example using milon/barcode package

    Laravel 5 - Barcode generator example using milon/barcode package

    Open Post

    How to implement Email Verification with Activation Code example from Scratch in Laravel 5.2 ?

    How to implement Email Verification with Activation Code example from Scratch in Laravel 5.2 ?

    Open Post

    Bootstrap progress bar animate example using bootstrap-progressbar.js

    Bootstrap progress bar animate example using bootstrap-progressbar.js

    Open Post

    Laravel 5 - Dynamic Dependant Select Box using JQuery Ajax Example - Part 2

    Laravel 5 - Dynamic Dependant Select Box using JQuery Ajax Example - Part 2

    Open Post