The setup. I have Posts items that users can favourite. I show the count of how many people have fav...
Hi everyone! I try this code: $urls = Url::with(['user' => function($query){ /** @var $query \I...
My DB is like 2000 records, the info is encrypted, using Crypt in my model... /* NAME*/ public func...
I have an existing blog application, and I would like to add a way to have different types of blog p...
I have a multi-tenant DB that I need to manage incrementing invoice numbers per tenant. It's import...
Hello ! I have two models, who have a one-to-many relationship. 1 - a company has many initiators 2...
Suppose we have two tables abc and def. id is primary key of both tables. abc_id is foreign key of d...
Hi, This is the first time I am hosting sites on Digital Ocean. Everything is set up and working wit...
Hi, I need to perfom a query which includes a join on multiple conditions. Therefore, I try to do th...
Hey, Quick question here! I don't really know what are the best practices on that subject, so I'll l...
This is part of a union MySQL query I'm using in my current project: SELECT DISTINCT NULL AS id, i1....
I currently have a form with 3 dropdown menu which allow a user to select his date of birth by day,...
Hi. Check out a new library for data filtering in Laravel 4. It applies named scopes according to UR...
Please excuse my lack of terminology. Because I know what I want to ask. But I don't know what it's...
Hello, I am trying to use following code (inside user model) public static function onlyActive()...
I am having problems with creating a schema / model for one of my projects and would like to get som...
I'm creating a Laravel web app to sit along side a client's website. The website is older and wasn't...
I have a form, where user selects category from DB table "categories" and column "tit...
I am working on creating a CRUD for polls to use during an event. Pretty easy concept - on a scale o...
Title is self explanatory
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