Relationships with pivots

Ok, bear with me while I setup these relationships. I have these tables: users: User - id talents: Talent - id projects: Project -...
05

Simple role based authorization package - roleable

Hello! This is a simple role managed authorization package I wrote. It's quite simple, but I am using it in some projects for fine grained user acc...
04

Check SMTP Connection

I need to check a smtp connection with username and password (without sending an actual email). I think i can do it with SwiftMailer::connec...
02

Does Collection have Exists() or do I need use isEmpty()

Cannot find a exists() like with Eloquent on Collection. I assume I need to use isEmpty, but that requires a reverse ternary setup which is a pain...
04

Explanation on default authorization example shipped with Laravel

Hello, I have started learning laravel and going through the laracasts for laravel 5. I downloaded the package using composer and it went well. I w...
04

How should I apply this Eloquent relationship?

I have 3 tables: Users _____ id name password _____ Categories _____ id name _____...
03

Dynamic routes

Hello all, I am trying to use dynamic routes but every way I have try I end-up hitting a wall. Ideally I would have a catchall route which t...
00

Alignment Fix

There is an alignment issue with long titles at certain widths....
00

How Do You Guard The Values From The Forms?

Hello! Let's say that you have a payment form with a few choices (it doesn't matter if it's a radio button or select). If the user opens up...
02

how to achieve that relations with eloquent ?

let's say we have tables permits # type --------- 1 one 2 two 3 three metas permit_id datable_id...
01

order of learning videos

Hi, someone can give me the links of the series in order of learning (video series)? So that learning is sequential and organized....
03

Aritsan::call(vendor:publish)

Artisan::call( 'vendor:publish', [ '--force'=> true, '--provider' => 'App\Modules\Installer\Providers\Install...
02

PHP Question

Sorry if this is a dumb question, but in PHP can you use the returning value without casting it to a variable. Example, INSTEAD OF T...
01

Auth class outside Laravel

Hi, i was wondering if it is possible to use Auth::check() in a class i have that is not part of Laravel? It's a file manager that is in pub...
01

Basic Query With Join

Hello everyone, I'm new to Laravel, I would like to join two tables, Courses and Classes but having a heck of a time getting to work, what i...
08

papertrail

How to integrate paper trail into laravel 5...
03

Auth User Data in Routes

Hi, Is it posible to use Guard information for signed user in routes.php? I tried, but always the result is null. For example: dd(app("...
06

Question L5 bower

Hello! I was watching this video: https://laracasts.c...
12

Complex ternary operator in Eloquent queries ... bad practice?

I'm wondering if an experienced developer would frown on this type of query? I ask as the readability is poor but is does provide for concise code....
03