Support the ongoing development of Laravel.io →

4.3 passing eloquent model from FormRequest to controller.

If we are doing authorization in the FormRequest is there a way to pass the model to the controller...

0 Likes
1 Replies
Solved

Vagrant Warning: Connection timeout. Retrying...

I'm truing to vagrant up but issuing troubles. default: SSH address: 127.0.0.1:2222 default:...

0 Likes
2 Replies
posted 10 years ago

How to set model of hasOne child relation in code.

I have a model: class Parent extends Eloquent { public function child() { return $this->has...

0 Likes
3 Replies
posted 10 years ago

Redirect with query string

How do you redirect to an action while appending a query string? Right now Im doing something like t...

0 Likes
1 Replies

What is the prefered way to retrieve related models?

Which one of these two calls is the prefered way to retrieve guests checked-in at a hotel? $guests =...

0 Likes
2 Replies
Solved

Problem with Redirect when using JQuery Form Plugin (AJAX)

Hello, I am having some issues with a form I am trying to create. The form consists of collecting ge...

0 Likes
1 Replies

How to get page number before pagination query?

Hi all, I get posts with the query below in pagination: $posts = Post::all->paginate(30); I want...

0 Likes
1 Replies

Use Laravel for multi language static website with some custom functions

Hi, I need to create a new website for our company and I am not sure about the CMS/System. At first...

0 Likes
1 Replies
posted 10 years ago

Integrating Laravel with existing codebase

Hi, I'm a bit new to Laravel so excuse my ignorance... I'm integrating Laravel into an existing site...

0 Likes
0 Replies

How to pull a database into a HTML table?

Hi Guys, I'm quite new to laravel and I'm trying to work out how to turn a database table into a HTM...

0 Likes
2 Replies

4.3 models in app directory ?

Why is this good idea? As i see it gets quickly pretty rough when you have 100+ models to work with....

0 Likes
4 Replies

Best practise for linking

There seems to be many different ways to link across pages. <a href="{{ route('users.index') }}"&...

0 Likes
2 Replies

Eloquent relationship with count

I have three models: User: public function projects() { return $this->hasMany('StoredFile', '...

0 Likes
6 Replies
Solved
posted 10 years ago

Parent tables and Pivot tables

Hi, This question might be less laravel but more sql heavy. Please bear with me for a moment. I have...

0 Likes
1 Replies
posted 10 years ago

problem with File::makeDirectory(); in laravel 4

when i tried with File::makeDirectory('foo/any',0775,true); , it is successfully creating folder but...

0 Likes
1 Replies
Solved

Checking if value were pass to the view

How can i check if value is passed to the view? for example return View::make('view', array('result'...

0 Likes
2 Replies
Solved

Adding Files Dynamically To Default Template File

I was scanning over the documentation to find out how to use the asset pipeline script to help me be...

0 Likes
5 Replies
posted 10 years ago

Auth::login won't work

Hey, i have this code $auth = User::where('Nome', '=', Input::get('username'))->where('Senha',...

0 Likes
3 Replies

Forge: compiling Sass via Gulp after deploy on Forge

Testing out Forge with Linode, and I'd like to compile my Sass with Gulp after a deployment. I'm fam...

0 Likes
3 Replies
Solved

GET Data from a Button

Hello there, so i got a button: <form method="GET" action="settings"> <...

0 Likes
7 Replies
Solved

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.

© 2025 Laravel.io - All rights reserved.