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

Exception using $this when not in object context

I seem to miss the meaning of this exception and error message. Hoping someone who uses symfony more...

0 Likes
0 Replies
posted 10 years ago

Documentation correction

Hello, it's rather cosmetic but a semicolon is missed at "Passing An Array Of Wheres" exa...

0 Likes
2 Replies
posted 10 years ago

Deferred service providers with dependency injection

Is it possible to use deferred service providers when binding to a type? For example, I want to bind...

0 Likes
1 Replies

Paginate Encrypted Data

My DB is like 2000 records, the info is encrypted, using Crypt in my model... /* NAME*/ public func...

0 Likes
0 Replies

Adding Column to DB Table

I have an existing blog application, and I would like to add a way to have different types of blog p...

0 Likes
1 Replies
posted 10 years ago

belongsToMany + belongsToMany

A User belongstomany (can have many) Collections. A collection belongstomany users. A collection bel...

0 Likes
0 Replies

Problem having a Route named same as folder in Public

I have a route called admin which displays my admin dashboard however its broken since i have a fold...

0 Likes
4 Replies
posted 10 years ago

ORM validation, valid date or null

I have a table that may have a date or may be null. Is it possible to set an ORM validation rule th...

0 Likes
1 Replies

use laravel with record locking

I have a multi-tenant DB that I need to manage incrementing invoice numbers per tenant. It's import...

0 Likes
0 Replies

Eloquent relation

Hello ! I have two models, who have a one-to-many relationship. 1 - a company has many initiators 2...

0 Likes
3 Replies
Solved

Lazy loaded relation results in "ErrorException Relationship method must return an object of type Illuminate\Database\Eloquent\Relations\Relation"

My ERD is something like this: ControlForm hasMany FormRows FormRow hasMany FormColumns FormColumns...

0 Likes
0 Replies

can we find a row based on foreign key??

Suppose we have two tables abc and def. id is primary key of both tables. abc_id is foreign key of d...

0 Likes
4 Replies

What are the typical things I have to do in order to keep the app secure up and running?

Hi, This is the first time I am hosting sites on Digital Ocean. Everything is set up and working wit...

0 Likes
1 Replies

Using a variable in join function

Hi, I need to perfom a query which includes a join on multiple conditions. Therefore, I try to do th...

0 Likes
4 Replies
Solved

In-query check or code check

Hey, Quick question here! I don't really know what are the best practices on that subject, so I'll l...

0 Likes
4 Replies
Solved
posted 10 years ago

How can I replicate this SQL with the query builder?

This is part of a union MySQL query I'm using in my current project: SELECT DISTINCT NULL AS id, i1....

0 Likes
2 Replies
Solved

Best way of using model event and eloquent guard

I currently have a form with 3 dropdown menu which allow a user to select his date of birth by day,...

0 Likes
0 Replies

Is possible array of form input validation and display each input validation error?

how to display custom messages after validation, I require that each input message is showing valida...

0 Likes
3 Replies

Scope Applicator - a package for easy data filtering and sorting

Hi. Check out a new library for data filtering in Laravel 4. It applies named scopes according to UR...

0 Likes
0 Replies

Get array from browser url.

Hello all, Can anyone please send me a bit of code to get array from url? Suppose this is my url :...

0 Likes
3 Replies
Solved

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.