Support the ongoing development of Laravel.io →

[L3.2] Set custom headers to all Requests.

Hello, I wish to set headers to all http requests in Laravel 3.2 header('Cache-Control', 'nocache,...

0 Likes
1 Replies
posted 10 years ago

Validation rule. How to allow only 1 or null?

How do I make a validation rule that allows only a 1 or null? Thanks.

0 Likes
1 Replies

Describe model table

Hello i was wondering is there an easy way to describe table that corresponds to specific model like...

0 Likes
1 Replies
Solved

Laravel isn´t working on shared Server based on Linux

Hi, does anybody know how to setup Laravel that it´ll work on a shared Server based on Linux? I´ve t...

0 Likes
6 Replies

Controllers namespaces

Hi, I'm new to laravel and I'm a bit confused with one probably simple question. When should I use n...

0 Likes
3 Replies
posted 10 years ago

FatalErrorException after Installation

Hi, I'm new to Laravel and can't wait to get going with it. I've just installed using the Laravel in...

0 Likes
1 Replies
posted 10 years ago

Combining 2 functions on a class?

I would like to know how i can combine 2 functions to a class. (newbie question) $data = tblcategori...

0 Likes
5 Replies

Guide On How To Setup Laravel 4 (Hostgator) On Mac

After hours of trial and error I decided to make this guide for new laravel users. Make sure you ha...

0 Likes
0 Replies

Rollback if mail sending fails - how to do?

Hello, I have a database operation that saves a user in the database. After saving I will send an em...

0 Likes
2 Replies

Getting a list of routes for a named controller

Is there an easy way of getting a list of routes for a named controller in laravel? Thanks

0 Likes
0 Replies
posted 10 years ago

Can't propperly retrieve related models

For some reason I can't get any of my related models when using Eloquent ORM. I have the following s...

0 Likes
2 Replies

Very long “Router Dispatch” event in Clockwork on localhost server

I'm developing an app locally but I'm experiencing very poor performance. When tracking it down with...

0 Likes
0 Replies
posted 10 years ago

artisan commands are missing

Hello! I have copied my project from a develop server to a production server, I wanted to start to c...

0 Likes
1 Replies
posted 10 years ago

Accessing the values of input fields with same name (set of inputs - fields for a list of employees)

Hi, I have a form which is populated dynamically for each employee. Each employee has a set of input...

0 Likes
2 Replies
Solved
posted 10 years ago

add foreign key field to database

I want to add a foreign key field on mysql, but eloquent is making this difficult. When you do the f...

0 Likes
1 Replies

how to pass a url to route

Hello, for my requirement, i need to strap referrer data so i am using like this {{ route('go', arra...

0 Likes
1 Replies

Image Upload / Lavarel stores image as a .tmp and not .img file

I created a Forum which should upload an image. In my form i`ve {{ Form::file('image') }} This is a...

0 Likes
0 Replies

Issue with Laravel's Form Builder

The getMethod function implementation does not accept all HTTP verbs except POST, GET? My use case i...

0 Likes
1 Replies
posted 10 years ago

How to solve this with N+1 issue? Customer has a lot of activities, I want to take the latest one

Relation: One customer has many activities. From the Index page, I want to show the latest activity...

0 Likes
5 Replies
Solved

Url Resolution behind reverse proxy

Hi everyone, I created I small application and it's working smoothly in internal network. I've then...

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.