Web Prepration

Web Concept Tutorials

CodeIgnitor

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

CodeIgnitor, Laravel, PHP

In this post, I am going to explain “how to create rest api with authentication using passport” in laravel 6 application. Rest API is must be used when you are working with mobile application. when your application is preferred for a web app and the mobile app then you must have to create API for your mobile app development. However, Laravel provides an easy way to create Rest API using the passport package. if you need to authentication in your mobile app then you can easily do it using a passport. Laravel 6 Passport provides a way to create an auth token for validating users. Web services web service is very important when you are creating web and mobile apps. How to Create Rest API with Authentication Using Passport If you require to create API for mobile application As we know laravel is the most popular framework for API creation.

read more >>
CodeIgnitor, Others, PHP

In this post, I am going to explain “How to use CURL post request in CodeIgniter”. it will be a help to use API using curl request in code-igniter. You can fire post request, get request, put request and delete request in curl CodeIgniter 3. PHP CURL has some pre-built functions like curl_init(), curl_setopt(), curl_exec() etc. using these cURL functions to getting JSON data and we can use their data in our project. I don’t think you should use another library for this. Sometimes we need to work with third-party APIs and web services at that time we need to use CURL for getting request, post requests, delete requests, put requests, etc. PHP curl will help to post request with parameters and headers, we can get JSON response. Read Also: How To Integrate PayKun Payment Gateway In Laravel Here, I will give you a very simple example of Codeigniter curl

read more >>
CodeIgnitor, Laravel, PHP

In this post, I will be show you the easiest  way to implement  DataTables  server side processing in Laravel. Here I will show you how to fetch data  using ajax in laravel and render that data in DataTable with searching, Pagination and sorting with server side processing. This post is an extension to a previous post on DataTables, where we initiated data tables with basic initialization. As many readers suggested to make a tutorial on DataTables server-side. . In this post we have explain step by step. Because Jquery DataTables will add some advance features like quick search of table data, it will make automatic pagination without write of code, table column ordering, sorting of table column and many more. Now before we start coding include Datatables CSS file and Javascript files from CDN in your view page as follows.

Now let’s understand what all tasks we need to do

read more >>
CodeIgnitor, Laravel, PHP

In this tutorial, I am going to explain “How to create PDF from html in Laravel” by using laravel dompdf package. There are lots of pdf packages that are using to generate pdf from html with  CSS, you can easily set the beautiful layout for pdf file using css most of the packages support css in pdf. Using laravel-dompdf library, you can easily generate pdf file in your Laravel web application. When you are need to sending report in email from large amount of data then you can convert your html view in pdf file and attach that file with mail or if we work on big ERP level project on laravel, we require to generate PDF file for data from database table. In this tutorials we are using on of the best package barryvdh/laravel-dompdf it provide very easy way to generate html to pdf in laravel. We are explain all code step by step:- Step

read more >>