Category

Laravel 8

Category

How to Implement Google Charts in Laravel 8 App Example In this tutorial we will learn laravel 8 chart example from scratch. we will discuss about laravel 8 charts step by step everything about google chart.we will implement dynamic pie chart in laravel aslo we will utilize google chart api. Google provides the different types of charts such as Bar chart, Line chart, Area chart, Pie chart and many more. Today, we will try to…

https://youtu.be/pHqc-ft3obw In this tutorial, we will know how to create a Cron Jon in laravel 8. Making a Cron Job in Laravel 8 is simple and easy. You have to check the entire tutorial gradually with your discretion, devote constant attention to your precedence to learn task scheduling in laravel 8. Step 1: Download laravel 8 project composer create-project –prefer-dist laravel/laravel CronJob Step 2: Configure Your database from .env file DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=CronJob DB_USERNAME=root…

https://www.youtube.com/watch?v=7Jn6BG8CfWw Laravel 8 Socialite Login with Google Login Page: Overview: Create Laravel appConfigure DatabaseInstall JetstreamInstall socialite packageCreate Google App for authenticationPut your code inside of config/services.phpAdd one extra column in your user tableUpdate your modelCreate your routes.phpCreate ControllerUpdate viewRun your server Step 1: Download laravel 8 project composer create-project –prefer-dist laravel/laravel googleLogin Step 2: Configure Your database from .env file DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=googleLogin DB_USERNAME=root DB_PASSWORD=root@123 Step 3: Install JetStream Composer to install Jetstream into…

Laravel 8 Database Seeder and Generating fake Seeds data with Faker package Step 1: Download laravel 8 project composer create-project –prefer-dist laravel/laravel DatabaseSeeder Step 2: Configure Your database from .env file DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=DatabaseSeeder DB_USERNAME=root DB_PASSWORD=root@123 Setp 3: Create Model and migration php artisan make:model -m Add Inside of migration <?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBlogsTable extends Migration { /** * Run the migrations. * * @return void */ public function…

Laravel 8 Dropzone Image Upload https://youtu.be/yblBuR2D1HM Step 1: Download laravel 8 project composer create-project –prefer-dist laravel/laravel Dropzone Go, Inside of folder cd Dropzone Step 2: Configure Your database from .env file DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=Dropzone DB_USERNAME=root DB_PASSWORD=root@123 Step 3: Create Route <?php use Illuminate\Support\Facades\Route; /* |————————————————————————– | Web Routes |————————————————————————– | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which…

Laravel 8 REST API with Passport Authentication Tutorial Step 1: Download laravel 8 project composer create-project –prefer-dist laravel/laravel laravelApi Go, Inside of folder cd laravelApi Step 2: Configure Your database from .env file DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel1Db DB_USERNAME=root DB_PASSWORD=root@123 Install Passport Package In this step we need to install passport via the Composer package manager, so one your terminal and fire bellow command: composer require laravel/passport After successfully install package, we require to get default…

Laravel 8 Multiple Database Connection Tutorial https://www.youtube.com/watch?v=WGePOHuLQ7w Step1: Install Laravel using composer composer create-project –prefer-dist laravel/laravel blog Step 2: Configure Database from .env file DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel1Db DB_USERNAME=root DB_PASSWORD=root@123 DB_CONNECTION_SECOND=mysql2 DB_HOST_SECOND=127.0.0.1 DB_PORT_SECOND=3306 DB_DATABASE_SECOND=laravel2Db DB_USERNAME_SECOND=root DB_PASSWORD_SECOND=root@123 Step 3: Configure Database from config/database.php <?php use Illuminate\Support\Str; return [ ‘default’ => env(‘DB_CONNECTION’, ‘mysql’), ‘connections’ => [ ….. ‘mysql’ => [ ‘driver’ => ‘mysql’, ‘url’ => env(‘DATABASE_URL’), ‘host’ => env(‘DB_HOST’, ‘127.0.0.1’), ‘port’ => env(‘DB_PORT’, ‘3306’), ‘database’ => env(‘DB_DATABASE’,…

How to use multiple authentication guards in Laravel 8 app https://www.youtube.com/watch?v=-b3j0nOuF44 Prerequisites PHP >= 7.3BCMath PHP ExtensionCtype PHP ExtensionFileinfo PHP extensionJSON PHP ExtensionMbstring PHP ExtensionOpenSSL PHP ExtensionPDO PHP ExtensionTokenizer PHP ExtensionXML PHP Extension Getting started Check all Prerequisites are installed in your machine. then this tutorial is already looking for you, we will create 2 user class – admin, blogger and we will make guards for 2 classes and restriction different parts of the application…