Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cocolabs-sas/cocoricoswiftreaderbundle
Provide Swift emails reading from the Symfony web debug toolbar
https://github.com/cocolabs-sas/cocoricoswiftreaderbundle
cocorico swift symfony
Last synced: 2 months ago
JSON representation
Provide Swift emails reading from the Symfony web debug toolbar
- Host: GitHub
- URL: https://github.com/cocolabs-sas/cocoricoswiftreaderbundle
- Owner: Cocolabs-SAS
- License: mit
- Created: 2017-07-28T22:04:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-15T22:58:17.000Z (about 7 years ago)
- Last Synced: 2024-11-25T01:07:47.828Z (2 months ago)
- Topics: cocorico, swift, symfony
- Language: PHP
- Homepage: http://www.cocolabs.io
- Size: 15.6 KB
- Stars: 4
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
CocoricoSwiftReaderBundle
=========================CocoricoSwiftReaderBundle is a free Symfony bundle to read emails sent by
[Swift Mailer](https://github.com/swiftmailer/swiftmailer) from the Symfony Web Debug Toolbar.Installation
------------### Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
```bash
$ php composer.phar require --dev cocorico/swift-reader-bundle
```### Enable the Bundle
Then, enable the bundle by adding the following line in the `app/config/AppKernel.php` file of your project:
```php
...
if (in_array($this->getEnvironment(), array('dev', 'test'), true)) {
...
$bundles[] = new Cocorico\SwiftReaderBundle\CocoricoSwiftReaderBundle();
}
...
```### Update the routing
Add the main route by adding the following lines in the `app/config/routing_dev.yml` file of your project:
```yaml
...
_cocorico_swift_reader:
resource: "@CocoricoSwiftReaderBundle/Resources/config/routing.yml"
prefix: /_cocorico_swift_reader
```Configuration
-----It is possible to modify the path where the emails are stored by adding the following lines in the `app/config/config_dev.yml` file of your project:
```yaml
...
cocorico_swift_reader:
path: "your/path/here"
```Usage
-----One you have installed the bundle, you can read emails by clicking on the link `Swift Reader` in the profiler toolbar.
License
-------This bundle is under the MIT license. See the complete license [in the bundle](LICENSE).
About Us
--------This bundle is sponsored by [Cocolabs][1] creator of [Cocorico][2] an open source marketplace solution for services and
rentals.[1]: http://www.cocolabs.io
[2]: https://github.com/Cocolabs-SAS/cocorico