• 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

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

Social Media TagsPassive Income

Top Website Ideas To Make Money Online

Apr 13, 2021 Editorial Staff Leave a Comment

Looking for top website ideas to make money online, you are in the right place to start with. It’s not rare that people searching online for the best website ideas to make money. In today’s world, everybody in need of creating a passive income, but so many of them found their steady passive income using…Continue Reading

Programming TagsWordpress

Pros and Cons of WordPress for Web Designers

Apr 13, 2021 Editorial Staff Leave a Comment

Whether you want a blog, business website, sell online courses or an online store, you can create it using WordPress. WordPress is a content management system that allows users to develop websites. During its establishment, WP was a blog platform but has since become a global CMS for all users. So, as a web designer,…Continue Reading

PHP, Programming TagsLaravel

Laravel 8 – Ajax File Upload with Progress Bar

Apr 7, 2021 Editorial Staff 2 Comments

Today’s tutorial I will show you how to work on ajax file upload with progress bar in Laravel. File uploads are pretty much everywhere in today’s web/mobile applications. For example, in Facebook profile users want to add a photo, or in twitter handle users want to show an event picture etc. Let’s start with create…Continue Reading

PHP, Programming TagsYouTube Hacks

Show Thumbnail Image from YouTube Video URL using PHP

Apr 4, 2021 Editorial Staff

Thumbnail is the preview of an image, of a group of entities such as a movie, image gallery etc. The advantages of the thumbnail is,  reduced size of image, when compared to the original image used to represent something. A website or app that has thumbnails will have faster page loads rather than showing the…Continue Reading

Programming Tagsbash

How to Pass Argument in Bash/Shell Script?

Mar 29, 2021 Editorial Staff

Most of the people working on the linux environment definitely stuck in this question, how to pass arguments in a bash/shell script. The good news is you can pass any number of arguments to your script while it is executed. In this article, I will show you how to pass an argument using Linux/Mac shell…Continue Reading

Programming TagsLaravel

Eloquent date filtering using whereDate()

Mar 27, 2021 Editorial Staff

As like any other PHP frameworks Laravel has certain ways to filter the data by date. Let’s say you need to filter data set based on today. So I assume you have a field created_at in your database table. Consider this simple set of functions below, it fetches all the records dated today. Apparently, this…Continue Reading

Programming TagsLaravel

Laravel 8 Create Custom Helper Functions (Global function)

Mar 25, 2021 Editorial Staff Leave a Comment

This article helps you to create a custom helper function in Laravel. You may have noticed some functions in Larave do not need to import the classes, and it’s not attached with any class name, such as optional(), route() etc. These are so called helper functions.

Programming TagsLaravel

Automatically Set a Local Timezone for Users In Laravel

Mar 24, 2021 Editorial Staff Leave a Comment

Laravel Timezone is a great package by James Mills which sets users timezone in an application and show it based on their timezone. This package listens for the event and will automatically set a timezone on your user model. This brillaint package uses the torann/geoip package which looks up the users location based on their…Continue Reading

Programming TagsLaravel

Force HTTPS with a Middleware in Laravel

Mar 17, 2021 Editorial Staff Leave a Comment

Secured URLs has a key role to secure your web application in many ways. In my opinion, you should always serve the content via a secure URL and this is one of many ways to prevent from exploits. Oftentimes, applications will have a secure URL and URL without HTTPS. So our application needs to decide…Continue Reading

Programming TagsGit

Solution: Git is not fetching other remote branches when running git pull origin

Feb 25, 2021 Editorial Staff Leave a Comment

I have faced a strange porblem that when I run command, it is not fetching all the remote branches available. In that case I am not able to checkout to other team member’s branches. In simple words fetch command in git doesn’t get all branches.

General TagsMicrosoft Teams

How To Clear MicroSoft Teams Client Cache on Mac?

Feb 25, 2021 Editorial Staff Leave a Comment

It’s very common thing that clearing cache when we have something wrong with our softwares and which is not only help to save space on the device, but to ensure smooth working of the software. Below are the steps you need to follow to clear the cache of the Microsoft Teams communication software. Right Click…Continue Reading

Programming TagsPHP

How to Remove Multiple Elements by Key in PHP Array?

Feb 11, 2021 Editorial Staff

Today’s article, we will remove multiple elements by key in a PHP array. Using PHP we can delete multiple keys from an Array. In PHP there is no built in method to achieve this, but we can combine several PHP functions to achieve this. In this article we will be demonstrating two methods to remove…Continue Reading

General TagsMicrosoft Teams

How to enter new line in Microsoft Teams?

Feb 11, 2021 Editorial Staff Leave a Comment

Did you ever hit Enter, thinking of a new line in Microsoft Teams and send a half prepared message. If then this article is for you. It’s very normal that you will have to add multiple lines in your messages. Some people uses a different text editor to type the long message and copy paste…Continue Reading

Programming TagsLaravel

Difference between Laravel’s raw SQL functions

Feb 11, 2021 Editorial Staff

Laravel comes with a lot of helper functions to interact with Database efficiently . There are Eloquent which composes an ORM model, and helps to write expressive relations and queries. But some cases that’s not enough, we have to have some raw queies need to write to achieve the results. So in this article  we…Continue Reading

Programming TagsLaravel

How to clear laravel.log in Laravel?

Feb 1, 2021 Editorial Staff

laravel.log is a file that contains logs from various actions in laravel framework. This file is usually located in To clear laravel.log you could use the below methods easily.

Linux Tagsdocker

How to fix docker: Got permission denied issue on Ubuntu

Jan 29, 2021 Editorial Staff

Problem When I ran just   command on Ubuntu 20.04 LTS, it throws an error like below. But it was fine when I used .

  • « 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 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++ 39 views
  • How to enter new line in Microsoft Teams? 34 views
  • Simple PHP Shopping Cart 18 views
  • Open a URL in a new tab using JavaScript 15 views
  • Add FTP/SFTP in Visual Studio Code 15 views
  • Laravel: Download files to storage from SFTP 12 views
  • Solution: windows photo viewer opens each time save a pic file 12 views
  • A Simple YouTube Video Downloader Script in PHP 11 views
  • How to Create PDF File From HTML Form Using Fpdf? 11 views
  • Laravel Eloquent Select Column as Alias 11 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