Support the ongoing development of Laravel.io →

2,389 Threads

Laravel Passport CSRF token mismatch?

I can't log in to my laravel API with passport, suddenly, everytime I try to register or login and I...

0 Likes
1 Replies

Web Route Protection via Tymon JWT

Hey dudes, I am new to Laravel and therefore I wanted to know if it is possible to use the GetUserFr...

0 Likes
0 Replies

Orderby with nested relationship

Hello, I have a model with 2 levels relationship, and I would like to order by id from 2nd level. My...

0 Likes
0 Replies

Route Model Binding with Repositories

Hi, I have an application where there are multiple subdomains (portals) running from a single instan...

0 Likes
4 Replies
Solved
posted 7 years ago

Request's and $this-> in static functions

Hello, I have created a controller called ProductController. In that controller I have added pagin...

0 Likes
0 Replies

add new "password" column for authentication

Hi, I need to do two kind of authentication users. First is by password, so you need to type login+p...

0 Likes
0 Replies

Route.php Web.php . What does Route excactly do

Hi everybody, I'm very new in Laravel. I have been watching some videos and I saw this route.php use...

0 Likes
1 Replies

How to login/ register the laravel default authentication by sending xhr request?

Hello, Info : Laravel using make:auth using form data to register and login. Problem : It must acces...

0 Likes
0 Replies

Laravel 5 - Config::set() not working in index.php

In Laravel 4 I can set app config values from index.php...for example Config::set('app.myvar','myval...

0 Likes
7 Replies

Laravel 5.2+ date before and after date validation not working

This works 'expected_at' => 'date|after:"2016-04-09 10:48:11"', Or this works $rules['...

0 Likes
1 Replies

Routing url to request in Grid Editing function in Kendo UI - (from working example)

I want to use the Kendo UI in Laravel. It is work good, while I dont want to make a CRUD things with...

0 Likes
0 Replies

want to execute command in controller

Hi , I want to execute below command , when someone submit the post mean store function of postcontr...

0 Likes
1 Replies

Laravel and Local Storage

Hey, I understand local storage is a client side construct and therefore isn't directly available vi...

0 Likes
0 Replies
posted 7 years ago

$_COOKIE work file but Cookie::get() not work.

Hello, I am using https://github.com/carhartl/jquery-cookie for setting cookie and I want to get coo...

0 Likes
1 Replies
posted 7 years ago

Route and optional parameter issues

Hello there, I have trouble with an optional parameter, defined in two routes, in app/Http/routes.ph...

0 Likes
1 Replies
Solved

How to make where() restrictions on resourceful routes

Hello, Route::resource('tasks', 'TasksController', array( 'where' => array('tasks' => '[0-9]+...

0 Likes
2 Replies
Solved

Equivalent of FORCE INDEX FOR JOIN in Laravel Query Builder

Hey there! I'm looking for a way to use FORCE INDEX FOR JOIN clause using the Query Builder, Basical...

0 Likes
0 Replies

Post data with XMLHttpRequest

Hi, I am trying to send data on my controller using XMLHttpRequest but it doen't work. My route: Rou...

0 Likes
2 Replies

Session always returns the variable value to 1. seems like its forgetting.

following is my code class Cart { public $totalQuantity; public function __construct($oldC...

0 Likes
0 Replies

Laravel Responding to Angular (same domain) and ReactJS (different) Differently

First off let me say that I understand that CORS is an issue, and I'm not sure if it's what is creat...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.