Support the ongoing development of Laravel.io →

2,389 Threads

Possible Issue With JSON Request In Testing

I've written the following test to try and create an access token for my API: public function testAc...

0 Likes
1 Replies

How do I get the selected value from the dropdown using L-5.1?

How do I get the selected value from the dropdown? <p>{!! Form::select('companyname', array(''...

0 Likes
0 Replies

Whats the difference with this code and which is faster

I have some confusion on what's the difference with this codes. I have been accustomed in using eloq...

0 Likes
4 Replies

Api with route parameters to scale down code. Class not found

I'm trying to make a api that uses route parameters so that i don't need 1000 routes for all the dif...

0 Likes
1 Replies

Basic HTTP Auth with credentials stored on .env file

I'm trying to make a group of secret routes on my app. Route::group(['middleware' => 'auth.secret...

0 Likes
0 Replies

Middleware with parameters

I'm using Entrust and I'm having some issues. I would like middleware such as this: Route::get('arti...

0 Likes
3 Replies

Lumen - Enabling middleware causes jQuery AJAX post request 500 (Internal Server Error)

I am currently making a website using Lumen 5.0.10 in Laravel 5. POST and GET requests work without...

0 Likes
3 Replies

Unable to delete when using soft delete

Trying out softdelete and I'm yet to understand what is wrong with the code. Whenever I try deleting...

0 Likes
1 Replies

Laravel 5.1 - remove public from URL

Hi everyone, I have installed laravel on windows server and I am having issues removing the public f...

0 Likes
4 Replies

Triple Pivot Challenge- Looping through a Collection

I have the following challenge, trying to join 3 tables in Laravel 5: I have a many-to-many relation...

0 Likes
0 Replies

Display SQL count query results in the VIEW

Hello guys, i have this mysql query for counting something in my controller $count = 0; foreach ($d...

0 Likes
0 Replies
posted 8 years ago

Anyone having issues viewing laravel.com?

I'm getting a connection refused error..

0 Likes
0 Replies
posted 8 years ago

Return/throw something from route callback to indicate "actually not a match, try other routes"?

As the subject says - is it possible to indicate a non-match for a route from within the route callb...

0 Likes
0 Replies

ResponseFactory not found

I have got the following: Route::post('hello', function() { return response()->json(['ok' =>...

0 Likes
0 Replies

How to Handle Routes of Two Laravel Projects on One Domain or Server?

I'm working on a project divided into two separate parts. Part one, the bigger part, is in Laravel 4...

0 Likes
0 Replies

Best practice when creating a form

Im new to Laravel, and thought i would start out by creating a simple form. By searching around the...

0 Likes
2 Replies

Slow request execution

Hi there, I'm quite new to Laravel so I don't know if I missed something, but my issue is the follow...

0 Likes
3 Replies

Route model binding won't work

Hi guys, I'm relatively new to Laravel but am so far impressed. One of the features that I was reall...

0 Likes
0 Replies

Cant echo data in welcome.blade.php

Hello guys ive been trying to learn Laravel and it's a lot of fun. I am running in to some problems....

0 Likes
2 Replies

Middleware return $next($request) with JSON?

In the handle() method of my middleware, I currently have: return $next($request); But I would like...

0 Likes
5 Replies
Solved

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.