• 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

Editorial Staff

Programming TagsLaravel

Laravel WhereHas() Eloquent Example

Aug 29, 2021 Editorial Staff Leave a Comment

WhereHas() is a Laravel eloquent method, which helps to define additional query constraints on your queries, such as filtering your books with some author name. For example, return all the books if it matches an author named Charles Dickens. But whereHas() often confused with some other terms in Laravel, has() and with(), which is very…Continue Reading

Programming TagsLaravel

How to Rollback migration in Laravel ?

Aug 29, 2021 Editorial Staff Leave a Comment

When you check the migration table in Laravel, you can see a batch number with every record. So, when you run the rollback command, it rolls back each migration that was part of the last migration. php artisan migrate:rollback The above command will roll back the last batch of migrations which may include multiple migration…Continue Reading

Programming

What are the basic programming concepts and the Fundamentals used in Coding?

Aug 28, 2021 Editorial Staff Leave a Comment

A long time ago, coding was one of the hobbies for a few fiddling with computers. But now it has become a mandatory qualification in career skills. Job recruiters are also willing to pay a lot for people who are skilled in programming. Anyone can become a professional if they know the core concepts and…Continue Reading

Programming TagsPHP

How to Create PDF File From HTML Form Using Fpdf?

Aug 22, 2021 Editorial Staff 1 Comment

In today’s tutorial, we illustrate how to convert HTML to pdf with PHP.  As you know already, PDF stands for “portable document format”, a format that is used when we need to save a file that cannot modify but can be printed easily. In today’s article, we will show you have to post a form…Continue Reading

Programming TagsLaravel

Laravel str is() Function With Example

Aug 22, 2021 Editorial Staff Leave a Comment

In today’s tutorial, we will show you how to use string is() function Laravel. Basically, this function determines if a given string matches a given pattern. Asterisks can be used to indicate wildcards. Note: we can use this function as Str::is() or is(), both are correct as it’s a helper function, and it can be…Continue Reading

Programming TagsPHP

How to Move all zeroes to end of array in PHP with example

Aug 22, 2021 Editorial Staff

In today’s post, we will explain how to move all zeros to the end of the array in PHP. So in this example, we have created a function move_zero_to_end with a parameter $arr. The first part of the function iterates through the array elements and pushes non-zero elements to the array. So the zeros are…Continue Reading

Programming TagsLaravel

How to use Faker with Laravel ?

Aug 11, 2021 Editorial Staff

As the name suggests Faker is a PHP library that generates fake data for you. Why do we need fake data? Good question, we need fake data to simulate a development environment, which looks very close to real data. Sometimes developers need to have a bulk amount of dummy data, to test a feature like…Continue Reading

Programming TagsLaravel

How to Add Foreign Key in Laravel Migration?

Aug 10, 2021 Editorial Staff

Today’s tutorial shows how to add a foreign key to a MySql table field in Laravel migration. I am sure you are in the right place to start with the migration and foreign key constraints in Laravel. As we discussed earlier, the foremost purpose of the foreign key is to provide referential integrity between parent…Continue Reading

Programming

7 Best Pagination Plugins For WordPress

Aug 9, 2021 Editorial Staff

Best Wordpress Pagiantion Plugin

The sites have a nice navigation structure that will attract more visitors, and it will be a pleasure for the visitors to glide through the website. So with a nicely done pagination, your visitors are more likely to engage with your content, click through to new pages. Is pagination is must-have for a website?. The…Continue Reading

Programming TagsWordpress

How To Add Read More Link to Excerpts in Genesis Framework?

Aug 7, 2021 Editorial Staff Leave a Comment

continue-link-genesis

Genesis Pro framework builds better sites faster with powerful site-building tools for WordPress. So today’s article we are showing how to add read more links in post excerpts in the WordPress website using the Genesis theme. Use the below snippets in the functions.php file of your Genesis child theme. add_filter( ‘the_content_more_link’, ‘tp_get_read_more_link’ ); function tp_get_read_more_link()…Continue Reading

PHP

5+ Dating Application Script in PHP

Aug 4, 2021 Editorial Staff

1) QuickDate – The Ultimate PHP Dating Platform QuickDate is a social dating script written in PHP, and it gives you a complete configurable dating application without doing much coding. It’s very fast, secure, and regularly updated. Features 1) Admin Dashboard 2) High Performance 3) Filters to search 4) Premium feautre option to unlock more…Continue Reading

Programming

Top 25 Algorithms Every Programmer Should Know

Aug 3, 2021 Editorial Staff

It’s advisable to learn how the data structures and algorithm works in computer science, even before you start type the first line of code. A better understanding of DSA and algorithms will make you a better programmer and this will help you to choose the right data structure every time you write code. Binary Search…Continue Reading

Programming TagsAdobe, PhoneGap

How To Develop A Mobile Chat Application With PhoneGap?

Aug 3, 2021 Editorial Staff Leave a Comment

How To Develop A Mobile Chat Application With PhoneGap

Mobile chat has become an integral part of the digitized world. Talking of chats we are not only talking about social media, dating, or similar kinds of apps but more. Mobile chat has become an important part of online business as well. From the chatbots on the website to the chat support on various apps, the chatting arena has…Continue Reading

Programming TagsLaravel

Check for the application environment in Laravel views or controller

Jul 19, 2021 Editorial Staff Leave a Comment

Often times you will come across to check what is the current environment in your application. I am talking about if it’s in production or development or any other state that you defined. For example, you may need to show Google ads on your website when it’s in production mode. Indeed, you need a directive…Continue Reading

Softwares Tagstorrent

How to install & use Transmission in Ubuntu 18.04 & 20.04

Jul 9, 2021 Editorial Staff Leave a Comment

Transmission in Ubuntu Linux comes as a default BitTorrent client that can be used to download torrent files directly from the internet to your computer. It uses underlying bitTorrent client to download the files to your computer. Today’s article we try to install this GUI client in your computer. Step 1 Open Ubuntu Command console…Continue Reading

Softwares TagsStudio

InVideo Review: Is it the Best Video Creation Tool?

Jul 7, 2021 Editorial Staff

Online platforms are filled with videos. Every individual, business organization is using the video tool to tell stories to the viewers. Gone are when people take time to read a long blog post or article to acquire information. Nowadays, people are living a fast life. Especially the millennials and Generation Z are taking these video…Continue Reading

Programming TagsLaravel

How to Get a List of Registered Route Paths in Laravel 8?

Jun 16, 2021 Editorial Staff Leave a Comment

There are many ways we can get the list of registered routes in Laravel. I would prefer the below two methods.

Programming Tagsjavascript, PHP

How to Calculate Whether an Image Is Landscape or Portrait in PHP & Javascript?

Jun 16, 2021 Editorial Staff Leave a Comment

When I was creating an image gallery for a webiste, needed to show whether the image is portrait or landscape. So today’s tutorial, we will have answer for this question.

Programming TagsPHP

PHP array_column() Function Example

Jun 14, 2021 Editorial Staff Leave a Comment

PHP function is built in PHP function, that returns the values from a single column in the input array. Basically, return the single column of the array based on the provided by the program.

Programming TagsLaravel

Two ways to set default DB column value in Laravel

Jun 13, 2021 Editorial Staff Leave a Comment

Sometimes your project needs to set default values to some fields if it’s not set from the form/another source. In Larvel there are two ways to set default values to the DB column.

Programming TagsLaravel

How to constrain a route parameter with a given regular expression globally in Laravel?

Jun 13, 2021 Editorial Staff

How would you make sure a route parameter is always a numeric value. Most of the time an parameter will be an integer value. So today’s tutorial we will show how to globally constrain a parameter to a regular expression.

Programming TagsASP.Net

State Management in ASP.Net MVC

Jun 12, 2021 Editorial Staff

state-management-in-ASP.net

Introduction Microsoft frameworks are strongly considered for their security features. Some of the astonishing features include authentication-authorization management, HTTPS enforcement, error management with Global Exception Handling support in ASP.NET Core, CORS management, etc.

Programming TagsAjax

How to send GET and POST AJAX request with JavaScript

Jun 10, 2021 Editorial Staff

How to send GET and POST AJAX request with JavaScript

Ajax requests are very important for the modern web as they refresh the page content without reloading the entire page. It’s a good contribution to the user experience. A question that arises now is how to implement Ajax in Javascript. However, there are a plethora of libraries that work with Ajax like jQuery, VueJs, Axios,…Continue Reading

General

Add default current timestamp to Laravel migration

Jun 7, 2021 Editorial Staff

Adding a default current timestamp, in MySql via Laravel migration. $table->timestamp(‘created_at’)->default(DB::raw(‘CURRENT_TIMESTAMP’));

Javascript, Programming Tagsjavascript

How to Get Value of Selected Option In JavaScript?

Jun 4, 2021 Editorial Staff

Today’s tutorial we will learn how to get value of selected option in JavaScript. In JavaScript, we use selectedIndex property to get the value of select box value element. The selectedIndex property sets and returns the index of selected value from the  drop-down list. We will use onClick to get the value, you can use…Continue Reading

Programming TagsAlpineJS

Add dynamic form fields using AlpineJS

May 27, 2021 Editorial Staff

Why we need to use AlpineJS, a simple answer is to that is create a better experience. Over the years, we use jQuery to create an event listener on the button clicks, form submits, or other manipulations on the web page. It works perfectly for our requirements, but an imperative method ( asking the browser…Continue Reading

Programming

All Countries SQL file with Country Codes to Download

May 27, 2021 Editorial Staff

This post focused on the data that includes list of countries and country code in different formats such as sql, json, php etc. You can click on the download link to download the files Download Countries SQL File

Programming TagsLaravel

Using Laravel’s dd (dump and die) function in your application

May 23, 2021 Editorial Staff

One of the common debugging option still remains in PHP is to print the values in the browser using or .

Programming Tagsjson, xml

Pros and Cons for using JSON over XML – Detail Guide

May 19, 2021 Editorial Staff

JSON (JavaScript Object Notation) and JSON beautify Tools are a modern market favourite. It is common coding knowledge that JSON stores the entirety of its digital information in the form of a guide design; key combinations – thus a more convenient option because it is much simpler to fathom than other data formats. The modern…Continue Reading

PHP Tagsstring

PHP Variable Interpolation

Apr 14, 2021 Editorial Staff Leave a Comment

Variable interpolation is adding a variable inside a string in PHP. The main thing to note is, PHP interpolation works only in double-quoted strings and the heredoc syntax. If you use interpolation inside a string with single quotes, it will just print back the same variable. In fact, the single-quoted string can not parse the interpolated…Continue Reading

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Interim pages omitted …
  • Go to page 20
  • 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

  • Attribute Casting with Laravel 1 view

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