Support the ongoing development of Laravel.io →

firstOrCreate and join

Hello, how can I join two tables with firstOrCreate method? for example I wanna get a row of a table...

0 Likes
0 Replies

Route Welcome from tutorial does not work

Hello, I just started learning Laravel from this series: https://laracasts.com/series/laravel-5-from...

0 Likes
1 Replies
posted 10 years ago

Correct way to dispatch a new request inside the application and dealing with Request injection afterward

I am dealing with a restful api. Each controller deals with one type of object. Now the wish is to u...

0 Likes
5 Replies
posted 9 years ago

Route dispatch

I have similar problem in Laravel 5.1 I have route like that $oldRequest url: /test1 method: post da...

0 Likes
0 Replies

Loading blank pages in Laravel 5.2 after upgrade from 5.1

So everything was working perfectly in version 5.1 of my laravel project but after upgrading to 5.2...

0 Likes
0 Replies
posted 9 years ago

Retrieving old Check-box array

I want an array of checkboxes to get the either the old value or the value stored in the database, i...

iwebroot liked this thread

1 Likes
0 Replies

Trouble using Eloquent with multiple pivot

Hello Guys, Here is my design database: Booking: id, status, transaction BookingItemOfferPair: i...

0 Likes
0 Replies

Eloquent 5 in Lumen giving unwanted response.

I've recently started using Laravel 5 and the new Eloquent 5.* and I'm experiencing some unwanted re...

0 Likes
0 Replies

Laravel 5.2 .env sometimes doesn't load in time

I am reading some configurables from my .env file. These configurables are used in various places wi...

0 Likes
4 Replies

Routing stopped working after upgrade from 5.1 to 5.2

HI my routes look like Admin Routes Route::group(['middleware' => ['web']], function() { Route::g...

0 Likes
2 Replies

Special characters in controller not passing to view

Hi. Example in one controller: return 'À'; The string comes blank due to the accent, if i change to...

0 Likes
1 Replies
Solved

config/marketo.php not being loaded.

Hi I've installed https://packagist.org/packages/micfai/marketo-php and it has created config/marke...

0 Likes
0 Replies

dealing with precision numbers / money and storing it using eloquent

Ive been doing some calculations in code converting strings to float because thats the only way I co...

0 Likes
2 Replies
posted 10 years ago

How do you test your events are firing with L5?

My Middleware \Event::fire(new RouteRequested($request->route()->getName())); My test $r...

0 Likes
4 Replies

Export to excel

Hi I use this to display data on my form after the user selected criteria for the report: @foreach($...

0 Likes
9 Replies
Solved
posted 9 years ago

Larvavel for big e-shop

HI, is Laravel good for creating big e-shops? If yes, why? If not, why? Thank you

0 Likes
1 Replies

Trying to mass assign Checkbox Input values to database

Hi, Laravel 5.2 here. I can't save my checkbox values to db $data = $request->all(); $data["...

0 Likes
0 Replies

Order by + Pagination

Hi guys , I'm having a problem with pagination . Well it works pretty fine at first page , but when...

0 Likes
0 Replies

Create own login validation without database

Hi All, I have a project with Laravel 5.2 and besides that I have an other program that has the poss...

0 Likes
1 Replies

Convert this GeoLocation Query to Query Builder for $$$

If someone can help me get this query working properly in Query Builder I would be willing to pay a...

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