| Package Data | |
|---|---|
| Maintainer Username: | palmabit |
| Maintainer Contact: | g.aremare@palmabit.com (Giuseppe Aremare) |
| Package Create Date: | 2015-06-19 |
| Package Last Update: | 2016-10-18 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-04 15:06:18 |
| Package Statistics | |
|---|---|
| Total Downloads: | 38 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 2 |
| Total Watchers: | 6 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
This Laravel package allows you to easily save contact data in CSV format.
To install this package follow these instructions
composer require palmabit/laravel-contact-csv
Palmabit\ContactCsv\ContactCsvServiceProvider to your config/app.php ServiceProvidersphp artisan vendor:publish --provider="Palmabit\ContactCsv\ContactCsvServiceProvider"
config/packages/Palmabit/ContactCsv/config.php
$my_array = ["email" => "test@test.com"];
try {
ContactCsv::save($newletter);
} catch (KeyExistException $e) {
echo "Key already exsist";
} catch (ConfigValueException $e) {
echo "Error in configuration file";
}
ContactCsv::download();
You can run tests locally with
phpunit
The build is continuously run on travis.
LaravelContactCSV it's free and easy to integrate within your existing projects. See the MIT License
• Setup/write/download more than one CSV file