Support the ongoing development of Laravel.io →
posted 10 years ago

Laravel Eloquent condition in pivot

Hello everybody, I'm just trying a little bit with the Laravel Eloquent model and now have the follo...

0 Likes
1 Replies

Any suggestion for protecting user registration route API?

Hi all, I'm now building an API for mobile devices, and for the authentication I'm using OAuth2, and...

0 Likes
0 Replies
posted 10 years ago

Users with vastly different profile types

Hi everyone. I'm putting together an app that has two types of user (teachers and students). Each us...

0 Likes
2 Replies
Solved

Retrieve Eloquent model using multiple table query

I think I am missing something basic here. I have an sql query that works fine but I am unable to tr...

0 Likes
6 Replies
Solved

store function not finding the correct table

In my page I have a textbox where you can enter your name and a dropdown where you can select a grou...

0 Likes
2 Replies
posted 10 years ago

Strange issue getting user data

Hi guys, I have an issue trying to get a specific user data. Before, I had in my database the user u...

0 Likes
1 Replies
posted 10 years ago

Pass API's URL to JavaScript

Hello guys, I wonder how do you pass URLs to your API to JavaScript? I use Ajax with jQuery and what...

0 Likes
1 Replies
posted 10 years ago

Laravel Restful Controller Searching Database For ID?

So to explain my issue, whenever i am connecting to the database with Laravel it will default search...

0 Likes
1 Replies

View file in response (not download)

Hello guys, is there any built-in method to view file in response, just as it was in /public folder?...

0 Likes
0 Replies

ModelNotFoundException is not working

Hi, I am trying to redirect Not found query page to 404, but this is not working try { $page = Pa...

0 Likes
3 Replies
Solved
posted 10 years ago

Not able to store array data in variables

I am fetching data from http://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=shahrukh...

0 Likes
0 Replies

Homestead ssh weird chars

Hello I'm using homestead on windos 8.1 Pro 64bts and just installed homestead. Wile using homestead...

0 Likes
8 Replies

Not able to register a custom Validator Resolver via Composer Package

I can not register a custom Validator in a Package The error is: Call to undefined method BSW\ApiPac...

0 Likes
1 Replies

Google App Engine and vagrant

Has anyone taken an existing laravel project running on vagrant/homested and pushed the code to goog...

0 Likes
3 Replies

eager loading with constrain issue

so here is my controller $beritas = KategoriArtikel::with(array('Artikel' => function($query) {...

0 Likes
0 Replies

View [emails.welcome] not found.

I tried to call sending email in a queue but the above title is the error I gotten here's my source...

0 Likes
1 Replies

echoing array inside array

so i do eager loading and it returned 1 array inside array like this array(3) { [0]=> array(6...

0 Likes
2 Replies

Destroy Method From Icon

What way should I be using deletes to send a id to the user destroy method? <td class="cente...

0 Likes
1 Replies
posted 10 years ago

Using an orWhere in a Join

I am trying to use an orWhere in a join statement. This is what I have: ->join('wheres', function...

0 Likes
1 Replies
Solved
posted 10 years ago

All emails with an attachment shows as plain text since last composer update

Yesterday I did a composer-update to make Laravel Debugbar work, but today I found a big problem. Ev...

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.

© 2025 Laravel.io - All rights reserved.