agenciafmd/admix-leads

此包最新版本(1.0.0)没有可用的许可证信息。

Leads - Agência F&MD

1.0.0 2019-11-04 20:17 UTC

This package is auto-updated.

Last update: 2024-09-15 21:02:28 UTC


README

Área Administrativa

Downloads Licença

安装

composer require agenciafmd/admix-leads:dev-master

执行迁移

php artisan migrate

如果需要种子,请发布

php artisan vendor:publish --tag=admix-leads:seeders

不要忘记 composer dumpautoload

此包将监听 admix-postal 的射击并保存发送内容。

如果需要手动保存数据。

Lead::create([
    'source' => 'contato',
    'name' => $data['name'],
    'email' => $data['email'],
    'phone' => $data['phone'],
    'description' => 'Mensagem: ' . $data['message'],
]);

在此,source 作为“类型”的表单,允许面板过滤