Here is how you can get access to the Faker Instance in the Artisan tinker $faker = Faker\Factory::create(); That’ it. That’s the post. …
Category: Technical
This is a quick article on how you can remove a composer dependency from the Laravel project. Open the terminal / command-prompt and navigate to the project root directory and execute the following command. composer remove …
Here is a short and quick article for How To Install Specific Version of Package using Composer TL;DR version composer require vendor/package:version //Example composer require laravel/passport:6.0 Detailed version Navigate to the project root directory in the …
PHPMyAdmin is a free tool written in PHP and is used to manage mySQL databases over the web. Ever sine I started with PHP development I have been accustomed to using PHPMyAdmin to manage my databases. …
Here is a detailed tutorial on How to Install WordPress on Ubuntu 20.04. Although there are different ways to get started with the WordPress setup. In this tutorial, we will be taking the simplest possible approach …
If you are working on a Laravel application and encounter this error could not find driver Here are a few things you can do to resolve this issue. If you are working on a fresh Laravel …
If you are looking to group by your query results by created_at column and get the total count of records created on each date. Here is how you can achieve that. Consider you have a posts …
Here is the detailed tutorial on How to Install Laravel on your Ubuntu Machine running the version 20.04 of Ubuntu. Although there are different ways to get started with the Laravel that includes using XAMPP, using …
# TL;DR version Here is the short version of setting up PHP version 7.3 on your Ubuntu Machine (I am currently on v 20.04) sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install -y php7.3 # …
I had a peculiar requirement where I had to grab the entire query string (GET parameters) from the current page and send it to the ajax call happening on the same page. Here is how I …