palmabit/laravel-contact-csv is a Laravel package for save contact input in csv file.
It currently has 2 GitHub stars and 38 downloads on Packagist (latest version 1.0.0).
Install it with composer require palmabit/laravel-contact-csv.
Discover more Laravel packages by palmabit
or browse all Laravel packages to compare alternatives.
Last updated
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-csvPalmabit\ContactCsv\ContactCsvServiceProvider to your config/app.php ServiceProvidersphp artisan vendor:publish --provider="Palmabit\ContactCsv\ContactCsvServiceProvider"config/packages/Palmabit/ContactCsv/config.php
$my_array = ["email" => "[email protected]"];
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