Support the ongoing development of Laravel.io →

3,314 Threads

posted 10 years ago

Access restriction in relationships

Hi folks, I've got customers, and projects which belongs to customers. There's a customers table, an...

0 Likes
4 Replies

$_GET isset with laravel?

I'm working with Laravel. Trying to work out the best conversion for below. Would I use query builde...

0 Likes
4 Replies

Last record in Eloquent model

Laravel has a first method when accessing an Eloquent model, but is there a way to get the last reco...

0 Likes
1 Replies
posted 10 years ago

Where to put thise because windows not support artisan tinker

Find By Id Using find() $post = Post::find(2); $post->setHidden(['content','read_more','updated_...

0 Likes
0 Replies

using alias in a join

i have this join: $mains = Main::join('builds', 'mains.build_id','=','builds.id')->where('builds....

0 Likes
1 Replies
posted 10 years ago

How can I access additional models from a pivot?

I have three primary tables, Accounts, Users, Roles. All accounts are owned by a user but not all us...

0 Likes
6 Replies
posted 10 years ago

Consuming JSON via REST

Looking at interest at Laravel as a PHP framework. I have a question relating to its ability to use...

0 Likes
0 Replies
posted 10 years ago

Relations in namespaced models

I started to move all my models to namespaced directories /app/lib/Acme/models, but noticed that whe...

0 Likes
1 Replies

Temporary file not found on model create?

Hi everyone, so what i want to happen is when the form is submitted, an image is uploaded and the mo...

0 Likes
0 Replies

Dynamic classes from eloquent

Hi everybody, I'm just getting started with Laravel and SOLID development, and I'm having trouble fi...

0 Likes
1 Replies

Mocking Model Binding

I'm new to writing test cases and I'm writing a test to see if the edit resource page is shown corre...

0 Likes
0 Replies
posted 10 years ago

Laravel eloquent relationship

I have a table ranks as position player_id 1 77 2 99 3 12 and one more table players as id na...

0 Likes
4 Replies

Best practice for validating relationships using Ardent?

I'm working on an application containing log messages and users. The respective models are LogMessag...

0 Likes
0 Replies

Validation inside a mutator/setter

I was reading the following: "Validation should happen within the context of the setter prior t...

0 Likes
0 Replies

Where does those calls come from?

Hi, I installed php-debugbar and this is the output I get. select * from `pages`133μs256KB3000000005...

0 Likes
2 Replies
posted 10 years ago

Help with relationships.

Hi everyone I am having a slight issue with relation ships (honestly I think it's just my thick skul...

0 Likes
2 Replies

Handling Unique Short Code Representitives

Lets say I have a list of Status 1 - Pending Submit 2 - Submitted 3 - Extra Images Uploaded 4 - Com...

0 Likes
1 Replies

SQL Storing Searchable Meta Data

I am creating a bug tracking tool for mainly personal/in-house usage. BugSnag is kind of the motivat...

0 Likes
6 Replies

dynamic SEO URL wanted

Hello, I'm a newby with Laravel but I succeed to make pages and route them with a nice URL But I'm d...

0 Likes
3 Replies

Login Problem

I have database insert for login, But when login correct username & passwors then show it ErrorE...

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.