The most basic Laravel routes accept a URI and a Closure, providing a very simple and expressive method of defining routes: The Default Route Files All Laravel routes are defined in your route files, which are located in the routes directory. These files are automatically loaded by the framework. The routes/web.php file defines routes that …
Basic Routing You will define most of the routes for your application in the app/Http/routes.php file, which is loaded by the App\Providers\RouteServiceProvider class. The most basic Laravel routes simply accept a URI and a Closure: Basic GET Route Other Basic Routes Registering A Route For Multiple Verbs Registering A Route That Responds To Any HTTP …
Laravel Queues allow you to delay a time-consuming task until a later time. By delaying the time-consuming task, you can improve the performance of the Laravel application significantly. In this post, we will discuss Laravel Queues which is one of the best features of the Laravel framework. So let’s dive in. Laravel Queues Laravel Queues …
Here, i will explain to create seeder for insert multiple records on database table in laravel 5.7 app. in this example you will show how to use seeder and how you can run specific seeder in laravel 5.7 project. We should know what is database seeder in laravel and why we should use before start …
Migrations are like version control for your database, allowing your team to modify and share the application’s database schema. Migrations are typically paired with Laravel’s schema builder to build your application’s database schema. If you have ever had to tell a teammate to manually add a column to their local database schema, you’ve faced the …
ntroduction Laravel migrations provide mechanisms for creating and modifying database tables. Migrations also allow you to roll back the most recent changes that you made to a database. Generate Migrations To create a migration, use the make:migration Artisan command: When you create a migration file, Laravel stores it in /database/migrations directory. Each migration file name …
This guide will help all PHP developers who are looking to try their hands with Laravel on MAC OS. Laravel, has a couple of dependencies and I will not get into all of that, I wanted this installation and setup process to be less complex for any developer reading this and for that have already …
1. Clone GitHub repo for this project locally If the project is hosted on github, we can use git on your local computer to clone it from github onto your local computer. Note: Make sure you have git installed locally on your computer first. Find a location on your computer where you want to store …
Abstract This document details how the page- and text-level settings can be used to adjust how Google presents your content in search results. You can specify page-level settings by including a meta tag on HTML pages or in an HTTP header. You can specify text-level settings with the data- nosnippet attribute on HTML elements within …
What is a robots meta tag? A robots meta tag is an HTML snippet that tells search engines how to crawl or index a certain page. It’s placed into the <head> section of a web page, and looks like this: <meta name="robots" content="noindex" /> Why is the robots meta tag important for SEO? The meta …
PAGE TOP
error

Enjoy this blog? Please spread the word :)

RSS
Follow by Email