Support the ongoing development of Laravel.io →

2,392 Threads

How to use Request::ip() in laravel 5

hello i want to save user ip in my DB. How to use Request::ip() in laravel 5?

0 Likes
1 Replies

Return JSON by Middleware

Hi guys, I don't understand Middlewares that much yet. Can they be used to always form our response...

0 Likes
1 Replies

laravel app engine upload files

I am trying to upload a file, I am using laravel 4 and deploy on google app engine. Locally everythi...

0 Likes
1 Replies
posted 10 years ago

Curl SSL Error handshake error on ubuntu 13 using forge

I'm trying to make a XML Post request to a https url using Guzzle on a forge server, and I run into...

0 Likes
2 Replies

[package] Bookmark all your routes easily

I have just published my first composer package, and would really appreciate if someone would give i...

0 Likes
0 Replies

2 different error page for admin and public

Hi, Is there anyway to make 2 error page? so there is 1 error page for public and another one for ad...

0 Likes
2 Replies
posted 9 years ago

Laravel 5 Request - altering data

I have come across an instance where I need to alter the data that needs to be validated i.e. when n...

0 Likes
1 Replies
Solved

Default value in model binding

Route::resource('profile', 'ProfileController');//-> $router->bind('profile}', function ($use...

0 Likes
0 Replies
posted 9 years ago

Redirect to new post with slug rather than id?

I can't seem to work out how I would redirect user to new post by using the slug instead of ID. the...

0 Likes
2 Replies

Eloquent query to get posts in the past 24 hours with the most messages

So, I have a situation where users can add posts to a forum and then comment on those posts. What I...

0 Likes
1 Replies

How to increase the id in a database?

Hello, i would like to know how can i increase the starting id in a database of users.

0 Likes
4 Replies

How to put middleware logic into a package ?

Hi everyone, Is it possible to put a middleware logic into a package without adding it in Http/Kerne...

0 Likes
0 Replies

File::exists not working when served

I'm currently using File::exists() function on the routes.php as an error trap, the code looks like...

0 Likes
2 Replies

ValidatesWhenResolved Trait - Where is the validate method ever called?

Myself and a co-worker have been trying to find the source of the magic behind the ValidatesWhenReso...

0 Likes
1 Replies

Dependent select option(three)

I want dependent dropdown list (three) any one can help me? using ajax I'm using L4.2

0 Likes
0 Replies

Having some trouble with an inventory system

I'm pretty new to eloquent and laravel so I am having trouble pulling some information from the data...

0 Likes
0 Replies

Google charts

Hi everybody, i'm trying to create a ColumnChart with google charts using google.visualization.DataT...

0 Likes
0 Replies

Form and HTML helpers

Forms and HTML helpers should absolutely be included in a default Laravel install. While its absence...

0 Likes
2 Replies

Changing the redirect for a successful login

Alright, I know this might seem trivial and hopefully I just missed it... I am using the out of the...

0 Likes
3 Replies
Solved
posted 9 years ago

How to handle ajax call in controller functions

I perform an ajax call to a controller, but it seems not working. What can I do? public function pos...

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.