Category Archives: Php Framework

How to integrate stripe payment with laravel 7

Hello World, Welcome to projectsplaza.com. Today i am going to create a tutorial about stripe payment with laravel 7. This is a small and very easy tutorial. It is very easy to integrate stripe with laravel. I have divided this tutorial into the following parts.

  • Setup stripe account
  • Install stripe package in laravel
  • Integrate stripe with laravel
  • Make payment

Continue reading

How to create api with laravel 5

Hello World, Welcome to my website. Today I will discuss how to create API with laravel 5. Laravel provides a very efficient way to create API with its resource controller which are already structured around REST verbs and patterns. In this tutorial, we will create a simple example to better understand APIs.

I am using laravel 5.8

I have divided this tutorial into the following parts.

  • Create Resource Controller
  • Create Modal
  • Access Data via Resource Controller
  • API Routing
  • Test API in Postman

Continue reading

How to use database migration in laravel

Hello World, Welcome to my website. Today I am going to discuss how to use database migration in laravel. For a better understanding of database migration, I have created this tutorial with example.

I have divided this tutorial into the following parts.

  • What is migration?
  • How to Create a migration file?
  • How to Run Migration?

Continue reading

what-is-rate-limiting-in-laravel-5

What is rate limiting in laravel 5

Hello World, Today i am going to discuss “what is rate limiting in laravel 5“. This is a very easy tutorial. In this tutorial, we will show you the route code for rate limiting. I have divided this tutorial into the following parts.

  • What is rate limiting
  • How to define rate limiting in laravel 5
  • Text Example

Continue reading

create-custom-package-in-laravel-5

How to create a custom package in laravel 5

Hello World, Today I am going to discuss how to create a custom package in laravel 5. In this tutorial, we will create a crud package. We will discuss migrations, routes, models, controllers, views and package configuration in this tutorial. You can download the full source code of this tutorials at here.

I have divided this tutorial in the following part,

  • Package introduction
  • Package directory structure
  • Package configuration via composer
  • Load package from composer.json¬†file
  • Create Crud Controller
  • Create Crud Model and migration
  • Create Crud Routes
  • Create Crud Views
  • Connect Package with Laravel
  • Test you package

Continue reading

create-custom-library-in-codeigniter-3

Create a custom library in codeigniter 3

Hello World, Today i am going to create a custom library in codeigniter 3. Library refers to a class which is location in application/libraries folder. This folder contains only user defined libraries. Codeigniter have their own library which is located in system/libraries.

We should not modify the core library of any framework or any CMS becuase when you will update your system, your changes will disappear. Codeigniter provides facility to extend the core library classes and add some additional feature in it. In codeigniter, we can perform following things with library.

  • Create library from scratch
  • Extend the functionality of existing library
  • Replace the functionality of existing library

Continue reading

create-reactjs-application-with-laravel-api

create reactjs application with laravel api

Hello World, Today i am going to create reactjs application with laravel api from scratch. In this application, we will fetch data from database with laravel resource api and show in reactjs application. In this tutorial, I have created two different application one is in laravel and other is in reactjs and then we have connected these both with api.

Laravel

  • Install Laravel
  • Create product model and migration
  • Generate dummy data
  • Create Product resource
  • Route for api request
  • Test our application

Continue reading

Learn laravel directory structure

Hello World,Today i am going to create article in which we will learn laravel directory structure. In this article, we will learn about all folders and files at the root path of laravel.

Continue reading