• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Tutsplanet

Tutsplanet

Free Technical and Blogging Resources

  • Home
  • Web Hosting
  • Programming
  • Plugins
  • Twitter Trends
  • Tools
  • About Us

Design & Development TagsGit, github

How to set up GitHub SSH in Ubuntu with example

Mar 25, 2023 Editorial Staff Leave a Comment

Today’s tutorial demonstrates how to configure GitHub ssh in your Ubuntu 22.04 operating system. We often use git and GitHub for development purposes, so connecting to remote Github is an important step in our development journey. Follow the below steps to connect your local machine to GitHub remote by configuring the GitHub ssh key. Adding…Continue Reading

General Tagsdocker

Docker Install Ubuntu : docker-desktop : Depends: docker-ce-cli but it is not installable

Mar 14, 2023 Editorial Staff Leave a Comment

Problem I was experiencing an issue when installing the docker desktop on Ubuntu 22.04, as it throws the below error when I ran the below command.

Programming TagsLaravel

What is the opposite of has() method in Laravel?

Nov 17, 2022 Editorial Staff Leave a Comment

We all know the has() method helps list a number of records with at least a related record in Laravel Eloquent. For example, below we can get all posts that have at least one comment. $posts = App\Models\Post::has(‘comments’)->get(); But what would be the opposite of this? How do we get a post that has zero…Continue Reading

Programming TagsLaravel

Laravel: Download files to storage from SFTP

Nov 3, 2022 Editorial Staff Leave a Comment

This post will discuss using Laravel to read and download files from a remote server via SFTP. For this purpose, we use a third-party package to connect to sftp and download the files to the storage folder in Laravel. The first and most important step is to install and configure the league/flysystem-sftp in the Laravel…Continue Reading

Programming Tagsnodejs

Why You Should Use Node Js For Enterprise Software?

Sep 27, 2022 Editorial Staff Leave a Comment

Nodejs-article

Enterprise software is developed to manage complicated tasks, such as monitoring and controlling essential business operations, gathering and analyzing data, and enforcing security policies. These programs tend to be complex, requiring much user input and a wide variety of separate but related components. The optimization of these applications is another potential obstacle. Additionally, enterprise apps…Continue Reading

Programming Tagsnodejs

How to get the total memory and free memory of a system using Node.js?

Sep 22, 2022 Editorial Staff Leave a Comment

In today’s article, we will discuss how to get the total memory and available memory of the system using NodeJS. To get the total memory of the operating system using NodeJS, you can use method from the module in Node.js. Note that this method returns total memory in bytes. // import os module const os…Continue Reading

Programming TagsPHP

What is the difference between shuffle() and array_rand() in PHP?

Sep 20, 2022 Editorial Staff Leave a Comment

What exactly is the difference between shuffle and array_rand functions in PHP? void shuffle ( array input) mixed array_rand ( array input [, int num_req]) takes an array and completely randomizes the array. You may have noticed that uses its parameter by reference and returns true. The downside of this function is it changes the…Continue Reading

Design & Development Tagswallpapers

Download the official iPhone 14 and 14 Pro wallpapers in full resolution

Sep 14, 2022 Editorial Staff Leave a Comment

buy new iphone 14

IOS 16 has been launched and it’s available for everyone. Moreover, apple had launched the new iPhone 14, so why wait? Download and experience the new line of wallpapers for your iPhone 14 and iPhone Pro. As for the new iPhone 14 wallpapers, there’s a new one for each device color, but there is no…Continue Reading

Programming TagsLaravel

Laravel Eloquent- Where Condition with Two Columns

Sep 14, 2022 Editorial Staff Leave a Comment

whereColumn-in-Laravel-eloquent

Did you ever think about how to write where condition with two columns(fields) in Laravel Eloquent? In the first place, this is possible in Laravel using the function . For example, you have two fields named sub_total and grand_total, and you need to find all the orders have the same sub_total as grand_total. So you…Continue Reading

Programming TagsLaravel

How to Add Foreign Key in Laravel Migration?

Aug 23, 2022 Editorial Staff Leave a Comment

This tutorial shows how to add a foreign key constraint to a field in Laravel in the migration file. As we know already a foreign key is a field that is used to establish the relationship between two tables via the primary key. This example starts with creating a migration file in Laravel and shows…Continue Reading

Programming TagsLaravel

What is Str::finish() in Laravel ?

Aug 12, 2022 Editorial Staff Leave a Comment

What is Str::finish() in Laravel ?

In this article, you will learn about Str::finish() in Laravel. The next question is how to incorporate Str::finish() into your project. If a string does not already end with the given value, the Str::finish method adds a single instance of that value to it:

Programming

How to organize email testing in PHP?

Jul 17, 2022 Editorial Staff Leave a Comment

What is PHPMailer and how do you use it to send test emails via SMTP in PHP? Find out this and more on email testing in PHP here. How to organize email testing in PHP PHP is one of the most popular languages for web development, so it’s no wonder that email sending and testing…Continue Reading

Programming TagsLaravel

How to Substract and Add Hours in Laravel Using Carbon?

Jun 10, 2022 Editorial Staff Leave a Comment

In today’s article we will illustrate how to use the Carbon library to add and subtract from a given time in Laravel. As you know already, Laravel is capable of doing pretty much anything. This is tested with Laravel7, 8,9 versions. Here you need to take note of Carbon – Well known PHP API for…Continue Reading

Programming TagsLaravel

How to Get Last Week Data in Laravel using Carbon?

Jun 7, 2022 Editorial Staff Leave a Comment

In today’s tutorial, we are showing how to get last week’s data in Laravel using Carbon. In other words, you need to pull all the orders received in the last week. In this case, last week does not mean the last 7 days, but it’s a full week starting from Monday to Sunday. For example,…Continue Reading

Programming TagsLaravel

Differences between query() and input() in Laravel?

Jun 2, 2022 Editorial Staff 1 Comment

Differences between query and input

You may be wondering what’s the difference between method and method in Laravel. It’s mentioned straight away in the laravel docs. While the input method retrieves values from the entire request payload (including the query string), the query method will only retrieve values from the query string: The important aspects and the real difference between…Continue Reading

Programming TagsLaravel

Raw Queries in Laravel

Jun 1, 2022 Editorial Staff 1 Comment

Raw Queries in Laravel

Eloquent is the answer for all kinds of database operations in Laravel. As a matter of fact, which is a great solution for interacting with databases. But if we have complicated business logic/ complex MySQL queries, oftentimes we need to write raw queries in Laravel. A key concern about the usage of raw queries in…Continue Reading

Programming TagsLaravel

Laravel Eloquent Select Column as Alias

May 30, 2022 Editorial Staff Leave a Comment

Did you ever think about using an alias in the select columns while using Laravel Eloquent?. We cannot say it’s very Laravel specific, rather a MySql feature. Basically, when you join two or more tables in MySql, chances are very high that you will have the same column names multiple times in the result. This…Continue Reading

Programming TagsLaravel

Laravel 8 Eloquent updateOrCreate() Example

May 27, 2022 Editorial Staff Leave a Comment

In this post, we will explain about Laravel Eloquent updateOrCreate() method and its importance in our code. It’s very common that we have database operations in our application, like inserting customer details and updating that customer details in a later stage, or deleting customer details. For example, you have a function that is responsible for…Continue Reading

General

How to Set Scroll Bars to Always Display on Your Mac Os ?

May 25, 2022 Editorial Staff Leave a Comment

Scroll bars help you to scroll up and down in any application. We cannot expect everything in the viewing pane, if you need you to need to have giant screens to accommodate that. Each and every operating system are evolving day by day, and they bring new features every day. You might have noticed that…Continue Reading

PHP, Programming

How to use __invoke() in PHP?

May 18, 2022 Editorial Staff Leave a Comment

You might have seen function in famous frameworks or third-party libraries and wondering what this function does, you are in the right place. The magic method triggered when the object is being called as a function. The method can accept any number of parameters and is able to return mixed data types. To get triggered…Continue Reading

General TagsGoogle

How to Search for File Types on Google ?

May 17, 2022 Editorial Staff Leave a Comment

We all search Google for our queries. Normally, we search for phrases and expect results as web pages. Did you know that you can Google more than just standard web pages? Google can help you find books, documents, spreadsheets, presentations, Adobe files, and much more with the help of file type search. File types that…Continue Reading

General

English Transition Words

Apr 8, 2022 Editorial Staff Leave a Comment

The transition words are used to link words, phrases, or sentences. They help the reader to progress from one idea to the next idea while reading a text. English transition words are very essential since they not only connect ideas but also can introduce a certain shift, contrast or opposition, emphasis or agreement, purpose, result…Continue Reading

Programming TagsLaravel

What does Model::unguard() do in Laravel?

Mar 23, 2022 Editorial Staff Leave a Comment

What does Model::unguard() do in the database seeder file from Laravel 5?

does temporarily disable the mass assignment protection of the model, so you can create records without worrying about the fillable. It’s not recommended to it for the users, but only for specific task such as seeding etc. For example, We have a table in our application. $table->double(‘name’); $table->boolean(‘status’)->default(false); And in the model protected $fillable =…Continue Reading

Javascript, Programming

collect.js – A Laravel collection clone in JavaScript

Feb 25, 2022 Editorial Staff Leave a Comment

collection-like-laravel-in-javascript

Are you familiar with the collection in Laravel, then you will love this Collect.js, a Javascript counterpart of Laravel Collection. Collect.js offers an almost similar API  to Laravel collections.

General

Three Wordle alternatives that you must try

Feb 9, 2022 Editorial Staff Leave a Comment

Wordle, the famous word puzzle game took the world by storm. Recently, it got acquired by New York Times newspaper. Today we introduce 3 wordle alternates that you must try, and win.

General

How to win in SEO World using these Stop Words?

Feb 8, 2022 Editorial Staff Leave a Comment

It is very important to know the usable stop words for a better SEO experience throughout your articles. We have curated a list of SEO stop words in this article. Just imagine you are targeting the keyword “Plumbers New York city”, there is no way you can insert this keyword in the article, otherwise you…Continue Reading

Programming TagsLaravel

How to Export CSV file in Laravel Example

Feb 3, 2022 Editorial Staff Leave a Comment

Exporting data to CSV is one of the many features most applications should have. Sometimes it would be a report for your marketing or finance team or a list of products in your inventory.

General TagsLaravel

How to create Your Own Custom Log File in Laravel

Jan 28, 2022 Editorial Staff Leave a Comment

Laravel is a well-known PHP framework for web artisans. In today’s tutorial, we will discuss how to create our own custom log file in Laravel. Logs are a very important part of an application as it records user journey in simple text files, so the administrator can look into these files if there is any…Continue Reading

Programming

Laravel db raw and whereRaw() where clause example

Dec 6, 2021 Editorial Staff Leave a Comment

whereRaw() in laravel

Laravel Eloquent provides endless methods to query your database and make good collections. But if you need to have normal MySQL expression in Laravel eloquent, such as replace white spaces from a field when using the where condition. This will help to push some of the limits that are with the Eloquent in Laravel. You…Continue Reading

General

How to change the background color of PDF in Adobe Reader?

Nov 18, 2021 Editorial Staff Leave a Comment

Most of us had a really bad time while reading in the white background long time, whether it’s a pdf book or something else. However, we can set our PDF’s background as black or any other color, which will be good for the eyes at least. Adobe Reader has a feature to change the background…Continue Reading

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Interim pages omitted …
  • Go to page 18
  • Go to Next Page »

Primary Sidebar

Quick Links

  • Top 21 Website Ideas To Make Money Online in 2021
  • A Simple YouTube Video Downloader Script in PHP
  • The 50 Most Useful jQuery Plugins for Frontend Development
  • Replace “\n” with new line characters, using Notepad++
  • Using Third-Party Libraries in Codeigniter
  • Upload Multiple Images and Store in Database using PHP and MySQL.
  • Hierarchical Tree view Category Example in Laravel
  • Laravel Image Intervention Tutorial With Example
  • How to import sql file in MySQL database using PHP?
  • Free VAT Calculator Online

Subscribe

* indicates required



Search Here

Share

   



Hot topics

  • Replace “\n” with new line characters, using Notepad++ 16 views
  • Solution: windows photo viewer opens each time save a pic file 11 views
  • A Simple YouTube Video Downloader Script in PHP 10 views
  • How to Create PDF File From HTML Form Using Fpdf? 9 views
  • How to create and download a Zip file with PHP 8 views
  • Open a URL in a new tab using JavaScript 8 views
  • Simple PHP Shopping Cart 7 views
  • How to enter new line in Microsoft Teams? 7 views
  • Hierarchical Tree view Category Example in Laravel 7 views
  • Laravel Eloquent Select Column as Alias 7 views

Categories

  • Design & Development
  • Drupal
  • Facebook
  • General
  • How To
  • ios
  • Javascript
  • Linux
  • Magento
  • Marketing
  • News
  • PHP
  • Plugins
  • Programming
  • Snippets List
  • Social Media
  • Softwares
  • Themes
  • Tips
  • Wordpress
  • YouTube























Copyright © 2023 · Planet on Genesis Framework · Powered By BunnyCDN . Network wallpapernoon.com