Support the ongoing development of Laravel.io →

Laravel mail with localhost+xampp+gmail

I trying to use laravel 4.1 mail function with xampp in windows OS. I am using gmail smtp to send th...

0 Likes
2 Replies

[L5] Why it takes so long? Any suggestion better?

i have this code in my controller // 1 $header = DB::table('rekap_cmd')->select('date','uni...

0 Likes
1 Replies

Something like Zend Apigility, but with Laravel

Hi Just wondering is there any kind solution like https://apigility.org/(that is amazing for me) but...

0 Likes
5 Replies
posted 7 years ago

CSRF in Controller/JSON

Short: Is there a way to generate a CSRF token in the controller (not in a view)? Long: I have a web...

0 Likes
1 Replies

Custom Middleware throw error "Class App\Http\Middlware\AgeMiddleware does not exist"

Hi, I follow this tutorial http://www.tutorialspoint.com/laravel/laravel_middleware.htm.. whenever I...

0 Likes
3 Replies
Solved

New to Laravel,MVC and need a little clarity on MVC

Hi Guys, I am Pretty New To Developing in PHP + Laravel, I was recently learning to Code Raw PHP whe...

0 Likes
2 Replies

Query between a db table an array

I wanna make a query like this. public function find(Request $request){ $dato=$request->buscarD...

0 Likes
1 Replies

simple demo of if($user->can('view))

Does anyone have much simpler way to demonstrate $user->can('view')?

0 Likes
0 Replies

Why Laravel converts field names in POST request and add unnecessary fields?

I am making POST request: http://localhost:8081/myserver/server.php/api/v1/contracts/1 with body {...

0 Likes
0 Replies

Laravel 5.0 View Facade not working on production server

My project on loyalist is working perfectly But when I uploaded to production server some routes wer...

0 Likes
1 Replies
posted 7 years ago

conflict with route logout using laravel

Hello, I have these two routes: Route::get('{id}', ['as' => 'UserProfile', 'uses' =>'UserC...

0 Likes
1 Replies
posted 7 years ago

Socialite with Facebook not logging in

I'm following the documentation exactly. https://github.com/laravel/socialite and https://laravel.co...

0 Likes
1 Replies
posted 8 years ago

How to mock time?

I currently have a function which does some calculation based on the current time. I want to be abl...

0 Likes
3 Replies

Any one can help me out from sending form params to node js via Guzzle http

My laravel code is this , use GuzzleHttp\Client; ----- $client = new Client([ 'timeout' => 5.0,...

0 Likes
0 Replies

Event/Listener Issue

I have created a project using Laravel 5.2.29 and I am having an issue with creating an event. Here...

0 Likes
2 Replies

exception in event bus listener prevents further event listeners?

I have this in my EventServiceProvider 'App\Events\PlayerRegistered' => [ 'App\Listeners\Send...

0 Likes
0 Replies

multilanguage backend with location in url

I use Laravel 5.2 and mcamara laravel-localization extension. In frontend, all works fine. Now i wan...

0 Likes
1 Replies

Change 422 json response from FormRequest, depending on validation error?

Hi, I noticed in the Illuminate\Foundation\Http\FormRequest class, the output is fixed as 422 Unproc...

0 Likes
0 Replies

Exit with code 1 due to network error: ContentNotFoundError

Hey, I'm trying to export blade.php as pdf with Laravel-snappy When I try to access that, Error in t...

0 Likes
2 Replies

Redirect some urls to a specific directory in the project

Hello, I am trying to set up a Laravel project on IIS server and I want when on a specific url to go...

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.