There is a system timezone setting in the app.php config file, and that sets the PHP session timezon...
I have some code that looks like this: class User { public function addRoleById($role_id) {...
I was always against this approach, but now I am reconsidering. Is there a best practice way to do t...
I get some questions from my database: Controller: public function getQuestion() { $questions = Qu...
Hi, I'm new in laravel, and I encounter problem when get relation data through 3 tables.. I had seve...
So this is driving me a bit nuts - Eloquent will not return the full set of data. It's stuck at 426...
Hi guys, First of all: Hello to the Laravel Community. Working as a web developer in an agency I hav...
I am building a fairly complex application that will store many different user factors. In theory, e...
Hi, is there any way to combine "with" and "join" in a single fluent query? Eg.:...
I am building two applications that are using the same database,one is a RESTful service and the oth...
Hi, I'm working on a system that has a multi-level multi-tenancy requirement. Each level I require I...
Im experiencing a php timeout error because it takes more than 30 seconds. I have a model (person) t...
I have two tables Product and reviews, in which the reviews contains a rating. i am trying to order...
I am trying to pull all Profiles only if there is a record in the ProfileAttributes table and as a t...
i am trying to get an object from a database where the schema is timestamp period_starts_at timestam...
Under the heading "Many To Many Polymorphic Relations" in the laravel docs http://laravel....
local.ERROR: BadMethodCallException: Call to undefined method Illuminate\Database\Query\Builder::out...
i want get last post On Tag : 1 - paginate All Tags ( order By created_at ) ( for Example : $blogTag...
I have a table that needs to store confidential data in two BLOB columns. The overall SQL statement...
Here is the query I have: $messages = Message::select('messages.*') ->where('post_id'...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community