Laravel 4.2 project in Homestead v4.0.0: "Mcrypt PHP extension required."

I've been running Homestead v5 with my Laravel 5.x projects. Today I needed to make an update to an older 4.2 project, tried installing it alongsid...
01

Laravel Cashier - Class 'User' not found on cancel or swap

Hello! I wonder if anybody can help me with this. I am running Laravel 5.2 and have just installed Laravel Cashier 6.0 and added my Stripe t...
00

Building table schema w/ migrations creating wrong column type

I have a migration that's successfully running. Simple table creation. The only problem is the float column is being created as a double. I have...
00

Getting Login Error Since Upgrade to 5.4

I am upgrading from 5.1 to 5.4. My 5.1 login code worked well. Within the new LoginController I need to redirect to a different location depending...
07

Force SSL Secure Routes in Laravel 5.2

I was looking for information on how to make all my routes redirect to SSL. I came across the following....
10

Laravel 5.4 errors on npm run dev Error: Cannot find module '\..\$npm_package_config_webpack'

I have a clear installation Laravel 5.4, node.js 6.10.0, npm 4.3.0, Windows 7, when i am trying to make npm run dev, i got errors: $...
15

How to add more info for the oauth/token response

Hi! So, I'm using Laravel+Passport and so far is working fine. But, I would like to made a small change to the passport code(well, not in th...
00

How to create a country field (with list of countries) to already migrated table.can any please Guide me through steps

App/vendor.php <?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; class Ve...
04

sqlsrv cannot connect to named instance

This works in plain php $connectionInfo = array( "Database"=>"MyDatabase", "UID"=>"...
02

Having trouble redirecting from create to edit pages

I have a structure where there is "visually" one form for the user to create and edit. When the user submits data I need the user to move...
16

how to use offset and limit in laravel query?

$data = Trip::all()->take(4)->skip(3); not working!!!...
06

NotFoundHttpException in Handler.php line 131:

I know this is probably something really stupid but I just can't seem to fix it. I'm getting this error NotFoundHttpExce...
03

Checkbox checked problem

I have the checkbox in my blade search template like this: {!! Form::checkbox('valve', 'on') !!} But the checked i...
20

Routes, Patterns and regular expressions.

i want to make webshop where is two level categories and products. Something like that: www.example.com/main_category/sub_category/product_n...
01

how to use case statement in laravel query ?

// in sql SELECT Store_Name, Txn_Date, CASE WHEN Sales >= 1000 THEN 'Good Day' WHEN Sales >= 500 THEN 'OK Day' ELSE 'Bad Day' END &quo...
04

Carbon, see days, hours and minutes

For now carbon says for example 4 days ago, or 20 minutes ago, can we make it say ... days, ... hours and ....minutes...
09

Adding a column to Auth Table fails

I want to add a column "username" to the default auth table in laravel. I changed the resources/views/auth/register to add a new b...
04

Getting an error I'm not supposed to

I have 2 views and both of them have an iframe in it but different routes. The problem I'm getting is that I'm getting this error in my iframe...
09