redirect()->route('login'); not working in laravel 5.4

I am using the default php artisan make:auth with laravel 5.4. The redirect()->route('login'); in the first try/catch does successfully redirect...
01

Where are you all from?

I'm wondering how far Laravel's reach extends to. I hail from London myself....
918

Enable HTTPS via Cloudflare on Laravel 4.1 app

I tried enabling HTTPS via CloudFlare on a Laravel 4.1 app this morning but it wouldn't work properly all the styling was gone and so on. I know t...
29

Deploy laravel in heroku

hello community, deploy my application in Heroku but it did not load my files from the Storage folder, I tried to link the Storage folder with the...
01

Carbon, Postgres timestamp with timezone and Dates

So I have a Sequelize Postgres database that I am trying to migrate to a Laravel project (5.6+). Its created_at and updated_at...
02

General Error : 1 no such table Exists

why i see this error when running phpunit test 1) Tests\Feature\Item\ItemTest::it_can_see_items Illuminate\Database\QueryException:...
02

Prevent from vector sql injections if using REGEXP for eloquent calls?

Hi, I'm not sure, if Laravel protects me from a SQL injection if using the following code snippet to search for whole words:...
00

async in php

im currently really interested with async world, i want to move into nodejs async world, but then im too lazy to learn new stuff and stick with php...
06

How to fix this error؟

SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xD8\xA2\xD8\xB2\xD8\xA7...' for column 'msg' at row 1 (SQL: insert...
01

Setup Aliases for a more TDD workflow with PHP Storm

I love PHP storm, however one of the most frustrating aspects of it is syncing. Here are some solutions that really help... So here is a gi...
00

Can't use visit() 5.6

When I'm running this test $this->visit('/login') ->see('Login'); I'm getting an error Error: C...
01

Showing additional information from related model instances.

Hello everyone, So i have a User and a Book models, and a basic relationship method books(){ belongsTo (User::class); how can i get for exam...
01

How to organize this context? Two tables/models or just one?

I have a context of registrations at conferences. A registration has only one step if is a free registration. If is a paid registration there are t...
02

I have a error while making chat app

GET http://localhost/js/app.js 404 (Not Found) app.js:36520 [Vue...
01

Show only results according to the introduced name

I have this query to get the registrations in a specific conference: class ParticipantController extends Controller { public fun...
03

ajax request speed

hi . i use ajax for submit my form. in chrome every thing ok , but in firefox or edge when my form Validation failed ، error message Not displaye...
01

Property or method "message" is not defined on the instance but referenced during render

I am just studying vuejs but stuck in this error. I don't know how to get it rid it off <template> <div class="co...
04

After upgrading to php 7.2 the pgsql driver is "randomly" not found

Hi everyone, I'm running Laravel 5.5. I used to run php 7.1, then I had to upgrade it to 7.2 due to other app (running on the same webserver...
03

Trouble saving Imagick created file

I am using Imagick to create a thumbnail image of a PDF page. I’m getting everything to work, except I can’t figure out how to save the...
07

Cast attributes on DB::query()->from('view')

Hello, i want cast attributes return on DB::query()-from('view'), i have a view in database with jsonb columns, how i do it?...
03