Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
636161a
Extend functionallity setup-preparation
Aug 9, 2017
97dba49
Managers=>Services + add Campaindraft Facade/ServiceProvider
Aug 11, 2017
8ab357c
Use Contract instead of Facade (Test)
Aug 14, 2017
8b7415f
Campaign + CampaignDraft service provider+Contract
Aug 14, 2017
8525530
Add more contracts and providers
Aug 14, 2017
56b9cf3
Fix eventCallback model reference
Aug 14, 2017
e8e848a
add MailjetClientServiceProvider and contract (facade is left for com…
Aug 15, 2017
afd7ec7
CampaignDraftServiceProvider test
Aug 15, 2017
fe3615b
Remove old test
Aug 15, 2017
e98271d
Fix namespace
Aug 15, 2017
3ad7b1b
+Orchestra Testcase
Aug 15, 2017
3336150
Fix test
Aug 15, 2017
b37f578
Remove test
Aug 15, 2017
0e05d66
Add tests for Service Providers
Aug 15, 2017
d90c496
Update readme service provider namespace
Aug 15, 2017
260edae
Post-review changes
Aug 16, 2017
8dc17f2
Fix undefined name property
Aug 16, 2017
ba72262
Rename method
Aug 17, 2017
bd58107
Add github pages
Aug 21, 2017
bd2c6fc
Fix document structure
Aug 21, 2017
653ede8
Remove compiled mkdocs
Aug 21, 2017
fd229e7
Restructure docs + remove symfony related files
Aug 21, 2017
e3f0a89
Fix original author + unnecessary links in mailjet-doc
Aug 21, 2017
42d3a13
Add badge to documentation
Aug 21, 2017
7ff6b06
Updated examples + more explanations to conf settings
Aug 25, 2017
fad7899
update mkdocs.yml
Aug 25, 2017
9ed6a44
Change theme
Aug 25, 2017
58530e8
Use Mailjet mkdocs styling
Aug 25, 2017
81b5d16
fix edit_uri
Aug 25, 2017
f322564
move custom_theme => docs
Aug 25, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![Packagist](https://img.shields.io/packagist/v/mailjet/laravel-mailjet.svg)](https://packagist.org/packages/mailjet/laravel-mailjet)
[![Packagist](https://img.shields.io/packagist/dt/mailjet/laravel-mailjet.svg)](https://packagist.org/packages/mailjet/laravel-mailjet)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mailjet/laravel-mailjet/blob/master/LICENSE.md)
[![Documentation](https://img.shields.io/badge/documentation-gh--pages-blue.svg)](https://mailjet.github.io/laravel-mailjet/)

Laravel package for handling Mailjet API V3 using this wrapper: <https://github.com/mailjet/mailjet-apiv3-php>

Expand Down Expand Up @@ -125,6 +126,4 @@ You can also get the client with the method `getClient()` and make your own requ

## ToDo

* Create Mailjet contract (Laravel 5.4 - DepInject <https://laravel.com/docs/5.4/contracts>)
* New feature: EventAPI (webhook), Campaign, stats, ...
* More Tests
18 changes: 18 additions & 0 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# CONTRIBUTING
(To be updated :))

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change. Please make sure you do not include your API credentials.

Please note we have a code of conduct, please follow it in all your interactions with the project.
* [Contributing to Open Source guide](https://guides.github.com/activities/contributing-to-open-source/)

## Steps

1. Create an Issue
2. Pull Request
3. Merge \o/

## Contributors

* Original author: [Gaetan DELBART](https://github.com/gagaXD), [Titouan BENOIT](https://github.com/Nightbr)
* Mailjet API <api@mailjet.com>
41 changes: 41 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## Full configuration

```php
'mailjet' => [
'key' => env('MAILJET_APIKEY'),
'secret' => env('MAILJET_APISECRET'),
'transactionnal' => [
'call' => true,
'options' => [
'url' => 'api.mailjet.com',
'version' => 'v3.1',
'call' => true,
'secured' => true
]
],
'common' => [
'call' => true,
'options' => [
'url' => 'api.mailjet.com',
'version' => 'v3',
'call' => true,
'secured' => true
]
]
]
```
You can pass settings to [MailjetClient](https://github.com/mailjet/mailjet-apiv3-php).

* `transactional`: settings to Send API client
* `common`: setting to MailjetClient accessible throught the Facade Mailjet.
* `url` (Default: api.mailjet.com) : domain name of the API
version (Default: v3) : API version (only working for Mailjet API V3 +)
* `call` (Default: true) : turns on(true) / off the call to the API
* `secured` (Default: true) : turns on(true) / off the use of 'https'


## Mail driver configuration

In order to use Mailjet as Mail driver, you need to change the mail driver in your `config/mail.php` or your `.env` file to `MAIL_DRIVER=mailjet`, and make sure you have a valid and authorised from-address configured on your Mailjet account.

For usage, check the [Laravel mail documentation](https://laravel.com/docs/master/mail)
4 changes: 4 additions & 0 deletions docs/custom_theme/material/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% extends "base.html" %}
{% block content %}
<h1>404 - Not found</h1>
{% endblock %}
Empty file.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading