Author: Justin

As we all know , Jetstream login layout, That is very much simple , In this post i will guide you how to change that screen. Set a new Layout with blade and assets Change the input type name and value Now test it from another controller Replace the old file with your newly created file. I hope laravel and Jetstream already installed. I will discuss how to change design. I downloaded a HTML login template from google Link  , You can also download or create a new one. Step 1. created a new blade file inside a directory names…

Read More
PHP

Composer is a cross-platform dependency manager for PHP.  It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. Composer allows developers to specify project dependencies in a composer.json file and then Composer automatically handles the rest. Installation Depending on the operating system you are using it can be installed differently. In this post i will address following operating systems: Mac OS Window OS Linux OS Install composer on Mac Open your mac terminal window and run following commands: $ curl -sS https://getcomposer.org/installer | php now we move composer.phar file to a executable directory…

Read More

In this article, I show you both options of printing and logging queries that help to view the queries in your Laravel application. While developing a projects, sometimes we may come across a situation where you need to see if the written query is correct or not. if you are logging the queries then it will help to debug the issue. Let’s see first printing queries in Laravel. How to Print Query in Laravel? <?php namespace App\Http\Controllers\API; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Student; class StudentController extends Controller {    public function list(){    DB::enableQueryLog();    $students=Student::all();    dd(DB::getQueryLog());   }…

Read More

Here, i created a Laravel interview question and answer list, which are asked to me during the Laravel interview. 1. What is Laravel? Laravel is an open-source widely used PHP framework. The platform was intended for the development of web application by using MVC architectural pattern. 2. What is the latest Laravel version? The latest Laravel version is version 8, which was released on 8th September 2020. And we are waiting for Laravel 9, which is coming in this year that is 2022. 3. What is composer? It is an application-level package manager for PHP. It provides a standard format…

Read More

MongoDB is a free open-source, schema-free, NoSQL database which is getting more popular day by day among web developers. It is a document-oriented database and is known for its processing speed. In order to use MongoDB for our projects, we will first need to install it on our system along with its dependencies and some other tools. In this post, we will learn to install and set up Apache, PHP, and MongoDB on Ubuntu and Debian operating systems. Installing Apache First of all, we will install Apache on our system. Apache is a web server software and a popular HTTP…

Read More