Skip to main content

Questions tagged [laravel]

Laravel is a free, open-source web MVC framework for PHP.

3 votes
3 answers
236 views

I'm trying to implement a heartbeat feature for offline tracking that just sends an offline message to the server once the web browser app (Laravel-based) is offline. Ideally it will ping the app's ...
meowyn0316's user avatar
5 votes
4 answers
730 views

A little background before I ask my questions. I've designed a system as an architect based on the requirements given to me by the client. The client has a team or two to three developers which are ...
Simple Fellow's user avatar
1 vote
2 answers
229 views

I am having a bit of problem trying to find the correct place for business logic. The project I am working on isn't huge, but is not small either and has a very considerable importance in my company. ...
Bernardo Benini Fantin's user avatar
3 votes
2 answers
2k views

I'm building a web application using Laravel. I use the repository pattern as my data layer. Imagine there's some entity like Product and a product can be assigned to a ProductCategory. The Product ...
user2190492's user avatar
0 votes
0 answers
111 views

I find myself in a situation where I have two roles, "Admin" and a "Organizer". The "Admin" accesses the AdminUserController to update users, while the "Organizer&...
Aridez's user avatar
  • 129
-2 votes
2 answers
73 views

In my PHP Laravel application, I want to display special offers to users, depending on the quality of their house(s). There are 4 Models: User, House, Offer, OfferTargeting. Each User can have many ...
Tim Kohlen's user avatar
0 votes
1 answer
745 views

I use the Laravel framework. I've got controllers, like CustomerActivityController, and I've got a service layer with services like CustomerActivityService. Say I want to create a new customer ...
user2190492's user avatar
1 vote
1 answer
394 views

There must be a good reason for this. Laravel's default pattern makes no use of Service Classes... but the Laravel community's best practices is for business logic to be stored in them. Laravel's ...
Django Reinhardt's user avatar
7 votes
1 answer
493 views

I'm working with services and I found out there are at least 3 ways to use them inside controllers... Statically: Like helper, Text::uppercase('foo') Instancing it: $text = new Text(); $text->...
JuliSmz's user avatar
  • 181
2 votes
0 answers
66 views

TLDR: project scope has crept beyond my capabilities and I need an early exit strategy (in both parties' best interest) Early last year I took on a gig to develop a web application for a financial ...
eric_tet's user avatar
-1 votes
1 answer
100 views

I'm developing a package for Laravel & Lumen in the same code base, but I encountered some problems. Well, in the beginning, I thought it could have the same code and work for both frameworks, ...
Ariana's user avatar
  • 17
-3 votes
2 answers
197 views

I have a Kubernetes instance from DigitalOcean that has 2 worker nodes and 1 load balancer. Now I want to create a MySQL managed database cluster for the app that will run on that Kubernetes. Question ...
emma's user avatar
  • 133
2 votes
1 answer
772 views

I have inherited a project via laravel that uses its database migration mechanism coming from the framework. The application has the following table named actions: action_log_id SERIAL PK user_id INT ...
Dimitrios Desyllas's user avatar
0 votes
1 answer
231 views

Let's say I am developing an ecommerce application. And I have modules organized in certain way. Products Coupon Tag (can be used as brands and linked data) Offer Now what I want to achieve is user ...
Rajesh Paudel's user avatar
1 vote
0 answers
46 views

I created a forum where I want to display notifications and messages as soon the user gets them. I don't want them to need to refresh to page to see if any notification/message been sent, but I also ...
Giuseppe The Dreamer's user avatar

15 30 50 per page
1
2 3 4 5
9