Category: eloquent

Laravel eloquent get details from related table

I don’t understand how to return info back to blade template if I have two related tables: First table is standard Laravel ‘users’ table Second table: Schema::create(‘recipes’, function (Blueprint $table) { $table->bigIncrements(‘id’); $table->string(‘code’, 10); $table->string(‘description’); $table->float(‘size’); $table->bigInteger(‘created_by’)->unsigned(); $table->string(‘status’)->default(‘pending’); $table->boolean(‘deleted’); $table->timestamps();…

Is Laravel with Doctrine a viable solution for Domain Driven Design? [closed]

I would very much appreciate your opinion. I have an existing Laravel project that I have been working for some time. https://github.com/mchekin/rpg At some point, as I became more familiar with DDD, and as I realized that Eloquent (being an…