Support the ongoing development of Laravel.io →

thomasedwards

Joined 21 Mar 2014

Statistics

Threads 5
Replies 8
Solutions 2
Articles 0

Pagination, whether or not to render in Blade based on query

I’ve got an admin-type page that allows the use to either Browse using pagination through all cours...

0 Likes
1 Replies

Laravel 5: Passing through validated input to model after FormRequest

Apologies this is on 5, and I know things are likely to change at any given moment, but I think this...

0 Likes
2 Replies
Solved
posted 10 years ago

Call to a member function make() on a non-object

When I run phpunit: PHP Fatal error: Call to a member function make() on a non-object in vendor/lar...

0 Likes
0 Replies

Log out a user during a test

When writing tests, I can be a user: $user = User::find(1); $this->be($user); But, for a few tes...

0 Likes
5 Replies
posted 10 years ago

How can I make a column nullable that already exists?

I don't want to drop and re-create the the column, but I need to now make it nullable. There doesn't...

0 Likes
2 Replies
replied 10 years ago

How to use Ardent on a class User extending ConfideUser?

You can’t extend two classes – ideally either ConfideUser or Ardent would be a trait so they could b...

0 Likes
replied 10 years ago

Render page problem?

You appear to have your environment set as production, which will make it tricky to debug any issues...

0 Likes
replied 10 years ago

Standalone script

Start with the Where To Start part of the docs, particularly around Routing. Then consider watching...

0 Likes
Solved
replied 10 years ago

Join query in eloquent

By default, Eloquent will assume you’re using admin_id instead of penulis on the artikel table. See...

0 Likes
Solved
replied 10 years ago

Rename a file before moving it to Directory

From the Docs for Files: Input::file('photo')->move($destinationPath, $fileName); $fileName is t...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.