Support the ongoing development of Laravel.io →

Testing Relationships

Hi all! How can I mock a call to One-to-Many relationship? For example, I have a call in controller...

0 Likes
3 Replies

Schema Builder - how to create partial keys?

Hi, is there something like $table->timestamp('pid')->nullable()->index()->where('pid',...

0 Likes
0 Replies

Left Join empty result

SELECT b.cat_id, b.cat_parent FROM cat AS b LEFT JOIN cat AS a ON b.cat_parent = a.cat_id WHERE b.ca...

0 Likes
1 Replies

Laravel 4 created_at field cannot be saved when using eloquent creates record

Runtime version: PHP 5.3.10 Laravel 4.0 Create table like this: Schema::create('components', functio...

0 Likes
1 Replies
posted 9 years ago

Passing array to view!

here is my function to select data from database http://laravel.io/bin/Qq2oD and i get this error !...

0 Likes
2 Replies
posted 9 years ago

Problem with laravel.

Hi guys, I have a big problem with laravel eloquent model. When I create my application and i create...

0 Likes
1 Replies
posted 9 years ago

Redirect in controllers

Hello, I am new to laravel i don't know much about it but i want my script to redirect to a specifie...

0 Likes
4 Replies
Solved
posted 9 years ago

Eloquent interdependent relationships

I have a case where I have a Department and Users. A User belongsTo a Department. But a Department a...

0 Likes
1 Replies
Solved

Adding form macros not working as directed.

Hi again, I want to add an HTML 5 date input type. I am using this guide and file: http://blog.small...

0 Likes
1 Replies
Solved

Empty column when inserting data

Hi, When I create a new item, I always have the column 'link' empty in my table. The table's column...

0 Likes
4 Replies
Solved

Error in Exception handler when not connected to database in Laravel

I have the following code in my app/start/global.php file: App::error(function(\PDOException $ex...

0 Likes
1 Replies

How to display posted data into my form inputs

Hi, My problem is very simple. I'd like to display into my formś input the content I wrote when ther...

0 Likes
3 Replies
Solved
posted 9 years ago

Auth::onceBasic()

I'm trying to do a stateless basic authentication before on a group of routes. see http://laravel-re...

0 Likes
0 Replies
posted 9 years ago

Best practice for getting data from single repositories or multiple repositories

I've been mulling over this question for a couple of days now, but can't seem to decide on the best...

0 Likes
1 Replies
posted 9 years ago

Get a Last inserted Id In Laravel model Form.

Im new to Laravel.. How to Get a Last inserted Id In Laravel model Form. When Creating a New Project...

0 Likes
0 Replies

.htaccess authenticated access

Hey, so I'm trying to password protect access to my development site, and doing what I've done befor...

0 Likes
0 Replies

When will a session *really* expire? Using Cartalyst Sentry.

Hi - I've got this in app/session.php: 'lifetime' => 5, I'm using Cartalyst Sentry for authentic...

0 Likes
4 Replies

Publish config file

I wrote a package https://packagist.org/packages/pabloezequiel/environment and I'm getting it using...

0 Likes
1 Replies
posted 9 years ago

how to make a class have other subclasses and each method and properties are intertwined.

<?php class SignupController extends BaseController { /* |-------------------------------...

0 Likes
0 Replies

laravel application removed to another pc

I have just transferred my laravel application to another pc and I have installed composer. I am run...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.