• 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

Laravel

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 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

Snippets List TagsLaravel

Laravel date set timezone

Feb 3, 2021 Editorial Staff

In ‘timezone’ => ‘Asia/Kolkata’ Laravel date set timezoneHow to create console command in laravel ?Show a number in two decimal places in PHPPHP str_replace() FunctionHow to delete file from public folder in Laravel?How to run Laravel validation if the field is not empty?How to add custom CSS to head section in Magento 1 ?Append an…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.

Programming TagsLaravel

How to create a custom console command (artisan) for Laravel

Jan 28, 2021 Editorial Staff Leave a Comment

Laravel’s Aritsan(command-line interface) is well known among developers as commands are always very handy to achieve results. Laravel is not different, comes with very good setup for extending their core command interface. In Laravel, commands are generally saved in the folder. In this article, you’ll learn how to create a custom command for artisan easily…Continue Reading

PHP, Programming TagsLaravel

Hierarchical Tree view Category Example in Laravel

May 3, 2020 Editorial Staff 2 Comments

For most of the projects you work on in PHP or in any language, there you have to encounter categories and subcategories. When comes to categories, the tree view is the best listing method that we can use in our web apps. In this article, we are showing you how to create a Laravel tree…Continue Reading

Programming TagsLaravel

How To Install And Use CKEditor In Laravel?

Sep 23, 2019 Editorial Staff Leave a Comment

Today’s tutorial, we will show you how to use CKeditor in Laravel. CKEditor is a WYSIWYG HTML editor which allows us to write rich text formats. We can have HTML elements in the textarea, but it doesn’t have formatting options. Updating this HTML in textarea needs expertise in HTML/CSS. That’s why we have CKeditor, which…Continue Reading

PHP TagsLaravel

Laravel Auth: Login with username instead of Email

Apr 9, 2019 Editorial Staff Leave a Comment

Setup Project Update the .env file with your desired database details. Run the following command to create the scaffold for authentication pages. Next, we want to add our new field, username to our database migration structure. Open this file database/migrations/create_users_table.php. Add the username field in the up() function after the name field. So the final…Continue Reading

Programming TagsLaravel

What is Laravel Mass Assignment, Guarded or Fillable?

Dec 26, 2018 Editorial Staff Leave a Comment

When you work with Laravel you may have heard Mass Assignment, Guarded or Fillable. In this article, we will go through each term in detail.

Programming TagsLaravel

How to Use reCAPTCHA in Laravel 5 Forms For Validation

Jul 14, 2018 Editorial Staff Leave a Comment

Google reCaptcha in Laravel application

There are plenty of options to prevent spam, but captcha is one of the best to use. When talking about captcha, the first thing will be in mind is weird characters seen on the online forms. Here we talk about Google’s Recapthca integration to your Laravel application.

General, PHP TagsLaravel, Laravel 5.5

How to get Query Strings Value from a URL in Laravel 5.5?

Dec 19, 2017 Editorial Staff Leave a Comment

When you work with Laravel it is very common to get query string values from URL. In native PHP you can get this via $_GET variable. But when you want to get Query strings from a URL in Laravel you can use the below methods. Either you can use Request Facade or Input facade in…Continue Reading

Programming TagsLaravel

How to enable image uploader in CKeditor 4 in Laravel 5

Oct 17, 2017 Editorial Staff 15 Comments

CKEditor is  one of the best WYSIWYG editor available for your websites. Today’s tutorial I will show you how to use image upload in CKEditor using Laravel. This option let you upload an image from your computer or a direct link from other website. You can see the result of the tutorial as shown in…Continue Reading

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2

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++ 14 views
  • Solution: windows photo viewer opens each time save a pic file 12 views
  • Simple PHP Shopping Cart 10 views
  • A Simple YouTube Video Downloader Script in PHP 10 views
  • How to Create PDF File From HTML Form Using Fpdf? 9 views
  • All Countries SQL file with Country Codes to Download 8 views
  • How to create and download a Zip file with PHP 8 views
  • How to set up GitHub SSH in Ubuntu with example 7 views
  • How to enter new line in Microsoft Teams? 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