first commit

This commit is contained in:
ExtraNetwork
2026-05-12 17:04:54 +03:00
commit e5c4b6aa13
1425 changed files with 284735 additions and 0 deletions

53
config/app.php Normal file
View File

@@ -0,0 +1,53 @@
<?php
return [
'version' => '1.5.22',
'name' => env('APP_NAME', 'ExtraNetWork'),
'env' => env('APP_ENV', 'production'),
'client_server' => env('CLIENT_SERVER', 'https://app.extranetwork.com'),
'debug' => env('APP_DEBUG', false),
'url' => env('APP_URL', 'https://api.extranetwork.com'),
'webUrl' => env('WEB_URL', 'https://www.extranetwork.com'),
'timezone' => env('APP_TIMEZONE', 'Europe/Istanbul'),
'locale' => env('APP_LOCALE', 'en'),
'fallback_locale' => 'en',
'jwt' => [
'secret' => env('JWT_SECRET', 'JhbGciOiJIUzI1N0eXAiOiJKV1QiLC'),
],
'fileSystemDriver' => env('FILESYSTEM_DRIVER', '/Users/bulutkuru/Desktop/uploads/'),
'imageUrl' => env('IMAGE_URL', 'http://cdn.extranetwork.com.test'),
'googleApplicationCredentials' => env('GOOGLE_APPLICATION_CREDENTIALS', ''),
'log_slack' => env('LOG_SLACK_WEBHOOK_URL', 'https://hooks.slack.com/services/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'),
'appLanguageJsonStoredFolder' => env('APP_LANGUAGE_JSON_STORED_FOLDER', '/home/project/app.extranetwork.com/build_public'), // for application language filepath
'myWebLanguageJsonStoredFolder' => env('MYWEB_LANGUAGE_JSON_STORED_FOLDER', '/home/project/myweb.extranetwork.com/resources/lang/'), // for myweb language filepath
'wwwLanguageJsonStoredFolder' => env('WWW_LANGUAGE_JSON_STORED_FOLDER', '/home/project/www.extranetwork.com/resources/lang/'), // for www language filepath
'bookingEngineLanguageJsonStoredFolder' => env('BOOKING_ENGINE_LANGUAGE_JSON_STORED_FOLDER', '/home/project/be.extranetwork.com/resources/lang/'), // for booking.engine language filepath
'mainHostAddress' => env('MAIN_HOST_ADDRESS', 'https://myweb.extranetwork.com'), // main host address
'getMyWebCNAME' => 'myweb.extranetwork.com', // MyWeb CNAME Hosting Alias
"myIP" => "88.247.112.165",
"bookingEngineUrl" => env('BOOKING_ENGINE_URL', 'https://be.extranetwork.com'),
"zipFilesUrl" => env('ZIP_FILES_URL', 'https://api.extranetwork.com/property-zip-files/'),
"propertyFilesUrl" => env('PROPERTY_FILES_URL', 'https://cdn.extranetwork.com/property-files/'),
"mailSenderAddress" => 'noreply@extranetwork.com',
"logMailAddress" => 'burhan@extranetwork.com',
"paymentFormLink" => env('PAYMENT_FORM_LINK', 'https://be.extranetwork.com/link/'),
"enwContactFormMailTo" => env('ENW_CONTACT_FORM_MAILTO', 'info@extranetwork.com'),
'channelManager' => [
'reseliva' => [
'userId' => 'apiuser@extranetwork.com',
'userPassword' => 'ExtrntWrk21*!'
]
],
'stripeENWKey' => env('STRIPE_ENWKEY', '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'),
'key' => 'mWx0BnBvK5rp95PXjIiLHxc29nxSkG0X', //z8IQfoLXSrIPk7gwnh3EbOos8wkzHIzY, vPdC6dXrK8LWbLxrYNxDXUGcggGg58ff
'cipher' => 'AES-256-CBC',
'taxOptions' => [
'TR' => [
'title' => 'Accommodation Tax',
'language_key' => 'api-tax-accommodation_tax',
'rate' => '%2',
]
],
'openAISecretKey' => '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'
];

101
config/cache.php Normal file
View File

@@ -0,0 +1,101 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache connection that gets used while
| using this caching library. This connection is used when another is
| not explicitly specified when executing a given caching function.
|
| Supported: "apc", "array", "database", "file",
| "memcached", "redis", "dynamodb"
|
*/
'default' => env('CACHE_DRIVER', 'redis'),
/*
|--------------------------------------------------------------------------
| Cache Stores
|--------------------------------------------------------------------------
|
| Here you may define all of the cache "stores" for your application as
| well as their drivers. You may even define multiple stores for the
| same cache driver to group types of items stored in your caches.
|
*/
'stores' => [
'apc' => [
'driver' => 'apc',
],
'array' => [
'driver' => 'array',
],
'database' => [
'driver' => 'database',
'table' => 'cache',
'connection' => null,
],
'file' => [
'driver' => 'file',
'path' => storage_path('framework/cache/data'),
],
'memcached' => [
'driver' => 'memcached',
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
'sasl' => [
env('MEMCACHED_USERNAME'),
env('MEMCACHED_PASSWORD'),
],
'options' => [
// Memcached::OPT_CONNECT_TIMEOUT => 2000,
],
'servers' => [
[
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
'port' => env('MEMCACHED_PORT', 11211),
'weight' => 100,
],
],
],
'redis' => [
'driver' => 'redis',
'connection' => 'cache',
],
'dynamodb' => [
'driver' => 'dynamodb',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
'endpoint' => env('DYNAMODB_ENDPOINT'),
],
],
/*
|--------------------------------------------------------------------------
| Cache Key Prefix
|--------------------------------------------------------------------------
|
| When utilizing a RAM based store such as APC or Memcached, there might
| be other applications utilizing the same cache. So, we'll specify a
| value to get prefixed to all our keys so we can avoid collisions.
|
*/
'prefix' => env('CACHE_PREFIX', 'extranetworkApiCache'),
];

135
config/database.php Normal file
View File

@@ -0,0 +1,135 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as your default connection for all database work. Of course
| you may use many connections at once using the Database library.
|
*/
'default' => env('DB_CONNECTION', 'mysql'),
/*
|--------------------------------------------------------------------------
| Database Connections
|--------------------------------------------------------------------------
|
| Here are each of the database connections setup for your application.
| Of course, examples of configuring each database platform that is
| supported by Laravel is shown below to make development simple.
|
|
| All database work in Laravel is done through the PHP PDO facilities
| so make sure you have the driver for your particular database of
| choice installed on your machine before you begin development.
|
*/
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => env('DB_PREFIX', ''),
],
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'mysql-master'),
'port' => env('DB_PORT', 3306),
'database' => env('DB_DATABASE', 'extranetwork'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', 'QgARrezer_1'),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => env('DB_CHARSET', 'utf8mb4'),
'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'),
'prefix' => env('DB_PREFIX', ''),
'strict' => env('DB_STRICT_MODE', true),
'engine' => env('DB_ENGINE', null),
//'timezone' => env('DB_TIMEZONE', '+00:00'),
],
'pgsql' => [
'driver' => 'pgsql',
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', 5432),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => env('DB_CHARSET', 'utf8'),
'prefix' => env('DB_PREFIX', ''),
'schema' => env('DB_SCHEMA', 'public'),
'sslmode' => env('DB_SSL_MODE', 'prefer'),
],
'sqlsrv' => [
'driver' => 'sqlsrv',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', 1433),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => env('DB_CHARSET', 'utf8'),
'prefix' => env('DB_PREFIX', ''),
],
],
/*
|--------------------------------------------------------------------------
| Migration Repository Table
|--------------------------------------------------------------------------
|
| This table keeps track of all the migrations that have already run for
| your application. Using this information, we can determine which of
| the migrations on disk haven't actually been run in the database.
|
*/
'migrations' => 'migrations',
/*
|--------------------------------------------------------------------------
| Redis Databases
|--------------------------------------------------------------------------
|
| Redis is an open source, fast, and advanced key-value store that also
| provides a richer set of commands than a typical key-value systems
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
*/
'redis' => [
'client' => env('REDIS_CLIENT', 'predis'),
'options' => [
'cluster' => env('REDIS_CLUSTER', 'predis'),
'prefix' => env('REDIS_PREFIX', 'api:'),
],
'default' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', 'redis'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_DB', 0),
],
'cache' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', 'redis'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_DB', 0),
],
],
];

69
config/filesystems.php Normal file
View File

@@ -0,0 +1,69 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. The "local" disk, as well as a variety of cloud
| based disks are available to your application. Just store away!
|
*/
'default' => env('FILESYSTEM_DRIVER', 'local'),
/*
|--------------------------------------------------------------------------
| Default Cloud Filesystem Disk
|--------------------------------------------------------------------------
|
| Many applications store files both locally and in the cloud. For this
| reason, you may specify a default "cloud" driver here. This driver
| will be bound as the Cloud disk implementation in the container.
|
*/
'cloud' => env('FILESYSTEM_CLOUD', 's3'),
/*
|--------------------------------------------------------------------------
| Filesystem Disks
|--------------------------------------------------------------------------
|
| Here you may configure as many filesystem "disks" as you wish, and you
| may even configure multiple disks of the same driver. Defaults have
| been setup for each driver as an example of the required options.
|
| Supported Drivers: "local", "ftp", "sftp", "s3", "rackspace"
|
*/
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
],
'public' => [
'driver' => 'local',
'root' => public_path(),
'url' => config('app.url'),
'visibility' => 'public',
],
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
],
],
];

View File

@@ -0,0 +1,90 @@
<?php
return
[
'DE',
'Hallo Welt',
'E-Mail oder Passwort ist falsch.',
'Benutzerdaten werden nicht aktualisiert.',
'E-Mail ist erforderlich',
'Geben Sie eine gültige E-Mail-Adresse für das Feld" E-Mail "ein.',
'Passwort wird benötigt',
'search_term ist erforderlich',
'search_term kann mindestens 3 Zeichen enthalten',
'property_id ist erforderlich',
'config_key ist erforderlich',
"Telefon muss bis zu 50 Zeichen lang sein",
"Handy muss bis zu 50 Zeichen lang sein",
"Fax muss bis zu 50 Zeichen lang sein",
"E-Mail muss bis zu 100 Zeichen lang sein",
'Bitte geben Sie eine gültige E-Mail-Adresse ein.',
'destination_id ist erforderlich',
'destination_id format muss number sein',
"Das Web darf maximal 100 Zeichen lang sein",
'Postleitzahl muss bis zu 20 Zeichen lang sein',
"Adresse darf nicht länger als 200 Zeichen sein",
'Status ist erforderlich',
'Statusformat muss Zahl sein',
'created_by ist erforderlich',
'created_by format muss number sein',
'updated_by ist erforderlich',
'updated_by format muss number sein',
'content_category_id ist erforderlich',
"Inhalt ist erforderlich",
"Gebietsschema ist erforderlich",
'Gebietsschema Format muss Text sein',
"Gebietsschema muss bis zu 2 Zeichen lang sein",
'status muss bis zu 4 Zeichen lang sein',
'name_surname ist erforderlich',
"E-Mail wird nicht unterstützt",
"Telefon ist erforderlich",
'Benutzer ist erforderlich',
'Das Passwort muss mindestens 6 Zeichen lang sein',
'Passwort muss bis zu 20 Zeichen lang sein',
"Passwort und Passwortbestätigung sind nicht dasselbe",
"Altes Passwort ist falsch",
'Name ist erforderlich',
'Name muss mindestens 3 Zeichen lang sein',
'Name darf nicht länger als 150 Zeichen sein',
"Diese E-Mail-Adresse ist im System verfügbar",
"Schlüssel erforderlich",
'Ein unbekannter Fehler ist aufgetreten',
'Benutzerdaten werden nicht erstellt.',
'PropertyPhoto kann nicht gelöscht werden',
'Benutzerdaten werden nicht erstellt.',
"Kategoriedaten nicht geladen",
"Executive-Daten nicht geladen",
'Nicht aktualisiert',
'Nicht gespeichert',
"Cache erforderlich",
'Fakt kann nicht geladen werden',
'Fakt kann nicht gelöscht werden',
'Daten werden nicht hinzugefügt',
'Zuordnungsdaten nicht geladen',
"Token erforderlich",
"Cache-Info nicht gefunden",
"Faktendaten nicht geladen",
'Objektdaten nicht geladen',
'Fehlerspalten',
'Parameterfehler.',
'Allgemeiner Fehler',
'Zuordnungsdaten nicht gefunden',
'Benutzer wurde nicht gefunden',
'Aktualisierungsfehler',
'Keine Tags gefunden!',
'Benutzereigenschaftszuordnung nicht gefunden',
"Fotos nicht gefunden",
'Ort ist ein Pflichtfeld',
'Eigenschaft {#1} nicht erlaubt',
'Dein Update hat nicht stattgefunden!',
'Objektfotos nicht gefunden',
'Fotodaten werden nicht erstellt.',
'PropertyPhoto-Daten nicht gefunden',
'PropertyPhoto is_default Felder können nicht aktualisiert werden',
"PropertyPhoto is_default kann nicht aktualisiert werden",
'Foto is_temp Daten nicht geladen',
'PropertyPhoto kann nicht veröffentlicht werden',
"PropertyPhoto kann nicht veröffentlicht werden",
'Fotos löschen Daten nicht geladen',
'Modulzuordnungsdaten nicht geladen',
'Kontaktdaten werden nicht erstellt.',
];

View File

@@ -0,0 +1,91 @@
<?php
return
[
'EN',
'Hello World',
'Email or password is wrong.',
'User data is not updated.',
'Email is required',
'Enter a valid email address for the Email field',
'Password is required',
'search_term is required',
'search_term can be minimum 3 characters',
'property_id is required',
'config_key is required',
'phone must be up to 50 characters long',
'mobile must be up to 50 characters long',
'fax must be up to 50 characters long',
'email must be up to 100 characters long',
'please enter a valid email address.',
'destination_id is required',
'destination_id format must be number',
'web must be up to 100 characters long',
'zip_code must be up to 20 characters long',
'address must be up to 200 characters long',
'status is required',
'status format must be number',
'created_by is required',
'created_by format must be number',
'updated_by is required',
'updated_by format must be number',
'content_category_id is required',
'content is required',
'locale is required',
'locale format must be text',
'locale must be up to 2 characters long',
'status must be up to 4 characters long',
'name_surname is required',
'email is not supported',
'phone is required',
'User is required',
'Password must be at least 6 characters long',
'Password must be up to 20 characters long',
'Password and password confirmation are not the same',
'Old password is wrong',
'Name is required',
'Name must be at least 3 characters long',
'Name must not exceed 150 characters',
'This Email address is available in the system',
'Key Required',
'An unknown error occurred',
'User data is not created.',
'PropertyPhoto can not deleted',
'User data is not created.',
'Category data not loaded',
'Executive Data Not Loaded',
'Not updated',
'Not saved',
'Cache Required',
'Fact cannot loaded',
'cannot delete fact',
'Data is not added',
'Mapping data not loaded',
'Token Required',
'Cache Info not found',
'Fact data not loaded',
'Property data not loaded',
'Error Columns',
'Parameter Error.',
'General error',
'Mapping data not found',
'User not found',
'Update Error',
'Not tags found!',
'User Property mapping not found',
'Photos not found',
'Location is a required field',
'property {#1} not allowed',
'Your update did not take place!',
'Property photos not found',
'Photo data is not created.',
'PropertyPhoto data not found',
'PropertyPhoto is_default fields can not updated',
'PropertyPhoto is_default can not updated',
'photo is_temp data not loaded',
'PropertyPhoto can not published',
'PropertyPhoto can not unpublished',
'propery photos delete data not loaded',
'ModuleMapping Data Not Loaded',
'Contact data is not created.',
];

View File

@@ -0,0 +1,90 @@
<?php
return
[
'TR',
'Selam Dünya',
'E-posta veya şifre yanlış.',
'Kullanıcı verileri güncellenmedi.',
'Email gereklidir',
'E-posta alanı için geçerli bir e-posta adresi girin',
'Şifre gereklidir',
'search_term gerekli',
'search_term en az 3 karakter olabilir',
'property_id gerekli',
'config_key gerekli',
'telefon en fazla 50 karakter uzunluğunda olmalı',
'mobil 50 karakter uzunluğunda olmalı',
'faks en fazla 50 karakter uzunluğunda olmalı',
'e-posta 100 karakter uzunluğunda olmalı',
'Geçerli bir e.',
'destination_id gerekli',
'destination_id formatı sayı olmalı',
'web en fazla 100 karakter uzunluğunda olmalı',
'zip_code 20 karakter uzunluğunda olmalı',
'adres 200 karakter uzunluğunda olmalı',
'statü gerekli',
'durum formatı sayı olmalı',
'create_by gerekli',
'oluşturulan_by formatı sayı olmalıdır',
'updated_by gerekli',
'updated_by formatı sayı olmalı',
'content_category_id gerekli',
'içerik gerekli',
'yerel ayar gerekli',
'yerel ayar biçimi metin olmalı',
'yerel ayar 2 karakter uzunluğunda olmalı',
'durum 4 karakter uzunluğunda olmalı',
'name_surname gerekli',
'e-posta desteklenmiyor',
'telefon gerekli',
'Kullanıcı gerekli',
'Şifre en az 6 karakter uzunluğunda olmalı',
'Şifre en fazla 20 karakter uzunluğunda olmalı',
'Şifre ve şifre onayı aynı değildir',
'Eski şifre yanlış',
'İsim gerekli',
'Ad en az 3 karakter uzunluğunda olmalı',
'İsim 150 karakteri geçmemelidir',
'Bu e-posta adresi sistemde mevcut',
'Anahtar Gerekli',
'Bilinmeyen bir hata oluştu',
'Kullanıcı verileri oluşturulmadı.',
'PropertyPhoto silinemiyor',
'Kullanıcı verileri oluşturulmadı.',
'Kategori verileri yüklenmedi',
'Yönetici Verileri Yüklenmedi',
'Güncellenmedi',
'Kaydedilmedi',
'Önbellek Gerekli',
'Bilgi yüklenemiyor',
'gerçeği silemez',
'Veri eklenmedi',
'Verileri eşleme yüklenmedi',
'Gerekli Jeton',
'Önbellek Bilgisi bulunamadı',
'Bilgi verisi yüklenmedi',
'Mülk verileri yüklenmedi',
'Hata Sütunları',
'Parametre Hatası.',
'Genel hata',
'Eşleme verileri bulunamadı',
'Kullanıcı bulunamadı',
'Güncelleme Hatası',
'Etiket bulunamadı!',
'Kullanıcı Özellik eşlemesi bulunamadı',
'Fotoğraflar bulunamadı',
'Yer gerekli bir alandır',
'özellik {# 1} izin verilmiyor',
'Güncellemen gerçekleşmedi!',
'Emlak fotoğrafları bulunamadı',
'Fotoğraf verileri oluşturulmadı.',
'PropertyPhoto verisi bulunamadı',
'PropertyPhoto is_default alanları güncellenemiyor',
'PropertyPhoto is_default güncellenemiyor',
'fotoğraf is_temp verisi yüklenmedi',
'PropertyPhoto yayınlanamıyor',
'PropertyPhoto yayınlanamıyor',
'Uygun fotoğraflar silinmemiş verileri sil',
'ModuleMapping Verileri Yüklenmedi',
'İletişim verileri oluşturulmadı.',
];

View File

@@ -0,0 +1,6 @@
<?php
return
[
"defaultLanguage" =>"en",
"availableLanguages" => ["tr", "en", "de" ]
];

125
config/mail.php Normal file
View File

@@ -0,0 +1,125 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may specify which one you're using throughout
| your application here. By default, Laravel is setup for SMTP mail.
|
| Supported: "smtp", "mail", "sendmail", "mailgun", "mandrill", "ses", "log"
|
*/
'driver' => env('MAIL_DRIVER', 'smtp'),
/*
|--------------------------------------------------------------------------
| SMTP Host Address
|--------------------------------------------------------------------------
|
| Here you may provide the host address of the SMTP server used by your
| applications. A default option is provided that is compatible with
| the Mailgun mail service which will provide reliable deliveries.
|
*/
'host' => env('MAIL_HOST', 'smtp.gmail.com'),
/*
|--------------------------------------------------------------------------
| SMTP Host Port
|--------------------------------------------------------------------------
|
| This is the SMTP port used by your application to deliver e-mails to
| users of the application. Like the host we have set this value to
| stay compatible with the Mailgun e-mail application by default.
|
*/
'port' => env('MAIL_PORT', 587),
/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all e-mails sent by your application to be sent from
| the same address. Here, you may specify a name and address that is
| used globally for all e-mails that are sent by your application.
|
*/
'from' => ['address' => 'noreply@extranetwork.com', 'name' => 'ExtraNetWork'],
/*
|--------------------------------------------------------------------------
| E-Mail Encryption Protocol
|--------------------------------------------------------------------------
|
| Here you may specify the encryption protocol that should be used when
| the application send e-mail messages. A sensible default using the
| transport layer security protocol should provide great security.
|
*/
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
/*
|--------------------------------------------------------------------------
| SMTP Server Username
|--------------------------------------------------------------------------
|
| If your SMTP server requires a username for authentication, you should
| set it here. This will get used to authenticate with your server on
| connection. You may also set the "password" value below this one.
|
*/
'username' => env('MAIL_USERNAME','noreply@extranetwork.com'),
/*
|--------------------------------------------------------------------------
| SMTP Server Password
|--------------------------------------------------------------------------
|
| Here you may set the password required by your SMTP server to send out
| messages from your application. This will be given to the server on
| connection so that the application will be able to send messages.
|
*/
'password' => env('MAIL_PASSWORD','jodgrovwibymcetb'),
//8KSLQzxuGg4vEfSFkaA4m
/*
|--------------------------------------------------------------------------
| Sendmail System Path
|--------------------------------------------------------------------------
|
| When using the "sendmail" driver to send e-mails, we will need to know
| the path to where Sendmail lives on this server. A default path has
| been provided here, which will work well on most of your systems.
|
*/
'sendmail' => '/usr/sbin/sendmail -bs',
/*
|--------------------------------------------------------------------------
| Mail "Pretend"
|--------------------------------------------------------------------------
|
| When this option is enabled, e-mail will not actually be sent over the
| web and will instead be written to your application's logs files so
| you may inspect the message. This is great for local development.
|
*/
'pretend' => false,
];

86
config/queue.php Normal file
View File

@@ -0,0 +1,86 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Connection Name
|--------------------------------------------------------------------------
|
| Lumen's queue API supports an assortment of back-ends via a single
| API, giving you convenient access to each back-end using the same
| syntax for every one. Here you may define a default connection.
|
*/
'default' => env('QUEUE_CONNECTION', 'database'),
/*
|--------------------------------------------------------------------------
| Queue Connections
|--------------------------------------------------------------------------
|
| Here you may configure the connection information for each server that
| is used by your application. A default configuration has been added
| for each back-end shipped with Lumen. You are free to add more.
|
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
*/
'connections' => [
'sync' => [
'driver' => 'sync',
],
'database' => [
'driver' => 'database',
'table' => env('QUEUE_TABLE', 'jobs'),
'queue' => 'default',
'retry_after' => 90,
],
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => 'localhost',
'queue' => 'default',
'retry_after' => 90,
],
'sqs' => [
'driver' => 'sqs',
'key' => env('SQS_KEY', 'your-public-key'),
'secret' => env('SQS_SECRET', 'your-secret-key'),
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
'queue' => env('SQS_QUEUE', 'your-queue-name'),
'region' => env('SQS_REGION', 'us-east-1'),
],
'redis' => [
'driver' => 'redis',
'connection' => env('QUEUE_REDIS_CONNECTION', 'default'),
'queue' => 'default',
'retry_after' => 90,
'block_for' => null,
],
],
/*
|--------------------------------------------------------------------------
| Failed Queue Jobs
|--------------------------------------------------------------------------
|
| These options configure the behavior of failed queue job logging so you
| can control which database and table are used to store the jobs that
| have failed. You may change them to any database / table you wish.
|
*/
'failed' => [
'database' => env('DB_CONNECTION', 'mysql'),
'table' => env('QUEUE_FAILED_TABLE', 'failed_jobs'),
],
];