Hi, I'm using Tinker to test my models, and whenever i attach something to a model, i need to exit t...
Hi, I'm new to the framework, and I like it; but I'm stuck on something; I use the bootstrap tab and...
I’ve got an admin-type page that allows the use to either Browse using pagination through all cours...
I have register form, in that form there is select form which decide if user is farmer or buyer. If...
I have a model and I have a method and also a scope that looks like this: public function scopeDue($...
I am using PHP Version 7 - Laravel 5.8 and "maatwebsite/excel": "^3.1". When I f...
I have three Models Record, Category and Subcategory. The Record table stores category_id and subcat...
Hi, I have a problem with the cells in the table after foreach loop. He does not want to sort me the...
I need to custom return data like this and view path but I dont know how to extend service provider,...
I would like to have a list of categories of products with the respective quantity of products assoc...
I have a model class Enrolled extends Model { protected $table = 'enrolled'; protected $casts = [...
Demo Repo https://github.com/fukuball/Leak58 Laravel memory leak example It is normal to loop and pr...
Seeking for experienced advice on structurizing the database table. I have a 7 day money balance tab...
Hi. How can I add a rule to the inflector for pluralization of Spanish phrases? I have the following...
Developers, I'm doing a search function and I can not bring the variable into sql? can anyone help,...
Hi everyone, I need help on how to auto delete all blogposts with status of draft every weekends (sa...
i want create count point using one to many, desc: tb_user : user_id | name | point tb_customer...
I got an IDE warning when using increment on a model, The code works. I found that increment was ro...
im setting up a One To One (Polymorphic) like this My Models: namespace App; use Illuminate\Database...
Hi, Case: I want to update a value in MongoDB using Jenssegers Mongo Eloquent. The existing data val...
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