Server has difficulties with scheduler

Hi all, A little problem here with artisan commands, and I'm wondering if anyone could help with this :) I have a artisan command mail:export which mails a li...

How do you use PHPUnit to test Request objects?

I want to be able to test that given some input array, I get the expected MessageBag results out of a Request object, but there doesn't appear to be an easy way to do this....

How Can I Extends Laravel 5 With My Own Packages?

How Can I Extends Laravel 5 With My Own Packages ?...

Sync three way pivot

Hey guys, Im wondering how i can get my sync working with when using a three way pivot table. What i have tried so far is: public function proj...

Security questions before deleting an DB record

Hi, I think it is a good behavior to implement a security question before deleting any record from the DB. What I mean by that is, if you have some delete button in...

About MVC

Hi dono if anyone feel this is not the place to discuss this topic My doubt is about MVC M and C always confuses me. For me M - is where all our...
General
18
52

Trouble with Eloquent "Has"

I must be missing something because when I execute the following code: $combination = LockCombination::has('units')->get(); I ge...

class logic - blade alternative

I tried to active this with blade syntax but kept getting errors... <div class="product <?php if($category=="pizzas") { print "mix&...

laravel 5 package install

how install given below two packages in laravel 5 ? "way/generators": "2.", "fzaninotto/faker":"[email protected]...

Unit Testing in Laravel 5

I am trying to test my code and I have followed the documentation and I am not getting it quite right. I have created a UserTest.php file to check the all the proces...

App::environment() returning "production"

When I dd(App::environment()); I get production -any ideas why? $env = $app->detectEnvironment(array( 'local' => array('localhost', 'my.loca...

Running artisan commands in a multi-tenancy Laravel/Doctrine app

Hey there, so, here's something I've been pondering over for a few sleepless nights... I'm building a multi-tenancy app that uses Doctrine. Each tenant has th...

Best way to do Eloquent Model Subtyping

Hello, I have been working on a new site and I am new to Laravel, but I have run into a problem that I haven't seen answered by any Laracasts. How can you execute Da...

Moving code from Route.php to a Controller for handling AJAX form

I've went through the video series but perhaps I missed something. I want to move my code in route.php into a controller, when a form has been submitted through AJAX...
General
13
56

Is there any way for 3 levels interrelated tables with (tree view) dropdown

Any Laravel Expert is here to help ? :) Hi friends I am new to laravel 5, I need your help to show three level tree view category look like this Laptop &...
Tips
2
28

Adding session upon logging in using built in AuthenticatesAndRegistersUsers on Laravel 5

Hi pros, I was trying to add a session on the postLogin but it's not working. I have also tried on the function redirectPath() but no luck. What i was about t...

Laravel on UniServer or WAMP/XAMPP

Hi, I'm near the end of my first laravel project and is ready to host it on my school server which runs on UniServer (...

changed variables on homestead.yaml doesn't effect

i've changed variables APP_ENV from local to homestead variables: - key: APP_ENV value: homestead artisan detected env no problem...

Link To Route Variables

Is this the only way to append 2 variables (series-title and message-title) when using the link_to_route method without creating a URL query? I am looking to achieve the fo...

Understanding Route::post

Hi, I have bee watching the Laravel 5 Fundamentals and I'm not sure what does 'articles' do in the following post route... Route:post('articles', 'Art...
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels