Support the ongoing development of Laravel.io →

mktime not working with larval

I'm using this tutorial to create a timer .. http://parashch.wordpress.com/2013/05/25/countdown-time...

0 Likes 2 Replies
Solved

Composer adding NUL's issue

ive been having some really strange problems with composer. It comes down to when i do a dump-autol...

0 Likes 2 Replies
Solved

Namespacing and Controllers in your 'Acme' folder?

Hi, I'm not sure I'm doing this the right way as it seems very messy. Moving my controllers from the...

0 Likes 9 Replies
Solved

Laravel database to webserver

I have laravel project and want to move it to a webserver. I can copy the laravel files with FTP, bu...

0 Likes 2 Replies
Solved

Envoy on windows?

Does envoy work on windows? When I run the below envoy command, I get... [[email protected]]: <...

0 Likes 3 Replies
Solved

Relationships (One-to-One)

I'm new to Laravel put like what I see so far. Here's my issue. In my example app I have 2 models...

0 Likes 10 Replies
Solved

Trying to get property of non-object

If i'm copy the url of the home page and paste it into another browser it should go to the login pag...

0 Likes 3 Replies
Solved

Throw new NotFoundHttpException("Controller method not found.");

I have: class ProfilesController extends BaseController { public function getTest() { return Vie...

0 Likes 6 Replies
Solved

Laravel using wrong table name?

Here's my Level model: class Level extends Eloquent { protected $table = "levels"; }...

0 Likes 4 Replies
Solved

Help with relation query

Hello, My query is returning the wrong product. My Order.php has a relation of public function items...

0 Likes 2 Replies
Solved

Unhash password and API grasping problems?

How do i unhash a password I want to display the password in a textfield inside my app? I uses Hash:...

0 Likes 2 Replies
Solved

Non-static method Confirm::posts() should not be called statically, assuming $this from incompatible context

These are my models User public function posts() { return $this->hasMany('Post'); } P...

0 Likes 5 Replies
Solved

Is there a reason for using URL Helpers?

Lets start with three examples: <link rel="stylesheet" href="assets/css/app.css&qu...

0 Likes 3 Replies
Solved

Cant see why my class wont work: Error: Class 'Acme\Something\Awesome' not found

Pastbin is always easier, see http://laravel.io/bin/dm73 For some reason it doesnt find the class, i...

0 Likes 4 Replies
Solved

Combining two query (WhereIn with Where) x 2

$userCollection = DB::table('collections') ->whereIn('user_id', array())...

0 Likes 3 Replies
Solved

Modify files from php

Is there any fast method to change values into files like language files (php) or json files?

0 Likes 2 Replies
Solved

Cannot find records using ->where() and booleans

Hi, I'm having a problem. Using migrations I create the following field: $table->boolean('is_clos...

0 Likes 1 Replies
Solved

Show only 'courses' that 'user' has created

Hey, I'm trying to build a query where I want only courses that belong to a user_id are displayed. H...

0 Likes 4 Replies
Solved

Issues with Eager Load With Limit & Variable

The following would give me collection without Items. $collectionList = Collection::where('user_id',...

0 Likes 7 Replies
Solved

Visible, Hidden, Fillable & Guarded with Foreign Keys

Hi, First question: What options should foreign keys use? Guarded? I have an Article object that has...

0 Likes 3 Replies
Solved

Thanks to our community

Solutions given in the past year.

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.