My Blog

My WordPress Blog

My Blog

My WordPress Blog

Tutorial

Action URL

Laravel 5.7 introduces a new feature called “callable action URL”. This feature is similar to the one in Laravel 5.6 which accepts string in action method. The main purpose of the new syntax introduced Laravel 5.7 is to directly enable you access the controller. The syntax used in Laravel 5.6 version is as shown − […]

Dump Server

Laravel dump server comes with the version of Laravel 5.7. The previous versions do not include any dump server. Dump server will be a development dependency in laravel/laravel composer file. With release of version 5.7, you’ll get this command which includes a concept out-of-thebox which allows user to dump data to the console or an […]

Artisan Commands

Laravel 5.7 comes with new way of treating and testing new commands. It includes a new feature of testing artisan commands and the demonstration is mentioned below − Explanation of Code Here a new class named “ArtisanCommandTest” is created under test cases module. It includes a basic function testBasicTest which includes various functionalities of assertions. The artisan […]

Hashing

s the process of transforming a string of characters into a shorter fixed value or a key that represents the original string. Laravel uses the Hash facade which provides a secure way for storing passwords in a hashed manner. Basic Usage The following screenshot shows how to create a controller named passwordController which is used for storing and updating […]

Encryption

Encryption is a process of converting a plain text to a message using some algorithms such that any third user cannot read the information. This is helpful for transmitting sensitive information because there are fewer chances for an intruder to target the information transferred. Encryption is performed using a process called Cryptography. The text which is […]

Artisan Console

Laravel framework provides three primary tools for interaction through command-line namely: Artisan, Ticker and REPL. This chapter explains about Artisan in detail. Introduction to Artisan Artisan is the command line interface frequently used in Laravel and it includes a set of helpful commands for developing a web application. Example Here is a list of few commands in Artisan […]

Authorization

In the previous chapter, we have studied about authentication process in Laravel. This chapter explains you the authorization process in Laravel. Difference between Authentication and Authorization Before proceeding further into learning about the authorization process in Laravel, let us understand the difference between authentication and authorization. In authentication, the system or the web application identifies its […]

Scroll to top