I have a command that runs in an while(1) loop, which occasionally needs to send an email alert usin...
On the phone so YMMV: $addresses = Address::has('location', '=', 0)->get();
Both will work - I go for B) as long as all the queries etc are in the controller/model
Any cpanel etc host is pretty straight forward - if using default public html just update your publi...
How many tables do you have? A basic model is probably 4 lines of code, so it might not be too much...
Fat models, skinny controllers is what I always strive for. As a project develops I often will test...
The Laravel portal for problem solving, knowledge sharing and community building.