Comments (6)
Hey @qmix21 can you show the error and the code that you're trying to run, please?
from laravel-gmail.
Error:
Class 'Dacastro4\LaravelGmail' not found
ReportController.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Dacastro4\LaravelGmail;
class ReportController extends Controller
{
public function index()
{
return LaravelGmail::message()->all;
}
}
config/app.php:
'providers'=>[
.....
Dacastro4\LaravelGmail\LaravelGmailServiceProvider::class,
.....
]
'aliases' => [
...
'LaravelGmail' => Dacastro4\LaravelGmail\Facades\LaravelGmail::class,
...
]
web.php:
Route::get('/','ReportController@index');
from laravel-gmail.
I hate to say me too, but... me too.
laravel 5.3.31
controller is
<?php
namespace App\Http\Controllers;
use LaravelGmail;
use Illuminate\Http\Request;
class TestGmailApiController extends Controller
{
/**
* testing
*
* @return void
*/
public function test ()
{
return LaravelGmail::getAuthUrl;
}
}
same config/app.php as @qmix21
error is:
ErrorException in AliasLoader.php line 66:
Class 'Dacastro4\LaravelGmail\Facades\LaravelGmail' not found
in the vendor folder, folder names are dacastro4/laravel-gmail...
from laravel-gmail.
fixed here: #12
from laravel-gmail.
@JonahKlimack that's right. Totally my bad. Time to update the readme.
from laravel-gmail.
Class 'Dacastro4\LaravelGmail' not found
from laravel-gmail.
Related Issues (20)
- setWatch() not working HOT 3
- Bug in last version v6.0
- Version 6.1 is not published HOT 1
- Destination email must be specified in cc and bcc HOT 3
- Need to specify the cc and bcc every time i need to send an email HOT 5
- production.ERROR: refresh token must be passed in or set as part of setAccessToken {"userId":1,"exception":"[object] (LogicException(code: 0): refresh token must be passed in or set as part of setAccessToken at /home/forge/website/vendor/google/apiclient/src/Client.php:332) HOT 2
- Getting error while replying to email HOT 4
- Send Email BCC not working
- Get signature of the user
- Enable function for application wide access
- I have got issue in php version 8.1 Is it available for PHP version 8.1 or laravel10? HOT 2
- Error 400: redirect_uri_mismatch
- refresh token must be passed in or set as part of setaccesstoken HOT 2
- An address can be an instance of Address or a string ("array" given).
- Not supported for Laravel 10 HOT 3
- Multiple user login not working HOT 3
- Hello HOT 1
- Google\\Service\\Exception 401 Request had invalid authentication credentials.
- Can you provide a method for forwarding the email
- Dacastro4\LaravelGmail\Services\Message\Mail::__construct(): Argument #1 ($message) must be of type ?Google_Service_Gmail_Message, Google\Service\Exception given HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-gmail.