Support the ongoing development of Laravel.io →

Using input::get() to filter DB result is it safe ?

Hi, I use a form on a list of items to perform a filter. The form use a GET method. So in my URL I h...

0 Likes
4 Replies
Solved

Running laravel without composer in intranet server (and wamp)

I tried to run laravel app in a intranet server but there was lot of problem. I changed the base url...

0 Likes
5 Replies
posted 11 years ago

Apache serves a PHTML file when I try to open my laravel app

I am running Ubuntu 12.04, and I have Apache2 and PHP 5.5.9 installed and the MyCrypt module as well...

0 Likes
1 Replies
Solved

Filtering Results in RestAPI with attributes from a related model

I'm currently building a REST API with laravel. I'm trying to implement filtering of results on a ro...

0 Likes
2 Replies
Solved

Can you use sum() or something like it in a whereHas() statement?

I have a model called 'Charges' which stores charges made by someone. I want to sum all the charges...

0 Likes
1 Replies
Solved
posted 11 years ago

How to determine if model support soft deleting?

Hello, is there a native way to determine if a model supports soft deleting? Something like: User::u...

0 Likes
2 Replies
Solved

Controllers - Am I doing this right?

Hey, I'm new in using frameworks and I tried to figure out, how to do simple insert, edit, delete by...

0 Likes
2 Replies
posted 11 years ago

Current date in where

How do I use curdate() in a query in Laravel?

0 Likes
2 Replies
posted 11 years ago

Logging SMTP output for testing

In development and QA, i'd like to record the Mail object's transaction history to a DB table, but a...

0 Likes
0 Replies
posted 11 years ago

Learn Dependency Injection for Laravel.....

Hello all... I want to learn Dependency Injection in Laravel. Can anyone suggest me the best materia...

0 Likes
2 Replies
posted 11 years ago

Template looping with custom variables

I'm trying to figure out the best way to present data in a grouped fashion. I have a load of courses...

0 Likes
0 Replies

Route Model Binding with addtional optional parameters

I just can't get this to work: Route::model('mymodel', 'Mymodel'); Route::get('/test/{mymodel}/{view...

0 Likes
0 Replies
posted 11 years ago

Checking if friends.

I want to check if people are friends. I want to check if in a row both the authenticated user exist...

0 Likes
5 Replies
Solved
posted 11 years ago

MorphToMany

Can someone give me an example of how to save elements with this relationship? Currently I have Prod...

0 Likes
0 Replies

Using lavarel in an existing website.

Hi guys i just started using laravel and i love it. I do have a problem, i want to create a contact...

0 Likes
0 Replies

Mobile & Desktop Pagination

It's possible to have two pagination settings for mobile & desktop? app/config/view.php If mobil...

0 Likes
1 Replies
Solved
posted 11 years ago

assertRedirectToRoute

I created a test for users.store and I wanted to test if I get redirected to users.index if everythi...

0 Likes
7 Replies

[Packages] Meta (Makes it easy to add meta tags to your views) and Shareable (Simple social sharing buttons for views)

Hey everyone, I released a package today that some of you may find helpful. It's called Meta, and it...

0 Likes
1 Replies

Installing laravel 4 but disconnect

Hi, I just want to ask...If you instal laravel by issuing the command "composer create-project...

0 Likes
0 Replies

Form:model + checkbox

Hello everyone, I'm using form::model for data editing, works correct but return empty checkbox, how...

0 Likes
4 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.

© 2025 Laravel.io - All rights reserved.