Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

HOW TO CREATE EVENT CALENDAR IN LARAVEL? PART-2

Spread the Knowledge

Step 1.Create a Laravel Project

Firstly, Create a new project in laravel, so we open Git Bash,  Go to My Computer/This PC–>LocalDisk(C:)–>Xampp–>Htdocs (Press right click on Mouse)

We write down the following command on Git Bash.

Step 2. Now we move to the project directory on Git Bash, so write down the following command –>

Step 3. Install Composer Package

In this step, we have to download and install the Laravel-full calendar package for use to generate Event Calendar. So just run the following command to download and install the package.


$ composer require maddhatter/laravel-fullcalendar

Step 4. Open Project in Visual Studio

Step 5. Application Configuration

After successfully installed the package then we should update the application config details to use the package in our application. Here we need to add providers & aliases array details with the following details

Step 5. Create Model, Controller, and Migration

Here, we need to create a Model, Controller, and Migration for Events using Laravel  composer artisan command, so first fire bellow command:

php artisan make:model Event -mc

Above command, help us to create Model, Controller, and Migration for Event master. 

Step 6.  In the migration table file.

We need to add the required no of columns details for the event table like title, color, start_date, and end_date, etc.

Step 7. We need to go and update the Event model file in our application like fillable, primary key, product, etc.

Event model files present at app/Event.php path and just update with following details in it.

Step 8. Routes Definition

We want to add new routes for showing Event Calendar. So just go to routes/web.php file and update the following routes to access data table operation in our application.

Step 9. Before migrate we Update database name  in .env file  (DB_DATABASE=eventcalendar)

Step 10. Open Xampp and start apache and Mysql and click admin to open phpMyAdmin database

In Part 3, we will see how to make a new controller for Event Calendar?

Click Here https://www.devopsschool.com/blog/how-to-create-event-calendar-in-laravel-part-3/

Sumit