Unable to retrieve GET parameters using laravel

I am working on a Laravel project and am trying to get GET parameters from a controller. Requesting a page with ?date={value} should return value as follows: public function getIndex(Request $request)…

Laravel Homestead Swift Cannot send message without a sender address

I get this error with stock email settings in Laravel 5.1 Homestead when I try to send a password reset mail. Swift_TransportException in AbstractSmtpTransport.php line 162:Cannot send message …

Laravel 5 add nusoap

I am unable to install nusoap to my existing laravel 5 application. Ive done the following: Created a new Folder in App/Http/Controllers/ – namend “Soap” – and copied the libary into it. use …

Laravel 5.1 – how to download pdf file from S3 bucket

I am using Laravel’s Storage facade and I am able to upload the pdf to S3 and I am also able to get() its contents but I cannot display or download it to the end user as an actual pdf file. It just …

Laravel Homestead Redis Port Forwarding

I’m having some trouble here trying to remotely connect to my local Homestead Redis server. I’m using both commandline (redis-cli) and RDM. I’m able to connect with Postgresql with PgAdmin in this …

Getting error when sending an email in Laravel 4.2

I have an error in Laravel when I am sending an email. I have a form with a select tag and when I select the user and click submit I need to send him a mail after I select it. Here is my …

Laravel Socialite: InvalidStateException

I’m using Laravel Socialite to add a Facebook connect button on a website. Sometimes, I’ve got this error on callback: exception ‘LaravelSocialiteTwoInvalidStateException’ in /example/vendor/…

Laravel 5 – get ID by other field properly

I want to get the ID of a user in a middleware by searching with his email. I thought about doing it like this in one of two ways. First, creating a function in the model User: public function …

Laravel – Maintenance mode just for some urls

I need to use the Maintenance mode using the artisan command “down”, but just for some urls… In my case, i want that all urls that starts with “/admin/*” continue working. Is there a solution?

How to make artisan serve work in virtual host?

I’m on Windows 8 and I’m using WAMP to run my laravel project. I have configured apache and I created a virtual host, to access my app through http://myapp.dev. I would like to know if it’s possible …