Posts

Showing posts from February, 2023

Stripe 3D Payment Gateway Integration In Laravel 8 app

  ########### Stripe 3D Payment Gateway Integration In Laravel 8 app ########### Step 1: Install Laravel 8 App Step 2: Install stripe Package Step 3 Make Route Step 4: Create Controller Step 5: Create a Blade View file Step 6: Run Development Server ************************************************************************** Step 1: Install Laravel 8 App => laravel new stripe_payment_gateway ***************************************************************************** Step 2: Install Stripe Package => composer require stripe/stripe-php ************************************************************************************************************ Step 3: Make Route => Please open the your web.php file and then copy the below code and paste it in your file. <?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\StripeController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------...

Laravel Project Setup first step.

 1. project setup   composer create-project laravel/laravel  school 2. create new database. 3. add field in user table is_admin.(IN migration.) 4. changes in env  5. config clear     php artisan config:clear 6. php artisan migrate 7. make controller     php artisan make:controller authController 8.make routes in web.php use controller Route::get('login',[Authcontroller::class,'login']); 9. make view     layout     @yield('space-work') 10.make register.blade.php    extends('layout/layout.common')    @section('space-work')    @endsection    form {{route('studentRegister')}} 11. use confirm_password form 12.     public function register(Request $request){             $request->validate([                       'name'=>'required|string|min:1',           ...