Support the ongoing development of Laravel.io →

1,816 Threads

eloquent relationship many-to-many with 2 tables?

so my table structure is this: users: id,........ user_favourites: id, user_id, favourite_id Both...

0 Likes
0 Replies

laravel redis

Error while reading line from the server. [tcp://localhost:6379] while broadcasting the event neithe...

0 Likes
0 Replies

Working with Unicode Emoji from iOS.

Hello, So this week I was presented with a rather complex scenario that I wish never landed on my la...

0 Likes
1 Replies

Laravel 5, re-using event handlers

Hi all, So I have an event called NewUserRegistered that fires after a new user registration. The ev...

0 Likes
4 Replies
posted 9 years ago

Formatting Json inside your Controllers

Can someone please explain this syntax with the arrays , what it does, what it means? $response = [...

0 Likes
1 Replies
posted 9 years ago

Directory listing with Laravel

Hi guys, I'm rather new in the world of PHP-frameworks. Mostly i've worked with Wordpress. My questi...

0 Likes
1 Replies

Which will earn me more Salary as a developer? Magento vs Laravel ?

I have 2 years of experience in many frameworks such as cakePhp, Core, OOP, CodeIgnitor including Ma...

0 Likes
1 Replies

OAuth Question

i planned to create my own oauth server, do i still need to create a "User" model / databa...

0 Likes
0 Replies

Advice needed on whether to create an API or not?

I was originally creating a normal website (with DB interaction) then I thought I will build an app...

0 Likes
0 Replies
posted 9 years ago

homestead problem with php version

I dont think i made any changes, i was creating a functionality in a new branch which I then merged...

0 Likes
0 Replies

Add some data to all methods on constructor

I want to send some data for all methods (GET ) of the Controller and do not want to have to do this...

0 Likes
1 Replies
Solved

All Your Design Patterns Are Belong To Us

One team I'm on right now is in the process of building a massive application on Laravel. As we've a...

0 Likes
0 Replies

How to detach a single record in a pivot table

I currently have a pivot table (users_toys) joining a users table and toys table. There are 4 column...

0 Likes
6 Replies

Best stack for new app.. laravel 4.2/sentry vs laravel 5/sentinel

Creating a large new web app.. what do you feel is the most appropriate choice? Laravel 5 + sentinel...

0 Likes
1 Replies

add Kernel middleware at runtime

Following this thread I saw that a few weeks ago two new methods were added to Illuminate\Foundation...

0 Likes
5 Replies

DB binding error

HI Im building a package that has mapping, now one of the function it needs to be able to do and que...

0 Likes
2 Replies
Solved

Folder Routing

Hi Guys! New to Lavarel and hoping someone knows a solution to this. If we call: 1.2.3.4/site/one 1....

0 Likes
1 Replies

Permission based Visibility, Appending, Eager Loading and Filling

Dear Laravel enthusiasts, I'm working on writing a REST API in Laravel and I've run aground on this....

0 Likes
1 Replies

Argument 1 passed to App\Application\Repository\Eloquent\Database::__construct() must be an instance of File, none given

I am Pretty new to the repository thing and don't do a lot of dependency injection.Now am having thi...

0 Likes
0 Replies

I have a blade that I'd like to cache so it loads faster. How can I do this?

So basically I have something like this in my routes.php: Route::get('/book/{page?}', array( 'as...

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.