Support the ongoing development of Laravel.io →

Union in loop select - Query

Hi i need to create a union of select queries in a for loop. following is my code. $union = DB::tabl...

0 Likes
1 Replies
posted 10 years ago

What's the purpose of code injection in controllers constructors?

Hi, Here is how we should(?) instantiate classes needed by a controller class (just an example): cla...

0 Likes
5 Replies
Solved
posted 10 years ago

Testing: Type in field without name

I'm trying to test a payment form with fields without a name tag like this: <form action="/w...

0 Likes
0 Replies

Restricting access to auth/register page

Hi, This is probably quite simple, but I can't quite figure out how to go about it. What is was tryi...

0 Likes
4 Replies
Solved

Updating Laravel 5.0 files/folders outside of /vendor?

I have a Laravel 5.0 dev branch project from over a week ago. Since then, bower.json and .bowerrc c...

0 Likes
2 Replies
posted 11 years ago

Intervention/Image installation problems - phpinfo

I've been trying to install intervention/image but I get the following error: Problem 1 Installa...

0 Likes
4 Replies

pre shared key and laravel

is there a good show case of laravel rest resource being verified via pre shared key?

0 Likes
0 Replies

CRUD operations

Hello, Can someone help me with my problem or show example. I am a new user of laravel community. I...

0 Likes
1 Replies
posted 10 years ago

Switching Between List & Grid Views

I'm relatively new to Laravel so please forgive my ignorance. I'm creating an app and want to give t...

0 Likes
1 Replies

Laravel 4.2 - Eloquent Model does not throw Undefined Property

I have this Eloquent model. $order = Order::find(1); When I echo $order->Status; this should thro...

0 Likes
1 Replies
posted 10 years ago

How to print the custom response text in abort() function?

Hi, I found this line in the 5.0 documentation: abort(403, 'Unauthorized action.'); My question is...

0 Likes
2 Replies

Token mismatch on file import

I have a problem that I'm hoping someone has either run into before, or has an idea of the possible...

0 Likes
2 Replies

Upgrading to Laravel 5.1 from 4.1

Simple question and I am sorry if it was already stated elsewhere; Do I have to upgrade to each vers...

0 Likes
3 Replies

Stuck on Laravel 5 Beauty css is crashing

I am following a tutorial for Laravel 5 beauty and in the last tutorial titled "Cleaning up the...

0 Likes
7 Replies

Easy Localization and Translation

As I was getting tired of creating translation files and maintaining big arrays of translations, I l...

0 Likes
5 Replies
posted 10 years ago

Checking the value submitted exists in a table using the validation rule "exists"

The docs for L4.2 show examples of how to use exists with values for a 'where' clause when checking...

0 Likes
1 Replies

Events not firing on inherited model. How can I fix this?

I have a model, Order, that has an updated event. use Illuminate\Database\Eloquent\Model; class Ord...

0 Likes
3 Replies
Solved

User login without users table

I have a unique use case I am trying to write a laravel application for. I want to authenticate user...

0 Likes
1 Replies
posted 10 years ago

Want to Create dynamic page route for dynamic url

I want to create a website and their cms to create page and their link dynamically I opted the code...

0 Likes
0 Replies

Retrieving all input data using $request->all()

I have one middleware, which merges customerId to each incoming request. if ( ! $request->has('cu...

0 Likes
0 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.

© 2025 Laravel.io - All rights reserved.