omniphx / forrest

A Laravel library for Salesforce
https://omniphx.github.io/forrest/
MIT License
257 stars 120 forks source link

Class "App\Http\Controllers\Forrest" not found - Question #315

Closed Cruz-D closed 2 years ago

Cruz-D commented 2 years ago

hi all, i follow the tutorial for try a simple query for testing the library, but laravel tell me forrest not found, put the class on the controller and equal to before, and im use a webserver login, I also made the connected app. Where´s the problem? Screenshot_1

emaia commented 2 years ago

Change use App\Http\Controllers\Forrest to use Omniphx\Forrest\Providers\Laravel\Facades\Forrest;.

Cruz-D commented 2 years ago

use Omniphx\Forrest\Providers\Laravel\Facades\Forrest;

Its work, very thanks