Join a table on Pivot table

Greetings ! I have four tables as follows: CONTACTS: id | name COMPANIES: id | name RANK: id | name CONTAC...
01

Best practice when it comes to placement of assets?

I see that Elixir by default looks for your css/js files in resources/assets, yet comes standard with the css folder in public/. Is it a be...
00

Way Generators wont work in L5

So I just downloaded a fresh laravel 5 installation with composer and tried installing the laravel 5 package - generators. When I add it in require...
03

Updating with Command and Repository

I'm a bit confused on how to update a users profile using commands and a repository. If the user has a profile with the following editable fields:...
02

Access denied for user 'pma'@'localhost' (using password: YES)

I get the above error when using the application. Was able to put data in the database using artisan tinker; also able to access same. Was able t...
04

order by eloquent

I have this return Product::with('images', 'comments.owner')->findOrFail($id); And I need to order the commen...
13

Is there a database table seeder artisan command?

Hello I want to seed my database but I can't find any artisan command which will create a seeder for me. I'm not really familiar with the s...
02

gulp watch not watching files

Hi, I am unable to run gulp on a fresh L5 install. I did "npm install" on my project directory: I also had to install nodejs-legacy because...
01

Database query with math

Hi, So i have this query for my MySQL database, $sql = "SELECT analyser.* , CONCAT(costumerDB.name...
03

support for ActiveMQ

I am working on a project which requires integration with active mq. I was wondering if any of you have done this integration with laravel....
02

PHP Namespace level back

Heyho - I have a UserController in /app/Controllers/Backend/ namespace App\Http\Controllers\Backend; Now...
06

Schema builder VS Eloquent

Hello, I've just started working around with Laravel and I would like to know what are the best practices when it comes to create the dabab...
06

Elixir Error

Hello, I got this error when I run the command gulp Error: Cannot find module 'laravel-elixir/ingredients/commands/utilitie...
00

[ L5 ] Validation

Hello, What is the best way to use validation in laravel 5, I have different rules for different purpose. So what should I do, crea...
04

Has Many Through Pivot

Hi, I currently have 3 tables drivers, Fieldtrips and their pivot, driver_fieldtrip. I.e. the drivers can have many fieldtrips and a fieldt...
04

Do something after every request [L5]

Hi all Is there any way to register some function to be fired at the end of every request? I think I'm looking for something equivalent to...
04

Multi step form

Hi I am wondering if anyone can advise or point me in the direction of an example. I need to create a multistep form in a blade tem...
07

Using a Second Remote Database

Hi everyone, I am using the registration and authentication that comes with Laravel 5. So far, I managed to configure it and added all the...
14

PHPSpec Mocking new Class()

How would you go about testing this function. public function send(Message $message) { try { $c...
01