Category "laravel-5.2"

TesseractOCR not working for Laravel

Hi I tried to read image content from laravel using TesseractOCR. This is my controller, <?php namespace App\Http\Controllers; use TesseractOCR; cla

Laravel - Implicit route model binding with soft deleted data

I am having a small issue. There are two user roles and one is a normal member and one is an admin. The member can delete a blog and they will not be able to se

How to determine global variable in Blade template?

I try to determine a global variable in template blade: global $result_view; Below this I try call this: <?=$result_view?> And get error: Undefined

Class App\Http\Controllers\UserController Does Not Exist

Having the issue when loading the route /users or /user/add and being return an error of; ReflectionException in Route.php line 280: Class App\Http\Contro

Laravel 5.2: Unable to locate factory with name [default]

I want to seed database when I use this public function run() { $users = factory(app\User::class, 3)->create(); } Add three user in database but wh

git ignore .env files not working

I have a laravel project. In the root directory are these 4 files: .env .env.example .env.local .env.staging I have a .gitignore file, and I'm listing the