?????????????? ?????????????? ?????????????? ?????????????? app.php000064400000016343151405220650006044 0ustar00 env('APP_NAME', 'Laravel'), 'multi_lang' => false, /* |-------------------------------------------------------------------------- | Application Environment |-------------------------------------------------------------------------- | | This value determines the "environment" your application is currently | running in. This may determine how you prefer to configure various | services the application utilizes. Set this in your ".env" file. | */ 'env' => env('APP_ENV', 'production'), /* |-------------------------------------------------------------------------- | Application Debug Mode |-------------------------------------------------------------------------- | | When your application is in debug mode, detailed error messages with | stack traces will be shown on every error that occurs within your | application. If disabled, a simple generic error page is shown. | */ 'debug' => (bool) env('APP_DEBUG', false), /* |-------------------------------------------------------------------------- | Application URL |-------------------------------------------------------------------------- | | This URL is used by the console to properly generate URLs when using | the Artisan command line tool. You should set this to the root of | your application so that it is used when running Artisan tasks. | */ 'url' => env('APP_URL', 'http://localhost'), 'asset_url' => env('ASSET_URL'), /* |-------------------------------------------------------------------------- | Application Timezone |-------------------------------------------------------------------------- | | Here you may specify the default timezone for your application, which | will be used by the PHP date and date-time functions. We have gone | ahead and set this to a sensible default for you out of the box. | */ 'timezone' => 'UTC', /* |-------------------------------------------------------------------------- | Application Locale Configuration |-------------------------------------------------------------------------- | | The application locale determines the default locale that will be used | by the translation service provider. You are free to set this value | to any of the locales which will be supported by the application. | */ 'locale' => 'en', /* |-------------------------------------------------------------------------- | Application Fallback Locale |-------------------------------------------------------------------------- | | The fallback locale determines the locale to use when the current one | is not available. You may change the value to correspond to any of | the language folders that are provided through your application. | */ 'fallback_locale' => 'en', /* |-------------------------------------------------------------------------- | Faker Locale |-------------------------------------------------------------------------- | | This locale will be used by the Faker PHP library when generating fake | data for your database seeds. For example, this will be used to get | localized telephone numbers, street address information and more. | */ 'faker_locale' => 'en_US', /* |-------------------------------------------------------------------------- | Encryption Key |-------------------------------------------------------------------------- | | This key is used by the Illuminate encrypter service and should be set | to a random, 32 character string, otherwise these encrypted strings | will not be safe. Please do this before deploying an application! | */ 'key' => env('APP_KEY'), 'cipher' => 'AES-256-CBC', /* |-------------------------------------------------------------------------- | Maintenance Mode Driver |-------------------------------------------------------------------------- | | These configuration options determine the driver used to determine and | manage Laravel's "maintenance mode" status. The "cache" driver will | allow maintenance mode to be controlled across multiple machines. | | Supported drivers: "file", "cache" | */ 'maintenance' => [ 'driver' => 'file', // 'store' => 'redis', ], /* |-------------------------------------------------------------------------- | Autoloaded Service Providers |-------------------------------------------------------------------------- | | The service providers listed here will be automatically loaded on the | request to your application. Feel free to add your own services to | this array to grant expanded functionality to your applications. | */ 'providers' => ServiceProvider::defaultProviders()->merge([ /* * Package Service Providers... */ /* * Application Service Providers... */ App\Providers\AppServiceProvider::class, App\Providers\AuthServiceProvider::class, // App\Providers\BroadcastServiceProvider::class, App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, App\Providers\TelescopeServiceProvider::class, Anetwork\Validation\PersianValidationServiceProvider::class, Artesaos\SEOTools\Providers\SEOToolsServiceProvider::class, Shetabit\Visitor\Provider\VisitorServiceProvider::class, Hekmatinasser\Verta\Laravel\VertaServiceProvider::class, Jorenvh\Share\Providers\ShareServiceProvider::class, Mews\Captcha\CaptchaServiceProvider::class, Kavenegar\Laravel\ServiceProvider::class, Shetabit\Payment\Provider\PaymentServiceProvider::class, ])->toArray(), /* |-------------------------------------------------------------------------- | Class Aliases |-------------------------------------------------------------------------- | | This array of class aliases will be registered when this application | is started. However, feel free to register as many as you wish as | the aliases are "lazy" loaded so they don't hinder performance. | */ 'aliases' => Facade::defaultAliases()->merge([ Artesaos\SEOTools\Providers\SEOToolsServiceProvider::class, 'Visitor' => Shetabit\Visitor\Facade\Visitor::class, 'Verta' => Hekmatinasser\Verta\Verta::class, 'Share' => Jorenvh\Share\ShareFacade::class, 'Captcha' => Mews\Captcha\Facades\Captcha::class, 'Kavenegar' => Kavenegar\Laravel\Facade::class, 'Payment' => Shetabit\Payment\Facade\Payment::class, ])->toArray(), ]; auth.php000064400000011363151405220650006222 0ustar00 [ 'guard' => 'admin', 'passwords' => 'users', ], /* |-------------------------------------------------------------------------- | Authentication Guards |-------------------------------------------------------------------------- | | Next, you may define every authentication guard for your application. | Of course, a great default configuration has been defined for you | here which uses session storage and the Eloquent user provider. | | All authentication drivers have a user provider. This defines how the | users are actually retrieved out of your database or other storage | mechanisms used by this application to persist your user's data. | | Supported: "session" | */ 'guards' => [ 'web' => [ 'driver' => 'session', 'provider' => 'users', ], 'admin' => [ 'driver' => 'session', 'provider' => 'admins', 'hash' => false, ], 'customer' => [ 'driver' => 'session', 'provider' => 'customers', 'hash' => false, ], 'api:user' => [ 'driver' => 'sanctum', 'provider' => 'users', ], 'api:admin' => [ 'driver' => 'sanctum', 'provider' => 'admins', ], ], /* |-------------------------------------------------------------------------- | User Providers |-------------------------------------------------------------------------- | | All authentication drivers have a user provider. This defines how the | users are actually retrieved out of your database or other storage | mechanisms used by this application to persist your user's data. | | If you have multiple user tables or models you may configure multiple | sources which represent each model / table. These sources may then | be assigned to any extra authentication guards you have defined. | | Supported: "database", "eloquent" | */ 'providers' => [ 'users' => [ 'driver' => 'eloquent', 'model' => \Modules\User\app\Models\User::class, ], 'admins' => [ 'driver' => 'eloquent', 'model' => \Modules\Admin\app\Models\Admin::class, ], 'customers' => [ 'driver' => 'eloquent', 'model' => \Modules\Customer\app\Models\Customer::class, ], // 'users' => [ // 'driver' => 'database', // 'table' => 'users', // ], ], /* |-------------------------------------------------------------------------- | Resetting Passwords |-------------------------------------------------------------------------- | | You may specify multiple password reset configurations if you have more | than one user table or model in the application and you want to have | separate password reset settings based on the specific user types. | | The expiry time is the number of minutes that each reset token will be | considered valid. This security feature keeps tokens short-lived so | they have less time to be guessed. You may change this as needed. | | The throttle setting is the number of seconds a user must wait before | generating more password reset tokens. This prevents the user from | quickly generating a very large amount of password reset tokens. | */ 'passwords' => [ 'users' => [ 'provider' => 'users', 'table' => 'password_reset_tokens', 'expire' => 60, 'throttle' => 60, ], 'admins' => [ 'provider' => 'admins', 'table' => 'password_reset_tokens', 'expire' => 60, 'throttle' => 60, ], ], /* |-------------------------------------------------------------------------- | Password Confirmation Timeout |-------------------------------------------------------------------------- | | Here you may define the amount of seconds before a password confirmation | times out and the user is prompted to re-enter their password via the | confirmation screen. By default, the timeout lasts for three hours. | */ 'password_timeout' => 10800, ]; broadcasting.php000064400000004143151405220660007720 0ustar00 env('BROADCAST_DRIVER', 'null'), /* |-------------------------------------------------------------------------- | Broadcast Connections |-------------------------------------------------------------------------- | | Here you may define all of the broadcast connections that will be used | to broadcast events to other systems or over websockets. Samples of | each available type of connection are provided inside this array. | */ 'connections' => [ 'pusher' => [ 'driver' => 'pusher', 'key' => env('PUSHER_APP_KEY'), 'secret' => env('PUSHER_APP_SECRET'), 'app_id' => env('PUSHER_APP_ID'), 'options' => [ 'cluster' => env('PUSHER_APP_CLUSTER'), 'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com', 'port' => env('PUSHER_PORT', 443), 'scheme' => env('PUSHER_SCHEME', 'https'), 'encrypted' => true, 'useTLS' => env('PUSHER_SCHEME', 'https') === 'https', ], 'client_options' => [ // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html ], ], 'ably' => [ 'driver' => 'ably', 'key' => env('ABLY_KEY'), ], 'redis' => [ 'driver' => 'redis', 'connection' => 'default', ], 'log' => [ 'driver' => 'log', ], 'null' => [ 'driver' => 'null', ], ], ]; cache.php000064400000006411151405220660006323 0ustar00 env('CACHE_DRIVER', 'file'), /* |-------------------------------------------------------------------------- | 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. | | Supported drivers: "apc", "array", "database", "file", | "memcached", "redis", "dynamodb", "octane", "null" | */ 'stores' => [ 'apc' => [ 'driver' => 'apc', ], 'array' => [ 'driver' => 'array', 'serialize' => false, ], 'database' => [ 'driver' => 'database', 'table' => 'cache', 'connection' => null, 'lock_connection' => null, ], 'file' => [ 'driver' => 'file', 'path' => storage_path('framework/cache/data'), 'lock_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', 'lock_connection' => 'default', ], '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'), ], 'octane' => [ 'driver' => 'octane', ], ], /* |-------------------------------------------------------------------------- | Cache Key Prefix |-------------------------------------------------------------------------- | | When utilizing the APC, database, memcached, Redis, or DynamoDB cache | stores there might be other applications using the same cache. For | that reason, you may prefix every cache key to avoid collisions. | */ 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'), ]; clockwork.php000064400000040131151405220660007253 0ustar00 env('CLOCKWORK_ENABLE', null), /* |------------------------------------------------------------------------------------------------------------------ | Features |------------------------------------------------------------------------------------------------------------------ | | You can enable or disable various Clockwork features here. Some features have additional settings (eg. slow query | threshold for database queries). | */ 'features' => [ // Cache usage stats and cache queries including results 'cache' => [ 'enabled' => env('CLOCKWORK_CACHE_ENABLED', true), // Collect cache queries 'collect_queries' => env('CLOCKWORK_CACHE_QUERIES', true), // Collect values from cache queries (high performance impact with a very high number of queries) 'collect_values' => env('CLOCKWORK_CACHE_COLLECT_VALUES', false) ], // Database usage stats and queries 'database' => [ 'enabled' => env('CLOCKWORK_DATABASE_ENABLED', true), // Collect database queries (high performance impact with a very high number of queries) 'collect_queries' => env('CLOCKWORK_DATABASE_COLLECT_QUERIES', true), // Collect details of models updates (high performance impact with a lot of model updates) 'collect_models_actions' => env('CLOCKWORK_DATABASE_COLLECT_MODELS_ACTIONS', true), // Collect details of retrieved models (very high performance impact with a lot of models retrieved) 'collect_models_retrieved' => env('CLOCKWORK_DATABASE_COLLECT_MODELS_RETRIEVED', false), // Query execution time threshold in milliseconds after which the query will be marked as slow 'slow_threshold' => env('CLOCKWORK_DATABASE_SLOW_THRESHOLD'), // Collect only slow database queries 'slow_only' => env('CLOCKWORK_DATABASE_SLOW_ONLY', false), // Detect and report duplicate queries 'detect_duplicate_queries' => env('CLOCKWORK_DATABASE_DETECT_DUPLICATE_QUERIES', false) ], // Dispatched events 'events' => [ 'enabled' => env('CLOCKWORK_EVENTS_ENABLED', true), // Ignored events (framework events are ignored by default) 'ignored_events' => [ // App\Events\UserRegistered::class, // 'user.registered' ], ], // Laravel log (you can still log directly to Clockwork with laravel log disabled) 'log' => [ 'enabled' => env('CLOCKWORK_LOG_ENABLED', true) ], // Sent notifications 'notifications' => [ 'enabled' => env('CLOCKWORK_NOTIFICATIONS_ENABLED', true), ], // Performance metrics 'performance' => [ // Allow collecting of client metrics. Requires separate clockwork-browser npm package. 'client_metrics' => env('CLOCKWORK_PERFORMANCE_CLIENT_METRICS', true) ], // Dispatched queue jobs 'queue' => [ 'enabled' => env('CLOCKWORK_QUEUE_ENABLED', true) ], // Redis commands 'redis' => [ 'enabled' => env('CLOCKWORK_REDIS_ENABLED', true) ], // Routes list 'routes' => [ 'enabled' => env('CLOCKWORK_ROUTES_ENABLED', false), // Collect only routes from particular namespaces (only application routes by default) 'only_namespaces' => [ 'App' ] ], // Rendered views 'views' => [ 'enabled' => env('CLOCKWORK_VIEWS_ENABLED', true), // Collect views including view data (high performance impact with a high number of views) 'collect_data' => env('CLOCKWORK_VIEWS_COLLECT_DATA', false), // Use Twig profiler instead of Laravel events for apps using laravel-twigbridge (more precise, but does // not support collecting view data) 'use_twig_profiler' => env('CLOCKWORK_VIEWS_USE_TWIG_PROFILER', false) ] ], /* |------------------------------------------------------------------------------------------------------------------ | Enable web UI |------------------------------------------------------------------------------------------------------------------ | | Clockwork comes with a web UI accessible via http://your.app/clockwork. Here you can enable or disable this | feature. You can also set a custom path for the web UI. | */ 'web' => env('CLOCKWORK_WEB', true), /* |------------------------------------------------------------------------------------------------------------------ | Enable toolbar |------------------------------------------------------------------------------------------------------------------ | | Clockwork can show a toolbar with basic metrics on all responses. Here you can enable or disable this feature. | Requires a separate clockwork-browser npm library. | For installation instructions see https://underground.works/clockwork/#docs-viewing-data | */ 'toolbar' => env('CLOCKWORK_TOOLBAR', true), /* |------------------------------------------------------------------------------------------------------------------ | HTTP requests collection |------------------------------------------------------------------------------------------------------------------ | | Clockwork collects data about HTTP requests to your app. Here you can choose which requests should be collected. | */ 'requests' => [ // With on-demand mode enabled, Clockwork will only profile requests when the browser extension is open or you // manually pass a "clockwork-profile" cookie or get/post data key. // Optionally you can specify a "secret" that has to be passed as the value to enable profiling. 'on_demand' => env('CLOCKWORK_REQUESTS_ON_DEMAND', false), // Collect only errors (requests with HTTP 4xx and 5xx responses) 'errors_only' => env('CLOCKWORK_REQUESTS_ERRORS_ONLY', false), // Response time threshold in milliseconds after which the request will be marked as slow 'slow_threshold' => env('CLOCKWORK_REQUESTS_SLOW_THRESHOLD'), // Collect only slow requests 'slow_only' => env('CLOCKWORK_REQUESTS_SLOW_ONLY', false), // Sample the collected requests (e.g. set to 100 to collect only 1 in 100 requests) 'sample' => env('CLOCKWORK_REQUESTS_SAMPLE', false), // List of URIs that should not be collected 'except' => [ '/horizon/.*', // Laravel Horizon requests '/telescope/.*', // Laravel Telescope requests '/_tt/.*', // Laravel Telescope toolbar '/_debugbar/.*', // Laravel DebugBar requests ], // List of URIs that should be collected, any other URI will not be collected if not empty 'only' => [ // '/api/.*' ], // Don't collect OPTIONS requests, mostly used in the CSRF pre-flight requests and are rarely of interest 'except_preflight' => env('CLOCKWORK_REQUESTS_EXCEPT_PREFLIGHT', true) ], /* |------------------------------------------------------------------------------------------------------------------ | Artisan commands collection |------------------------------------------------------------------------------------------------------------------ | | Clockwork can collect data about executed artisan commands. Here you can enable and configure which commands | should be collected. | */ 'artisan' => [ // Enable or disable collection of executed Artisan commands 'collect' => env('CLOCKWORK_ARTISAN_COLLECT', false), // List of commands that should not be collected (built-in commands are not collected by default) 'except' => [ // 'inspire' ], // List of commands that should be collected, any other command will not be collected if not empty 'only' => [ // 'inspire' ], // Enable or disable collection of command output 'collect_output' => env('CLOCKWORK_ARTISAN_COLLECT_OUTPUT', false), // Enable or disable collection of built-in Laravel commands 'except_laravel_commands' => env('CLOCKWORK_ARTISAN_EXCEPT_LARAVEL_COMMANDS', true) ], /* |------------------------------------------------------------------------------------------------------------------ | Queue jobs collection |------------------------------------------------------------------------------------------------------------------ | | Clockwork can collect data about executed queue jobs. Here you can enable and configure which queue jobs should | be collected. | */ 'queue' => [ // Enable or disable collection of executed queue jobs 'collect' => env('CLOCKWORK_QUEUE_COLLECT', false), // List of queue jobs that should not be collected 'except' => [ // App\Jobs\ExpensiveJob::class ], // List of queue jobs that should be collected, any other queue job will not be collected if not empty 'only' => [ // App\Jobs\BuggyJob::class ] ], /* |------------------------------------------------------------------------------------------------------------------ | Tests collection |------------------------------------------------------------------------------------------------------------------ | | Clockwork can collect data about executed tests. Here you can enable and configure which tests should be | collected. | */ 'tests' => [ // Enable or disable collection of ran tests 'collect' => env('CLOCKWORK_TESTS_COLLECT', false), // List of tests that should not be collected 'except' => [ // Tests\Unit\ExampleTest::class ] ], /* |------------------------------------------------------------------------------------------------------------------ | Enable data collection when Clockwork is disabled |------------------------------------------------------------------------------------------------------------------ | | You can enable this setting to collect data even when Clockwork is disabled, e.g. for future analysis. | */ 'collect_data_always' => env('CLOCKWORK_COLLECT_DATA_ALWAYS', false), /* |------------------------------------------------------------------------------------------------------------------ | Metadata storage |------------------------------------------------------------------------------------------------------------------ | | Configure how is the metadata collected by Clockwork stored. Three options are available: | - files - A simple fast storage implementation storing data in one-per-request files. | - sql - Stores requests in a sql database. Supports MySQL, PostgreSQL and SQLite. Requires PDO. | - redis - Stores requests in redis. Requires phpredis. */ 'storage' => env('CLOCKWORK_STORAGE', 'files'), // Path where the Clockwork metadata is stored 'storage_files_path' => env('CLOCKWORK_STORAGE_FILES_PATH', storage_path('clockwork')), // Compress the metadata files using gzip, trading a little bit of performance for lower disk usage 'storage_files_compress' => env('CLOCKWORK_STORAGE_FILES_COMPRESS', false), // SQL database to use, can be a name of database configured in database.php or a path to a SQLite file 'storage_sql_database' => env('CLOCKWORK_STORAGE_SQL_DATABASE', storage_path('clockwork.sqlite')), // SQL table name to use, the table is automatically created and updated when needed 'storage_sql_table' => env('CLOCKWORK_STORAGE_SQL_TABLE', 'clockwork'), // Redis connection, name of redis connection or cluster configured in database.php 'storage_redis' => env('CLOCKWORK_STORAGE_REDIS', 'default'), // Redis prefix for Clockwork keys ("clockwork" if not set) 'storage_redis_prefix' => env('CLOCKWORK_STORAGE_REDIS_PREFIX', 'clockwork'), // Maximum lifetime of collected metadata in minutes, older requests will automatically be deleted, false to disable 'storage_expiration' => env('CLOCKWORK_STORAGE_EXPIRATION', 60 * 24 * 7), /* |------------------------------------------------------------------------------------------------------------------ | Authentication |------------------------------------------------------------------------------------------------------------------ | | Clockwork can be configured to require authentication before allowing access to the collected data. This might be | useful when the application is publicly accessible. Setting to true will enable a simple authentication with a | pre-configured password. You can also pass a class name of a custom implementation. | */ 'authentication' => env('CLOCKWORK_AUTHENTICATION', false), // Password for the simple authentication 'authentication_password' => env('CLOCKWORK_AUTHENTICATION_PASSWORD', 'VerySecretPassword'), /* |------------------------------------------------------------------------------------------------------------------ | Stack traces collection |------------------------------------------------------------------------------------------------------------------ | | Clockwork can collect stack traces for log messages and certain data like database queries. Here you can set | whether to collect stack traces, limit the number of collected frames and set further configuration. Collecting | long stack traces considerably increases metadata size. | */ 'stack_traces' => [ // Enable or disable collecting of stack traces 'enabled' => env('CLOCKWORK_STACK_TRACES_ENABLED', true), // Limit the number of frames to be collected 'limit' => env('CLOCKWORK_STACK_TRACES_LIMIT', 10), // List of vendor names to skip when determining caller, common vendors are automatically added 'skip_vendors' => [ // 'phpunit' ], // List of namespaces to skip when determining caller 'skip_namespaces' => [ // 'Laravel' ], // List of class names to skip when determining caller 'skip_classes' => [ // App\CustomLog::class ] ], /* |------------------------------------------------------------------------------------------------------------------ | Serialization |------------------------------------------------------------------------------------------------------------------ | | Clockwork serializes the collected data to json for storage and transfer. Here you can configure certain aspects | of serialization. Serialization has a large effect on the cpu time and memory usage. | */ // Maximum depth of serialized multi-level arrays and objects 'serialization_depth' => env('CLOCKWORK_SERIALIZATION_DEPTH', 10), // A list of classes that will never be serialized (e.g. a common service container class) 'serialization_blackbox' => [ \Illuminate\Container\Container::class, \Illuminate\Foundation\Application::class, \Laravel\Lumen\Application::class ], /* |------------------------------------------------------------------------------------------------------------------ | Register helpers |------------------------------------------------------------------------------------------------------------------ | | Clockwork comes with a "clock" global helper function. You can use this helper to quickly log something and to | access the Clockwork instance. | */ 'register_helpers' => env('CLOCKWORK_REGISTER_HELPERS', true), /* |------------------------------------------------------------------------------------------------------------------ | Send headers for AJAX request |------------------------------------------------------------------------------------------------------------------ | | When trying to collect data, the AJAX method can sometimes fail if it is missing required headers. For example, an | API might require a version number using Accept headers to route the HTTP request to the correct codebase. | */ 'headers' => [ // 'Accept' => 'application/vnd.com.whatever.v1+json', ], /* |------------------------------------------------------------------------------------------------------------------ | Server timing |------------------------------------------------------------------------------------------------------------------ | | Clockwork supports the W3C Server Timing specification, which allows for collecting a simple performance metrics | in a cross-browser way. E.g. in Chrome, your app, database and timeline event timings will be shown in the Dev | Tools network tab. This setting specifies the max number of timeline events that will be sent. Setting to false | will disable the feature. | */ 'server_timing' => env('CLOCKWORK_SERVER_TIMING', 10) ]; cors.php000064400000001516151405220660006227 0ustar00 ['api/*', 'sanctum/csrf-cookie'], 'allowed_methods' => ['*'], 'allowed_origins' => ['*'], 'allowed_origins_patterns' => [], 'allowed_headers' => ['*'], 'exposed_headers' => [], 'max_age' => 0, 'supports_credentials' => false, ]; database.php000064400000012251151405220660007023 0ustar00 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', 'url' => env('DATABASE_URL'), 'database' => env('DB_DATABASE', database_path('database.sqlite')), 'prefix' => '', 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), ], 'mysql' => [ 'driver' => 'mysql', 'url' => env('DATABASE_URL'), 'host' => env('DB_HOST', '127.0.0.1'), 'port' => env('DB_PORT', '3306'), 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), 'unix_socket' => env('DB_SOCKET', ''), 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'options' => extension_loaded('pdo_mysql') ? array_filter([ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), ]) : [], ], 'pgsql' => [ 'driver' => 'pgsql', 'url' => env('DATABASE_URL'), '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' => 'utf8', 'prefix' => '', 'prefix_indexes' => true, 'search_path' => 'public', 'sslmode' => 'prefer', ], 'sqlsrv' => [ 'driver' => 'sqlsrv', 'url' => env('DATABASE_URL'), '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' => 'utf8', 'prefix' => '', 'prefix_indexes' => true, // 'encrypt' => env('DB_ENCRYPT', 'yes'), // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'), ], ], /* |-------------------------------------------------------------------------- | 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 body of commands than a typical key-value system | such as APC or Memcached. Laravel makes it easy to dig right in. | */ 'redis' => [ 'client' => env('REDIS_CLIENT', 'phpredis'), 'options' => [ 'cluster' => env('REDIS_CLUSTER', 'redis'), 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'), ], 'default' => [ 'url' => env('REDIS_URL'), 'host' => env('REDIS_HOST', '127.0.0.1'), 'username' => env('REDIS_USERNAME'), 'password' => env('REDIS_PASSWORD'), 'port' => env('REDIS_PORT', '6379'), 'database' => env('REDIS_DB', '0'), ], 'cache' => [ 'url' => env('REDIS_URL'), 'host' => env('REDIS_HOST', '127.0.0.1'), 'username' => env('REDIS_USERNAME'), 'password' => env('REDIS_PASSWORD'), 'port' => env('REDIS_PORT', '6379'), 'database' => env('REDIS_CACHE_DB', '1'), ], ], ]; debugbar.php000064400000033564151405220660007044 0ustar00 false, 'except' => [ 'telescope*', 'horizon*', ], /* |-------------------------------------------------------------------------- | Storage settings |-------------------------------------------------------------------------- | | DebugBar stores data for session/ajax requests. | You can disable this, so the debugbar stores data in headers/session, | but this can cause problems with large data collectors. | By default, file storage (in the storage folder) is used. Redis and PDO | can also be used. For PDO, run the package migrations first. | | Warning: Enabling storage.open will allow everyone to access previous | request, do not enable open storage in publicly available environments! | Specify a callback if you want to limit based on IP or authentication. | Leaving it to null will allow localhost only. */ 'storage' => [ 'enabled' => true, 'open' => env('DEBUGBAR_OPEN_STORAGE'), // bool/callback. 'driver' => 'file', // redis, file, pdo, socket, custom 'path' => storage_path('debugbar'), // For file driver 'connection' => null, // Leave null for default connection (Redis/PDO) 'provider' => '', // Instance of StorageInterface for custom driver 'hostname' => '127.0.0.1', // Hostname to use with the "socket" driver 'port' => 2304, // Port to use with the "socket" driver ], /* |-------------------------------------------------------------------------- | Editor |-------------------------------------------------------------------------- | | Choose your preferred editor to use when clicking file name. | | Supported: "phpstorm", "vscode", "vscode-insiders", "vscode-remote", | "vscode-insiders-remote", "vscodium", "textmate", "emacs", | "sublime", "atom", "nova", "macvim", "idea", "netbeans", | "xdebug", "espresso" | */ 'editor' => env('DEBUGBAR_EDITOR') ?: env('IGNITION_EDITOR', 'phpstorm'), /* |-------------------------------------------------------------------------- | Remote Path Mapping |-------------------------------------------------------------------------- | | If you are using a remote dev server, like Laravel Homestead, Docker, or | even a remote VPS, it will be necessary to specify your path mapping. | | Leaving one, or both of these, empty or null will not trigger the remote | URL changes and Debugbar will treat your editor links as local files. | | "remote_sites_path" is an absolute base path for your sites or projects | in Homestead, Vagrant, Docker, or another remote development server. | | Example value: "/home/vagrant/Code" | | "local_sites_path" is an absolute base path for your sites or projects | on your local computer where your IDE or code editor is running on. | | Example values: "/Users//Code", "C:\Users\\Documents\Code" | */ 'remote_sites_path' => env('DEBUGBAR_REMOTE_SITES_PATH'), 'local_sites_path' => env('DEBUGBAR_LOCAL_SITES_PATH', env('IGNITION_LOCAL_SITES_PATH')), /* |-------------------------------------------------------------------------- | Vendors |-------------------------------------------------------------------------- | | Vendor files are included by default, but can be set to false. | This can also be set to 'js' or 'css', to only include javascript or css vendor files. | Vendor files are for css: font-awesome (including fonts) and highlight.js (css files) | and for js: jquery and highlight.js | So if you want syntax highlighting, set it to true. | jQuery is set to not conflict with existing jQuery scripts. | */ 'include_vendors' => true, /* |-------------------------------------------------------------------------- | Capture Ajax Requests |-------------------------------------------------------------------------- | | The Debugbar can capture Ajax requests and display them. If you don't want this (ie. because of errors), | you can use this option to disable sending the data through the headers. | | Optionally, you can also send ServerTiming headers on ajax requests for the Chrome DevTools. | | Note for your request to be identified as ajax requests they must either send the header | X-Requested-With with the value XMLHttpRequest (most JS libraries send this), or have application/json as a Accept header. | | By default `ajax_handler_auto_show` is set to true allowing ajax requests to be shown automatically in the Debugbar. | Changing `ajax_handler_auto_show` to false will prevent the Debugbar from reloading. */ 'capture_ajax' => true, 'add_ajax_timing' => false, 'ajax_handler_auto_show' => true, 'ajax_handler_enable_tab' => true, /* |-------------------------------------------------------------------------- | Custom Error Handler for Deprecated warnings |-------------------------------------------------------------------------- | | When enabled, the Debugbar shows deprecated warnings for Symfony components | in the Messages tab. | */ 'error_handler' => false, /* |-------------------------------------------------------------------------- | Clockwork integration |-------------------------------------------------------------------------- | | The Debugbar can emulate the Clockwork headers, so you can use the Chrome | Extension, without the server-side code. It uses Debugbar collectors instead. | */ 'clockwork' => false, /* |-------------------------------------------------------------------------- | DataCollectors |-------------------------------------------------------------------------- | | Enable/disable DataCollectors | */ 'collectors' => [ 'phpinfo' => true, // Php version 'messages' => true, // Messages 'time' => true, // Time Datalogger 'memory' => true, // Memory usage 'exceptions' => true, // Exception displayer 'log' => true, // Logs from Monolog (merged in messages if enabled) 'db' => true, // Show database (PDO) queries and bindings 'views' => true, // Views with their data 'route' => true, // Current route information 'auth' => false, // Display Laravel authentication status 'gate' => true, // Display Laravel Gate checks 'session' => true, // Display session data 'symfony_request' => true, // Only one can be enabled.. 'mail' => true, // Catch mail messages 'laravel' => false, // Laravel version and environment 'events' => false, // All events fired 'default_request' => false, // Regular or special Symfony request logger 'logs' => false, // Add the latest log messages 'files' => false, // Show the included files 'config' => false, // Display config settings 'cache' => false, // Display cache events 'models' => true, // Display models 'livewire' => true, // Display Livewire (when available) 'jobs' => false, // Display dispatched jobs ], /* |-------------------------------------------------------------------------- | Extra options |-------------------------------------------------------------------------- | | Configure some DataCollectors | */ 'options' => [ 'time' => [ 'memory_usage' => false, // Calculated by subtracting memory start and end, it may be inaccurate ], 'messages' => [ 'trace' => true, // Trace the origin of the debug message ], 'memory' => [ 'reset_peak' => false, // run memory_reset_peak_usage before collecting 'with_baseline' => false, // Set boot memory usage as memory peak baseline 'precision' => 0, // Memory rounding precision ], 'auth' => [ 'show_name' => true, // Also show the users name/email in the debugbar 'show_guards' => true, // Show the guards that are used ], 'db' => [ 'with_params' => true, // Render SQL with the parameters substituted 'backtrace' => true, // Use a backtrace to find the origin of the query in your files. 'backtrace_exclude_paths' => [], // Paths to exclude from backtrace. (in addition to defaults) 'timeline' => false, // Add the queries to the timeline 'duration_background' => true, // Show shaded background on each query relative to how long it took to execute. 'explain' => [ // Show EXPLAIN output on queries 'enabled' => false, 'types' => ['SELECT'], // Deprecated setting, is always only SELECT ], 'hints' => false, // Show hints for common mistakes 'show_copy' => false, // Show copy button next to the query, 'slow_threshold' => false, // Only track queries that last longer than this time in ms 'memory_usage' => false, // Show queries memory usage 'soft_limit' => 100, // After the soft limit, no parameters/backtrace are captured 'hard_limit' => 500, // After the hard limit, queries are ignored ], 'mail' => [ 'timeline' => false, // Add mails to the timeline 'show_body' => true, ], 'views' => [ 'timeline' => false, // Add the views to the timeline (Experimental) 'data' => false, //true for all data, 'keys' for only names, false for no parameters. 'group' => 50, // Group duplicate views. Pass value to auto-group, or true/false to force 'exclude_paths' => [ // Add the paths which you don't want to appear in the views 'vendor/filament' // Exclude Filament components by default ], ], 'route' => [ 'label' => true, // show complete route on bar ], 'session' => [ 'hiddens' => [], // hides sensitive values using array paths ], 'symfony_request' => [ 'hiddens' => [], // hides sensitive values using array paths, example: request_request.password ], 'events' => [ 'data' => false, // collect events data, listeners ], 'logs' => [ 'file' => null, ], 'cache' => [ 'values' => true, // collect cache values ], ], /* |-------------------------------------------------------------------------- | Inject Debugbar in Response |-------------------------------------------------------------------------- | | Usually, the debugbar is added just before , by listening to the | Response after the App is done. If you disable this, you have to add them | in your template yourself. See http://phpdebugbar.com/docs/rendering.html | */ 'inject' => true, /* |-------------------------------------------------------------------------- | DebugBar route prefix |-------------------------------------------------------------------------- | | Sometimes you want to set route prefix to be used by DebugBar to load | its resources from. Usually the need comes from misconfigured web server or | from trying to overcome bugs like this: http://trac.nginx.org/nginx/ticket/97 | */ 'route_prefix' => '_debugbar', /* |-------------------------------------------------------------------------- | DebugBar route middleware |-------------------------------------------------------------------------- | | Additional middleware to run on the Debugbar routes */ 'route_middleware' => [], /* |-------------------------------------------------------------------------- | DebugBar route domain |-------------------------------------------------------------------------- | | By default DebugBar route served from the same domain that request served. | To override default domain, specify it as a non-empty value. */ 'route_domain' => null, /* |-------------------------------------------------------------------------- | DebugBar theme |-------------------------------------------------------------------------- | | Switches between light and dark theme. If set to auto it will respect system preferences | Possible values: auto, light, dark */ 'theme' => env('DEBUGBAR_THEME', 'auto'), /* |-------------------------------------------------------------------------- | Backtrace stack limit |-------------------------------------------------------------------------- | | By default, the DebugBar limits the number of frames returned by the 'debug_backtrace()' function. | If you need larger stacktraces, you can increase this number. Setting it to 0 will result in no limit. */ 'debug_backtrace_limit' => 50, ]; dompdf.php000064400000026650151405220660006540 0ustar00 false, // Throw an Exception on warnings from dompdf 'public_path' => null, // Override the public path if needed /* * Dejavu Sans font is missing glyphs for converted entities, turn it off if you need to show € and £. */ 'convert_entities' => true, 'options' => array( /** * The location of the DOMPDF font directory * * The location of the directory where DOMPDF will store fonts and font metrics * Note: This directory must exist and be writable by the webserver process. * *Please note the trailing slash.* * * Notes regarding fonts: * Additional .afm font metrics can be added by executing load_font.php from command line. * * Only the original "Base 14 fonts" are present on all pdf viewers. Additional fonts must * be embedded in the pdf file or the PDF may not display correctly. This can significantly * increase file size unless font subsetting is enabled. Before embedding a font please * review your rights under the font license. * * Any font specification in the source HTML is translated to the closest font available * in the font directory. * * The pdf standard "Base 14 fonts" are: * Courier, Courier-Bold, Courier-BoldOblique, Courier-Oblique, * Helvetica, Helvetica-Bold, Helvetica-BoldOblique, Helvetica-Oblique, * Times-Roman, Times-Bold, Times-BoldItalic, Times-Italic, * Symbol, ZapfDingbats. */ "font_dir" => base_path('Modules/core/resources/assets/vendor/fonts/farsi-fonts-en-num/'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782) /** * The location of the DOMPDF font cache directory * * This directory contains the cached font metrics for the fonts used by DOMPDF. * This directory can be the same as DOMPDF_FONT_DIR * * Note: This directory must exist and be writable by the webserver process. */ "font_cache" => storage_path('fonts'), 'font_family' => [ 'aviny' => [ 'normal' => 'aviny-700.ttf', // مسیر فونت معمولی ], ], /** * The location of a temporary directory. * * The directory specified must be writeable by the webserver process. * The temporary directory is required to download remote images and when * using the PDFLib back end. */ "temp_dir" => sys_get_temp_dir(), /** * ==== IMPORTANT ==== * * dompdf's "chroot": Prevents dompdf from accessing system files or other * files on the webserver. All local files opened by dompdf must be in a * subdirectory of this directory. DO NOT set it to '/' since this could * allow an attacker to use dompdf to read any files on the server. This * should be an absolute path. * This is only checked on command line call by dompdf.php, but not by * direct class use like: * $dompdf = new DOMPDF(); $dompdf->load_html($htmldata); $dompdf->render(); $pdfdata = $dompdf->output(); */ "chroot" => realpath(base_path()), /** * Protocol whitelist * * Protocols and PHP wrappers allowed in URIs, and the validation rules * that determine if a resouce may be loaded. Full support is not guaranteed * for the protocols/wrappers specified * by this array. * * @var array */ 'allowed_protocols' => [ "file://" => ["rules" => []], "http://" => ["rules" => []], "https://" => ["rules" => []] ], /** * @var string */ 'log_output_file' => null, /** * Whether to enable font subsetting or not. */ "enable_font_subsetting" => false, /** * The PDF rendering backend to use * * Valid settings are 'PDFLib', 'CPDF' (the bundled R&OS PDF class), 'GD' and * 'auto'. 'auto' will look for PDFLib and use it if found, or if not it will * fall back on CPDF. 'GD' renders PDFs to graphic files. {@link * Canvas_Factory} ultimately determines which rendering class to instantiate * based on this setting. * * Both PDFLib & CPDF rendering backends provide sufficient rendering * capabilities for dompdf, however additional features (e.g. object, * image and font support, etc.) differ between backends. Please see * {@link PDFLib_Adapter} for more information on the PDFLib backend * and {@link CPDF_Adapter} and lib/class.pdf.php for more information * on CPDF. Also see the documentation for each backend at the links * below. * * The GD rendering backend is a little different than PDFLib and * CPDF. Several features of CPDF and PDFLib are not supported or do * not make any sense when creating image files. For example, * multiple pages are not supported, nor are PDF 'objects'. Have a * look at {@link GD_Adapter} for more information. GD support is * experimental, so use it at your own risk. * * @link http://www.pdflib.com * @link http://www.ros.co.nz/pdf * @link http://www.php.net/image */ "pdf_backend" => "CPDF", /** * PDFlib license key * * If you are using a licensed, commercial version of PDFlib, specify * your license key here. If you are using PDFlib-Lite or are evaluating * the commercial version of PDFlib, comment out this setting. * * @link http://www.pdflib.com * * If pdflib present in web server and auto or selected explicitely above, * a real license code must exist! */ //"DOMPDF_PDFLIB_LICENSE" => "your license key here", /** * html target media view which should be rendered into pdf. * List of types and parsing rules for future extensions: * http://www.w3.org/TR/REC-html40/types.html * screen, tty, tv, projection, handheld, print, braille, aural, all * Note: aural is deprecated in CSS 2.1 because it is replaced by speech in CSS 3. * Note, even though the generated pdf file is intended for print output, * the desired content might be different (e.g. screen or projection view of html file). * Therefore allow specification of content here. */ "default_media_type" => "screen", /** * The default paper size. * * North America standard is "letter"; other countries generally "a4" * * @see CPDF_Adapter::PAPER_SIZES for valid sizes ('letter', 'legal', 'A4', etc.) */ "default_paper_size" => "a4", /** * The default paper orientation. * * The orientation of the page (portrait or landscape). * * @var string */ 'default_paper_orientation' => "portrait", /** * The default font family * * Used if no suitable fonts can be found. This must exist in the font folder. * @var string */ "default_font" => "serif", /** * Image DPI setting * * This setting determines the default DPI setting for images and fonts. The * DPI may be overridden for inline images by explictly setting the * image's width & height style attributes (i.e. if the image's native * width is 600 pixels and you specify the image's width as 72 points, * the image will have a DPI of 600 in the rendered PDF. The DPI of * background images can not be overridden and is controlled entirely * via this parameter. * * For the purposes of DOMPDF, pixels per inch (PPI) = dots per inch (DPI). * If a size in html is given as px (or without unit as image size), * this tells the corresponding size in pt. * This adjusts the relative sizes to be similar to the rendering of the * html page in a reference browser. * * In pdf, always 1 pt = 1/72 inch * * Rendering resolution of various browsers in px per inch: * Windows Firefox and Internet Explorer: * SystemControl->Display properties->FontResolution: Default:96, largefonts:120, custom:? * Linux Firefox: * about:config *resolution: Default:96 * (xorg screen dimension in mm and Desktop font dpi settings are ignored) * * Take care about extra font/image zoom factor of browser. * * In images, size in pixel attribute, img css style, are overriding * the real image dimension in px for rendering. * * @var int */ "dpi" => 96, /** * Enable inline PHP * * If this setting is set to true then DOMPDF will automatically evaluate * inline PHP contained within tags. * * Enabling this for documents you do not trust (e.g. arbitrary remote html * pages) is a security risk. Set this option to false if you wish to process * untrusted documents. * * @var bool */ "enable_php" => false, /** * Enable inline Javascript * * If this setting is set to true then DOMPDF will automatically insert * JavaScript code contained within tags. * * @var bool */ "enable_javascript" => true, /** * Enable remote file access * * If this setting is set to true, DOMPDF will access remote sites for * images and CSS files as required. * This is required for part of test case www/test/image_variants.html through www/examples.php * * Attention! * This can be a security risk, in particular in combination with DOMPDF_ENABLE_PHP and * allowing remote access to dompdf.php or on allowing remote html code to be passed to * $dompdf = new DOMPDF(, $dompdf->load_html(..., * This allows anonymous users to download legally doubtful internet content which on * tracing back appears to being downloaded by your server, or allows malicious php code * in remote html pages to be executed by your server with your account privileges. * * @var bool */ "enable_remote" => true, /** * A ratio applied to the fonts height to be more like browsers' line height */ "font_height_ratio" => 1.1, /** * Use the HTML5 Lib parser * * @deprecated This feature is now always on in dompdf 2.x * @var bool */ "enable_html5_parser" => true, ), ); file-manager.php000064400000010630151405220660007605 0ustar00 DefaultConfigRepository::class, /** * ACL rules repository * * Default - ConfigACLRepository (see rules in - aclRules) */ 'aclRepository' => ConfigACLRepository::class, //********* Default configuration for DefaultConfigRepository ************** /** * LFM Route prefix * !!! WARNING - if you change it, you should compile frontend with new prefix(baseUrl) !!! */ 'routePrefix' => 'file-manager', /** * List of disk names that you want to use * (from config/filesystems) */ 'diskList' => [env('DRIVER_FILE_SYSTEM')], /** * Default disk for left manager * * null - auto select the first disk in the disk list */ 'leftDisk' => null, /** * Default disk for right manager * * null - auto select the first disk in the disk list */ 'rightDisk' => null, /** * Default path for left manager * * null - root directory */ 'leftPath' => null, /** * Default path for right manager * * null - root directory */ 'rightPath' => null, /** * Image cache ( Intervention Image Cache ) * * set null, 0 - if you don't need cache (default) * if you want use cache - set the number of minutes for which the value should be cached */ 'cache' => null, /** * File manager modules configuration * * 1 - only one file manager window * 2 - one file manager window with directories tree module * 3 - two file manager windows */ 'windowsConfig' => 2, /** * File upload - Max file size in KB * * null - no restrictions */ 'maxUploadFileSize' => null, /** * File upload - Allow these file types * * [] - no restrictions */ 'allowFileTypes' => [], /** * Show / Hide system files and folders */ 'hiddenFiles' => true, /*************************************************************************** * Middleware * * Add your middleware name to array -> ['web', 'auth', 'admin'] * !!!! RESTRICT ACCESS FOR NON ADMIN USERS !!!! */ 'middleware' => ['web'], /*************************************************************************** * ACL mechanism ON/OFF * * default - false(OFF) */ 'acl' => false, /** * Hide files and folders from file-manager if user doesn't have access * * ACL access level = 0 */ 'aclHideFromFM' => true, /** * ACL strategy * * blacklist - Allow everything(access - 2 - r/w) that is not forbidden by the ACL rules list * * whitelist - Deny anything(access - 0 - deny), that not allowed by the ACL rules list */ 'aclStrategy' => 'blacklist', /** * ACL Rules cache * * null or value in minutes */ 'aclRulesCache' => null, //********* Default configuration for DefaultConfigRepository END ********** /*************************************************************************** * ACL rules list - used for default ACL repository (ConfigACLRepository) * * 1 it's user ID * null - for not authenticated user * * 'disk' => 'disk-name' * * 'path' => 'folder-name' * 'path' => 'folder1*' - select folder1, folder12, folder1/sub-folder, ... * 'path' => 'folder2/*' - select folder2/sub-folder,... but not select folder2 !!! * 'path' => 'folder-name/file-name.jpg' * 'path' => 'folder-name/*.jpg' * * * - wildcard * * access: 0 - deny, 1 - read, 2 - read/write */ 'aclRules' => [ null => [ //['disk' => 'public', 'path' => '/', 'access' => 2], ], 1 => [ //['disk' => 'public', 'path' => 'images/arch*.jpg', 'access' => 2], //['disk' => 'public', 'path' => 'files/*', 'access' => 1], ], ], /** * Enable slugification of filenames of uploaded files. * */ 'slugifyNames' => false, ]; filesystems.php000064400000005571151405220660007635 0ustar00 env('FILESYSTEM_DISK', 'local'), /* |-------------------------------------------------------------------------- | 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 set up for each driver as an example of the required values. | | Supported Drivers: "local", "ftp", "sftp", "s3" | */ 'disks' => [ 'local' => [ 'driver' => 'local', 'root' => storage_path('app'), 'throw' => false, ], 'public' => [ 'driver' => 'local', 'root' => storage_path('app/public'), 'url' => env('APP_URL').'/storage', 'visibility' => 'public', 'throw' => false, ], 'secret' => [ 'driver' => 'local', 'root' => storage_path('app/secret'), 'url' => env('APP_URL').'/storage', // 'visibility' => 'secret', 'throw' => false, ], 'ftp' => [ 'driver' => 'ftp', 'host' => env('FTP_HOST'), 'url' => env('FTP_URL'), 'username' => env('FTP_USERNAME'), 'password' => env('FTP_PASSWORD'), 'port' => 21, 'passive' => env('FTP_PASSIVE'), 'timeout' => 30, ], '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'), 'endpoint' => env('AWS_ENDPOINT'), 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), 'throw' => false, ], ], /* |-------------------------------------------------------------------------- | Symbolic Links |-------------------------------------------------------------------------- | | Here you may configure the symbolic links that will be created when the | `storage:link` Artisan command is executed. The array keys should be | the locations of the links and the values should be their targets. | */ 'links' => [ public_path('storage') => storage_path('app/public'), ], ]; hashing.php000064400000003130151405220660006674 0ustar00 'bcrypt', /* |-------------------------------------------------------------------------- | Bcrypt Options |-------------------------------------------------------------------------- | | Here you may specify the configuration options that should be used when | passwords are hashed using the Bcrypt algorithm. This will allow you | to control the amount of time it takes to hash the given password. | */ 'bcrypt' => [ 'rounds' => env('BCRYPT_ROUNDS', 12), 'verify' => true, ], /* |-------------------------------------------------------------------------- | Argon Options |-------------------------------------------------------------------------- | | Here you may specify the configuration options that should be used when | passwords are hashed using the Argon algorithm. These will allow you | to control the amount of time it takes to hash the given password. | */ 'argon' => [ 'memory' => 65536, 'threads' => 1, 'time' => 4, 'verify' => true, ], ]; kavenegar.php000064400000000070151405220660007216 0ustar00 env('APP_KAVENEGAR'), ];laravel-share.php000064400000003047151405220660010010 0ustar00 [ 'facebook' => [ 'uri' => 'https://www.facebook.com/sharer/sharer.php?u=', ], 'twitter' => [ 'uri' => 'https://twitter.com/intent/tweet', 'text' => 'Default share text', ], 'linkedin' => [ 'uri' => 'https://www.linkedin.com/sharing/share-offsite', // oud: http://www.linkedin.com/shareArticle 'extra' => ['mini' => 'true'], ], 'whatsapp' => [ 'uri' => 'https://wa.me/?text=', 'extra' => ['mini' => 'true'], ], 'pinterest' => [ 'uri' => 'https://pinterest.com/pin/create/button/?url=', ], 'reddit' => [ 'uri' => 'https://www.reddit.com/submit', 'text' => 'Default share text', ], 'telegram' => [ 'uri' => 'https://telegram.me/share/url', 'text' => 'Default share text', ], ], /* |-------------------------------------------------------------------------- | Font Awesome |-------------------------------------------------------------------------- | | Specify the version of Font Awesome that you want to use. | We support version 4 and 5. | | */ 'fontAwesomeVersion' => 5, ]; logging.php000064400000010115151405220660006702 0ustar00 env('LOG_CHANNEL', 'stack'), /* |-------------------------------------------------------------------------- | Deprecations Log Channel |-------------------------------------------------------------------------- | | This option controls the log channel that should be used to log warnings | regarding deprecated PHP and library features. This allows you to get | your application ready for upcoming major versions of dependencies. | */ 'deprecations' => [ 'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'), 'trace' => false, ], /* |-------------------------------------------------------------------------- | Log Channels |-------------------------------------------------------------------------- | | Here you may configure the log channels for your application. Out of | the box, Laravel uses the Monolog PHP logging library. This gives | you a variety of powerful log handlers / formatters to utilize. | | Available Drivers: "single", "daily", "slack", "syslog", | "errorlog", "monolog", | "custom", "stack" | */ 'channels' => [ 'stack' => [ 'driver' => 'stack', 'channels' => ['single'], 'ignore_exceptions' => false, ], 'single' => [ 'driver' => 'single', 'path' => storage_path('logs/laravel.log'), 'level' => env('LOG_LEVEL', 'debug'), 'replace_placeholders' => true, ], 'daily' => [ 'driver' => 'daily', 'path' => storage_path('logs/laravel.log'), 'level' => env('LOG_LEVEL', 'debug'), 'days' => 14, 'replace_placeholders' => true, ], 'slack' => [ 'driver' => 'slack', 'url' => env('LOG_SLACK_WEBHOOK_URL'), 'username' => 'Laravel Log', 'emoji' => ':boom:', 'level' => env('LOG_LEVEL', 'critical'), 'replace_placeholders' => true, ], 'papertrail' => [ 'driver' => 'monolog', 'level' => env('LOG_LEVEL', 'debug'), 'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class), 'handler_with' => [ 'host' => env('PAPERTRAIL_URL'), 'port' => env('PAPERTRAIL_PORT'), 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'), ], 'processors' => [PsrLogMessageProcessor::class], ], 'stderr' => [ 'driver' => 'monolog', 'level' => env('LOG_LEVEL', 'debug'), 'handler' => StreamHandler::class, 'formatter' => env('LOG_STDERR_FORMATTER'), 'with' => [ 'stream' => 'php://stderr', ], 'processors' => [PsrLogMessageProcessor::class], ], 'syslog' => [ 'driver' => 'syslog', 'level' => env('LOG_LEVEL', 'debug'), 'facility' => LOG_USER, 'replace_placeholders' => true, ], 'errorlog' => [ 'driver' => 'errorlog', 'level' => env('LOG_LEVEL', 'debug'), 'replace_placeholders' => true, ], 'null' => [ 'driver' => 'monolog', 'handler' => NullHandler::class, ], 'emergency' => [ 'path' => storage_path('logs/laravel.log'), ], ], ]; mail.php000064400000007420151405220660006203 0ustar00 env('MAIL_MAILER', 'smtp'), /* |-------------------------------------------------------------------------- | Mailer Configurations |-------------------------------------------------------------------------- | | Here you may configure all of the mailers used by your application plus | their respective settings. Several examples have been configured for | you and you are free to add your own as your application requires. | | Laravel supports a variety of mail "transport" drivers to be used while | sending an e-mail. You will specify which one you are using for your | mailers below. You are free to add additional mailers as required. | | Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2", | "postmark", "log", "array", "failover" | */ 'mailers' => [ 'smtp' => [ 'transport' => 'smtp', 'url' => env('MAIL_URL'), 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), 'port' => env('MAIL_PORT', 587), 'encryption' => env('MAIL_ENCRYPTION', 'tls'), 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'), 'timeout' => null, 'local_domain' => env('MAIL_EHLO_DOMAIN'), ], 'ses' => [ 'transport' => 'ses', ], 'mailgun' => [ 'transport' => 'mailgun', // 'client' => [ // 'timeout' => 5, // ], ], 'postmark' => [ 'transport' => 'postmark', // 'message_stream_id' => null, // 'client' => [ // 'timeout' => 5, // ], ], 'sendmail' => [ 'transport' => 'sendmail', 'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'), ], 'log' => [ 'transport' => 'log', 'channel' => env('MAIL_LOG_CHANNEL'), ], 'array' => [ 'transport' => 'array', ], 'failover' => [ 'transport' => 'failover', 'mailers' => [ 'smtp', 'log', ], ], ], /* |-------------------------------------------------------------------------- | 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' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 'name' => env('MAIL_FROM_NAME', 'Example'), ], /* |-------------------------------------------------------------------------- | Markdown Mail Settings |-------------------------------------------------------------------------- | | If you are using Markdown based email rendering, you may configure your | theme and component paths here, allowing you to customize the design | of the emails. Or, you may simply stick with the Laravel defaults! | */ 'markdown' => [ 'theme' => 'default', 'paths' => [ resource_path('views/vendor/mail'), ], ], ]; modules.php000064400000025565151405220660006743 0ustar00 'Modules', /* |-------------------------------------------------------------------------- | Module Stubs |-------------------------------------------------------------------------- | | Default module stubs. | */ 'stubs' => [ 'enabled' => false, 'path' => base_path('vendor/nwidart/laravel-modules/src/Commands/stubs'), 'files' => [ 'routes/web' => 'routes/web.php', 'routes/api' => 'routes/api.php', 'views/index' => 'resources/views/index.blade.php', 'views/master' => 'resources/views/layouts/master.blade.php', 'scaffold/config' => 'config/config.php', 'composer' => 'composer.json', 'assets/js/app' => 'resources/assets/js/app.js', 'assets/sass/app' => 'resources/assets/sass/app.scss', 'vite' => 'vite.config.js', 'package' => 'package.json', ], 'replacements' => [ 'routes/web' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE', 'CONTROLLER_NAMESPACE'], 'routes/api' => ['LOWER_NAME', 'STUDLY_NAME'], 'vite' => ['LOWER_NAME'], 'json' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE', 'PROVIDER_NAMESPACE'], 'views/index' => ['LOWER_NAME'], 'views/master' => ['LOWER_NAME', 'STUDLY_NAME'], 'scaffold/config' => ['STUDLY_NAME'], 'composer' => [ 'LOWER_NAME', 'STUDLY_NAME', 'VENDOR', 'AUTHOR_NAME', 'AUTHOR_EMAIL', 'MODULE_NAMESPACE', 'PROVIDER_NAMESPACE', ], ], 'gitkeep' => true, ], 'paths' => [ /* |-------------------------------------------------------------------------- | Modules path |-------------------------------------------------------------------------- | | This path is used to save the generated module. | This path will also be added automatically to the list of scanned folders. | */ 'modules' => base_path('Modules'), /* |-------------------------------------------------------------------------- | Modules assets path |-------------------------------------------------------------------------- | | Here you may update the modules' assets path. | */ 'assets' => public_path('modules'), /* |-------------------------------------------------------------------------- | The migrations' path |-------------------------------------------------------------------------- | | Where you run the 'module:publish-migration' command, where do you publish the | the migration files? | */ 'migration' => base_path('database/migrations'), /* |-------------------------------------------------------------------------- | Generator path |-------------------------------------------------------------------------- | Customise the paths where the folders will be generated. | Set the generate's key to false to not generate that folder */ 'generator' => [ 'config' => ['path' => 'config', 'generate' => true], 'command' => ['path' => 'app/Console', 'generate' => false], 'channels' => ['path' => 'app/Broadcasting', 'generate' => false], 'migration' => ['path' => 'database/migrations', 'generate' => true], 'seeder' => [ 'path' => 'database/seeders', 'namespace' => 'database/seeders', 'generate' => true, ], 'factory' => ['path' => 'database/factories', 'generate' => true], 'model' => ['path' => 'app/Models', 'generate' => true], 'observer' => ['path' => 'app/Observers', 'generate' => false], 'routes' => ['path' => 'routes', 'generate' => true], 'controller' => ['path' => 'app/Http/Controllers', 'generate' => true], 'filter' => ['path' => 'app/Http/Middleware', 'generate' => true], 'request' => ['path' => 'app/Http/Requests', 'generate' => true], 'provider' => ['path' => 'app/Providers', 'generate' => true], 'assets' => ['path' => 'resources/assets', 'generate' => true], 'lang' => ['path' => 'lang', 'generate' => true], 'views' => ['path' => 'resources/views', 'generate' => true], 'test' => ['path' => 'tests/Unit', 'generate' => true], 'test-feature' => ['path' => 'tests/Feature', 'generate' => true], 'repository' => ['path' => 'app/Repositories', 'generate' => false], 'event' => ['path' => 'app/Events', 'generate' => false], 'listener' => ['path' => 'app/Listeners', 'generate' => false], 'policies' => ['path' => 'app/Policies', 'generate' => false], 'rules' => ['path' => 'app/Rules', 'generate' => false], 'jobs' => ['path' => 'app/Jobs', 'generate' => false], 'emails' => ['path' => 'app/Emails', 'generate' => false], 'notifications' => ['path' => 'app/Notifications', 'generate' => false], 'resource' => ['path' => 'app/Resources', 'generate' => false], 'component-view' => ['path' => 'resources/views/components', 'generate' => false], 'component-class' => ['path' => 'app/View/Components', 'generate' => false], ], ], /* |-------------------------------------------------------------------------- | Package commands |-------------------------------------------------------------------------- | | Here you can define which commands will be visible and used in your | application. If for example, you don't use some of the commands provided | you can simply comment them out. | */ 'commands' => [ Commands\CommandMakeCommand::class, Commands\ComponentClassMakeCommand::class, Commands\ComponentViewMakeCommand::class, Commands\ControllerMakeCommand::class, Commands\ChannelMakeCommand::class, Commands\DisableCommand::class, Commands\DumpCommand::class, Commands\EnableCommand::class, Commands\EventMakeCommand::class, Commands\FactoryMakeCommand::class, Commands\JobMakeCommand::class, Commands\ListenerMakeCommand::class, Commands\MailMakeCommand::class, Commands\MiddlewareMakeCommand::class, Commands\NotificationMakeCommand::class, Commands\ObserverMakeCommand::class, Commands\PolicyMakeCommand::class, Commands\ProviderMakeCommand::class, Commands\InstallCommand::class, Commands\LaravelModulesV6Migrator::class, Commands\ListCommand::class, Commands\ModuleDeleteCommand::class, Commands\ModuleMakeCommand::class, Commands\MigrateCommand::class, Commands\MigrateFreshCommand::class, Commands\MigrateRefreshCommand::class, Commands\MigrateResetCommand::class, Commands\MigrateRollbackCommand::class, Commands\MigrateStatusCommand::class, Commands\MigrationMakeCommand::class, Commands\ModelMakeCommand::class, Commands\ResourceMakeCommand::class, Commands\RequestMakeCommand::class, Commands\RuleMakeCommand::class, Commands\RouteProviderMakeCommand::class, Commands\PublishCommand::class, Commands\PublishConfigurationCommand::class, Commands\PublishMigrationCommand::class, Commands\PublishTranslationCommand::class, Commands\SeedCommand::class, Commands\SeedMakeCommand::class, Commands\SetupCommand::class, Commands\TestMakeCommand::class, Commands\UnUseCommand::class, Commands\UpdateCommand::class, Commands\UseCommand::class, ], /* |-------------------------------------------------------------------------- | Scan Path |-------------------------------------------------------------------------- | | Here you define which folder will be scanned. By default will scan vendor | directory. This is useful if you host the package in packagist website. | */ 'scan' => [ 'enabled' => false, 'paths' => [ base_path('vendor/*/*'), ], ], /* |-------------------------------------------------------------------------- | Composer File Template |-------------------------------------------------------------------------- | | Here is the config for the composer.json file, generated by this package | */ 'composer' => [ 'vendor' => 'nwidart', 'author' => [ 'name' => 'Nicolas Widart', 'email' => 'n.widart@gmail.com', ], 'composer-output' => false, ], /* |-------------------------------------------------------------------------- | Caching |-------------------------------------------------------------------------- | | Here is the config for setting up the caching feature. | */ 'cache' => [ 'enabled' => false, 'driver' => 'file', 'key' => 'laravel-modules', 'lifetime' => 60, ], /* |-------------------------------------------------------------------------- | Choose what laravel-modules will register as custom namespaces. | Setting one to false will require you to register that part | in your own Service Provider class. |-------------------------------------------------------------------------- */ 'register' => [ 'translations' => true, /** * load files on boot or register method * * Note: boot not compatible with asgardcms * * @example boot|register */ 'files' => 'register', ], /* |-------------------------------------------------------------------------- | Activators |-------------------------------------------------------------------------- | | You can define new types of activators here, file, database, etc. The only | required parameter is 'class'. | The file activator will store the activation status in storage/installed_modules */ 'activators' => [ 'file' => [ 'class' => FileActivator::class, 'statuses-file' => base_path('modules_statuses.json'), 'cache-key' => 'activator.installed', 'cache-lifetime' => 604800, ], ], 'activator' => 'file', ]; payment.php000064400000056003151405220660006737 0ustar00 'zarinpal', /* |-------------------------------------------------------------------------- | List of Drivers |-------------------------------------------------------------------------- | | These are the list of drivers to use for this package. | You can change the name. Then you'll have to change | it in the map array too. | */ 'drivers' => [ 'local' => [ 'callbackUrl' => '/callback', 'title' => 'درگاه پرداخت تست', 'description' => 'این درگاه *صرفا* برای تست صحت روند پرداخت و لغو پرداخت میباشد', 'orderLabel' => 'شماره سفارش', 'amountLabel' => 'مبلغ قابل پرداخت', 'payButton' => 'پرداخت موفق', 'cancelButton' => 'پرداخت ناموفق', ], 'fanavacard' => [ 'baseUri' => 'https://fcp.shaparak.ir', 'apiPaymentUrl' => '_ipgw_//payment/', 'apiPurchaseUrl' => 'ref-payment/RestServices/mts/generateTokenWithNoSign/', 'apiVerificationUrl' => 'ref-payment/RestServices/mts/verifyMerchantTrans/', 'apiReverseAmountUrl' => 'ref-payment/RestServices/mts/reverseMerchantTrans/', 'username' => 'xxxxxxx', 'password' => 'xxxxxxx', 'callbackUrl' => 'http://yoursite.com/path/to', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'atipay' => [ 'atipayTokenUrl' => 'https://mipg.atipay.net/v1/get-token', 'atipayRedirectGatewayUrl' => 'https://mipg.atipay.net/v1/redirect-to-gateway', 'atipayVerifyUrl' => 'https://mipg.atipay.net/v1/verify-payment', 'apikey' => '', 'currency' => 'R', //Can be R, T (Rial, Toman) 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using Atipay', ], 'asanpardakht' => [ 'apiPaymentUrl' => 'https://asan.shaparak.ir', 'apiRestPaymentUrl' => 'https://ipgrest.asanpardakht.ir/v1/', 'username' => '', 'password' => '', 'merchantConfigID' => '', 'currency' => 'T', //Can be R, T (Rial, Toman) 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using asanpardakht', ], 'behpardakht' => [ 'apiPurchaseUrl' => 'https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl', 'apiPaymentUrl' => 'https://bpm.shaparak.ir/pgwchannel/startpay.mellat', 'apiVerificationUrl' => 'https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl', 'terminalId' => '', 'username' => '', 'password' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using behpardakht', 'currency' => 'T', //Can be R, T (Rial, Toman) 'cumulativeDynamicPayStatus' => false, ], 'digipay' => [ 'apiOauthUrl' => 'https://api.mydigipay.com/digipay/api/oauth/token', 'apiPurchaseUrl' => 'https://api.mydigipay.com/digipay/api/businesses/ticket?type=0', 'apiPaymentUrl' => 'https://api.mydigipay.com/digipay/api/purchases/ipg/pay/', 'apiVerificationUrl' => 'https://api.mydigipay.com/digipay/api/purchases/verify/', 'username' => 'username', 'password' => 'password', 'client_id' => '', 'client_secret' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'etebarino' => [ 'apiPurchaseUrl' => 'https://api.etebarino.com/public/merchant/request-payment', 'apiPaymentUrl' => 'https://panel.etebarino.com/gateway/public/ipg', 'apiVerificationUrl' => 'https://api.etebarino.com/public/merchant/verify-payment', 'merchantId' => '', 'terminalId' => '', 'username' => '', 'password' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using etebarino', ], 'idpay' => [ 'apiPurchaseUrl' => 'https://api.idpay.ir/v1.1/payment', 'apiPaymentUrl' => 'https://idpay.ir/p/ws/', 'apiSandboxPaymentUrl' => 'https://idpay.ir/p/ws-sandbox/', 'apiVerificationUrl' => 'https://api.idpay.ir/v1.1/payment/verify', 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using idpay', 'sandbox' => false, // set it to true for test environments 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'irankish' => [ 'apiPurchaseUrl' => 'https://ikc.shaparak.ir/api/v3/tokenization/make', 'apiPaymentUrl' => 'https://ikc.shaparak.ir/iuiv3/IPG/Index/', 'apiVerificationUrl' => 'https://ikc.shaparak.ir/api/v3/confirmation/purchase', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using irankish', 'terminalId' => '', 'password' => '', 'acceptorId' => '', 'pubKey' => '', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'nextpay' => [ 'apiPurchaseUrl' => 'https://nextpay.org/nx/gateway/token', 'apiPaymentUrl' => 'https://nextpay.org/nx/gateway/payment/', 'apiVerificationUrl' => 'https://nextpay.org/nx/gateway/verify', 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using nextpay', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'omidpay' => [ 'apiGenerateTokenUrl' => 'https://ref.sayancard.ir/ref-payment/RestServices/mts/generateTokenWithNoSign/', 'apiPaymentUrl' => 'https://say.shaparak.ir/_ipgw_/MainTemplate/payment/', 'apiVerificationUrl' => 'https://ref.sayancard.ir/ref-payment/RestServices/mts/verifyMerchantTrans/', 'username' => '', 'merchantId' => '', 'password' => '', 'callbackUrl' => '', 'description' => 'payment using omidpay', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'parsian' => [ 'apiPurchaseUrl' => 'https://pec.shaparak.ir/NewIPGServices/Sale/SaleService.asmx?wsdl', 'apiPaymentUrl' => 'https://pec.shaparak.ir/NewIPG/', 'apiVerificationUrl' => 'https://pec.shaparak.ir/NewIPGServices/Confirm/ConfirmService.asmx?wsdl', 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using parsian', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'pasargad' => [ 'apiPaymentUrl' => 'https://pep.shaparak.ir/payment.aspx', 'apiGetToken' => 'https://pep.shaparak.ir/Api/v1/Payment/GetToken', 'apiCheckTransactionUrl' => 'https://pep.shaparak.ir/Api/v1/Payment/CheckTransactionResult', 'apiVerificationUrl' => 'https://pep.shaparak.ir/Api/v1/Payment/VerifyPayment', 'merchantId' => '', 'terminalCode' => '', 'certificate' => '', // can be string (and set certificateType to xml_string) or an xml file path (and set cetificateType to xml_file) 'certificateType' => 'xml_file', // can be: xml_file, xml_string 'callbackUrl' => 'http://yoursite.com/path/to', 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'payir' => [ 'apiPurchaseUrl' => 'https://pay.ir/pg/send', 'apiPaymentUrl' => 'https://pay.ir/pg/', 'apiVerificationUrl' => 'https://pay.ir/pg/verify', 'merchantId' => 'test', // set it to `test` for test environments 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using payir', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'paypal' => [ /* normal api */ 'apiPurchaseUrl' => 'https://www.paypal.com/cgi-bin/webscr', 'apiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/', 'apiVerificationUrl' => 'https://ir.zarinpal.com/pg/services/WebGate/wsdl', /* sandbox api */ 'sandboxApiPurchaseUrl' => 'https://www.sandbox.paypal.com/cgi-bin/webscr', 'sandboxApiPaymentUrl' => 'https://sandbox.zarinpal.com/pg/StartPay/', 'sandboxApiVerificationUrl' => 'https://sandbox.zarinpal.com/pg/services/WebGate/wsdl', 'mode' => 'normal', // can be normal, sandbox 'currency' => '', 'id' => '', // Specify the email of the PayPal Business account 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using paypal', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'payping' => [ 'apiPurchaseUrl' => 'https://api.payping.ir/v2/pay/', 'apiPaymentUrl' => 'https://api.payping.ir/v2/pay/gotoipg/', 'apiVerificationUrl' => 'https://api.payping.ir/v2/pay/verify/', 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using payping', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'paystar' => [ 'apiPurchaseUrl' => 'https://core.paystar.ir/api/pardakht/create/', 'apiPaymentUrl' => 'https://core.paystar.ir/api/pardakht/payment/', 'apiVerificationUrl' => 'https://core.paystar.ir/api/pardakht/verify/', 'gatewayId' => '', // your gateway id 'signKey' => '', // sign key of your gateway 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using paystar', 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'poolam' => [ 'apiPurchaseUrl' => 'https://poolam.ir/invoice/request/', 'apiPaymentUrl' => 'https://poolam.ir/invoice/pay/', 'apiVerificationUrl' => 'https://poolam.ir/invoice/check/', 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using poolam', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'sadad' => [ 'apiPaymentByMultiIdentityUrl' => 'https://sadad.shaparak.ir/VPG/api/v0/PaymentByMultiIdentityRequest', 'apiPaymentByIdentityUrl' => 'https://sadad.shaparak.ir/api/v0/PaymentByIdentity/PaymentRequest', 'apiPaymentUrl' => 'https://sadad.shaparak.ir/api/v0/Request/PaymentRequest', 'apiPurchaseUrl' => 'https://sadad.shaparak.ir/Purchase', 'apiVerificationUrl' => 'https://sadad.shaparak.ir/VPG/api/v0/Advice/Verify', 'key' => '', 'merchantId' => '', 'terminalId' => '', 'callbackUrl' => '', 'currency' => 'T', //Can be R, T (Rial, Toman) 'mode' => 'normal', // can be normal, PaymentByIdentity, PaymentByMultiIdentity, 'PaymentIdentity' => '', 'MultiIdentityRows' => [ [ "IbanNumber" => '', // Sheba number (with IR) "Amount" => 0, "PaymentIdentity" => '', ], ], 'description' => 'payment using sadad', ], 'saman' => [ 'apiPurchaseUrl' => 'https://sep.shaparak.ir/Payments/InitPayment.asmx?WSDL', 'apiPaymentUrl' => 'https://sep.shaparak.ir/payment.aspx', 'apiVerificationUrl' => 'https://sep.shaparak.ir/payments/referencepayment.asmx?WSDL', 'merchantId' => '', 'callbackUrl' => '', 'description' => 'payment using saman', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'sep' => [ 'apiGetToken' => 'https://sep.shaparak.ir/onlinepg/onlinepg', 'apiPaymentUrl' => 'https://sep.shaparak.ir/OnlinePG/OnlinePG', 'apiVerificationUrl' => 'https://sep.shaparak.ir/verifyTxnRandomSessionkey/ipg/VerifyTransaction', 'terminalId' => '', 'callbackUrl' => '', 'description' => 'Saman Electronic Payment for Saderat & Keshavarzi', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'sepehr' => [ 'apiGetToken' => 'https://mabna.shaparak.ir:8081/V1/PeymentApi/GetToken', 'apiPaymentUrl' => 'https://mabna.shaparak.ir:8080/pay', 'apiVerificationUrl' => 'https://mabna.shaparak.ir:8081/V1/PeymentApi/Advice', 'terminalId' => '', 'callbackUrl' => '', 'description' => 'payment using sepehr(saderat)', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'walleta' => [ 'apiPurchaseUrl' => 'https://cpg.walleta.ir/payment/request.json', 'apiPaymentUrl' => 'https://cpg.walleta.ir/ticket/', 'apiVerificationUrl' => 'https://cpg.walleta.ir/payment/verify.json', 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using walleta', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'yekpay' => [ 'apiPurchaseUrl' => 'https://gate.yekpay.com/api/payment/server?wsdl', 'apiPaymentUrl' => 'https://gate.yekpay.com/api/payment/start/', 'apiVerificationUrl' => 'https://gate.yekpay.com/api/payment/server?wsdl', 'fromCurrencyCode' => 978, 'toCurrencyCode' => 364, 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using yekpay', ], 'zarinpal' => [ /* normal api */ 'apiPurchaseUrl' => 'https://api.zarinpal.com/pg/v4/payment/request.json', 'apiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/', 'apiVerificationUrl' => 'https://api.zarinpal.com/pg/v4/payment/verify.json', /* sandbox api */ 'sandboxApiPurchaseUrl' => 'https://sandbox.zarinpal.com/pg/services/WebGate/wsdl', 'sandboxApiPaymentUrl' => 'https://sandbox.zarinpal.com/pg/StartPay/', 'sandboxApiVerificationUrl' => 'https://sandbox.zarinpal.com/pg/services/WebGate/wsdl', /* zarinGate api */ 'zaringateApiPurchaseUrl' => 'https://ir.zarinpal.com/pg/services/WebGate/wsdl', 'zaringateApiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/:authority/ZarinGate', 'zaringateApiVerificationUrl' => 'https://ir.zarinpal.com/pg/services/WebGate/wsdl', 'mode' => 'sandbox', // can be normal, sandbox, zaringate 'merchantId' => 'wefwefwefwe', 'callbackUrl' => 'https://amincheraghifar.ir/en/verify/token', 'description' => 'payment using zarinpal', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'zibal' => [ /* normal api */ 'apiPurchaseUrl' => 'https://gateway.zibal.ir/v1/request', 'apiPaymentUrl' => 'https://gateway.zibal.ir/start/', 'apiVerificationUrl' => 'https://gateway.zibal.ir/v1/verify', 'mode' => 'normal', // can be normal, direct 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using zibal', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'sepordeh' => [ 'apiPurchaseUrl' => 'https://sepordeh.com/merchant/invoices/add', 'apiPaymentUrl' => 'https://sepordeh.com/merchant/invoices/pay/id:', 'apiDirectPaymentUrl' => 'https://sepordeh.com/merchant/invoices/pay/automatic:true/id:', 'apiVerificationUrl' => 'https://sepordeh.com/merchant/invoices/verify', 'mode' => 'normal', // can be normal, direct 'merchantId' => '', 'callbackUrl' => 'http://yoursite.com/path/to', 'description' => 'payment using sepordeh', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'rayanpay' => [ 'apiPurchaseUrl' => 'https://bpm.shaparak.ir/pgwchannel/startpay.mellat', 'apiTokenUrl' => 'https://pms.rayanpay.com/api/v1/auth/token/generate', 'apiPayStart' => 'https://pms.rayanpay.com/api/v1/ipg/payment/start', 'apiPayVerify' => 'https://pms.rayanpay.com/api/v1/ipg/payment/response/parse', 'username' => '', 'client_id' => '', 'password' => '', 'callbackUrl' => '', 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'sizpay' => [ 'apiPurchaseUrl' => 'https://rt.sizpay.ir/KimiaIPGRouteService.asmx?WSDL', 'apiPaymentUrl' => 'https://rt.sizpay.ir/Route/Payment', 'apiVerificationUrl' => 'https://rt.sizpay.ir/KimiaIPGRouteService.asmx?WSDL', 'merchantId' => '', 'terminal' => '', 'username' => '', 'password' => '', 'SignData' => '', 'callbackUrl' => '', 'currency' => 'R', //Can be R, T (Rial, Toman) ], 'vandar' => [ 'apiPurchaseUrl' => 'https://ipg.vandar.io/api/v3/send', 'apiPaymentUrl' => 'https://ipg.vandar.io/v3/', 'apiVerificationUrl' => 'https://ipg.vandar.io/api/v3/verify', 'callbackUrl' => '', 'merchantId' => '', 'description' => 'payment using Vandar', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'aqayepardakht' => [ 'apiPurchaseUrl' => 'https://panel.aqayepardakht.ir/api/v2/create', 'apiPaymentUrl' => 'https://panel.aqayepardakht.ir/startpay/', 'apiPaymentUrlSandbox' => 'https://panel.aqayepardakht.ir/startpay/sandbox/', 'apiVerificationUrl' => 'https://panel.aqayepardakht.ir/api/v2/verify', 'mode' => 'normal', //normal | sandbox 'callbackUrl' => '', 'pin' => '', 'invoice_id' => '', 'mobile' => '', 'email' => '', 'description' => 'payment using Aqayepardakht', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'azki' => [ 'apiPaymentUrl' => 'https://api.azkivam.com', 'callbackUrl' => 'http://yoursite.com/path/to', 'fallbackUrl' => 'http://yoursite.com/path/to', 'merchantId' => '', 'key' => '', 'currency' => 'T', //Can be R, T (Rial, Toman) 'description' => 'payment using azki', ], 'payfa' => [ 'apiPurchaseUrl' => 'https://payment.payfa.com/v2/api/Transaction/Request', 'apiPaymentUrl' => 'https://payment.payfa.ir/v2/api/Transaction/Pay/', 'apiVerificationUrl' => 'https://payment.payfa.com/v2/api/Transaction/Verify/', 'callbackUrl' => '', 'apiKey' => '', 'currency' => 'T', //Can be R, T (Rial, Toman) ], 'toman' => [ 'base_url' => 'https://escrow-api.toman.ir/api/v1', 'shop_slug' => '', 'auth_code' => '', 'data' => '' ], 'bitpay' => [ 'apiPurchaseUrl' => 'https://bitpay.ir/payment/gateway-send', 'apiPaymentUrl' => 'https://bitpay.ir/payment/gateway-{id_get}-get', 'apiVerificationUrl' => 'https://bitpay.ir/payment/gateway-result-second', 'callbackUrl' => '', 'api_token' => '', 'description' => 'payment using Bitpay', 'currency' => 'R', //Can be R, T (Rial, Toman) ], ], /* |-------------------------------------------------------------------------- | Class Maps |-------------------------------------------------------------------------- | | This is the array of Classes that maps to Drivers above. | You can create your own driver if you like and add the | config in the drivers array and the class to use for | here with the same name. You will have to extend | Shetabit\Multipay\Abstracts\Driver in your driver. | */ 'map' => [ 'local' => \Shetabit\Multipay\Drivers\Local\Local::class, 'fanavacard' => \Shetabit\Multipay\Drivers\Fanavacard\Fanavacard::class, 'asanpardakht' => \Shetabit\Multipay\Drivers\Asanpardakht\Asanpardakht::class, 'atipay' => \Shetabit\Multipay\Drivers\Atipay\Atipay::class, 'behpardakht' => \Shetabit\Multipay\Drivers\Behpardakht\Behpardakht::class, 'digipay' => \Shetabit\Multipay\Drivers\Digipay\Digipay::class, 'etebarino' => \Shetabit\Multipay\Drivers\Etebarino\Etebarino::class, 'idpay' => \Shetabit\Multipay\Drivers\Idpay\Idpay::class, 'irankish' => \Shetabit\Multipay\Drivers\Irankish\Irankish::class, 'nextpay' => \Shetabit\Multipay\Drivers\Nextpay\Nextpay::class, 'omidpay' => \Shetabit\Multipay\Drivers\Omidpay\Omidpay::class, 'parsian' => \Shetabit\Multipay\Drivers\Parsian\Parsian::class, 'pasargad' => \Shetabit\Multipay\Drivers\Pasargad\Pasargad::class, 'payir' => \Shetabit\Multipay\Drivers\Payir\Payir::class, 'paypal' => \Shetabit\Multipay\Drivers\Paypal\Paypal::class, 'payping' => \Shetabit\Multipay\Drivers\Payping\Payping::class, 'paystar' => \Shetabit\Multipay\Drivers\Paystar\Paystar::class, 'poolam' => \Shetabit\Multipay\Drivers\Poolam\Poolam::class, 'sadad' => \Shetabit\Multipay\Drivers\Sadad\Sadad::class, 'saman' => \Shetabit\Multipay\Drivers\Saman\Saman::class, 'sep' => \Shetabit\Multipay\Drivers\SEP\SEP::class, 'sepehr' => \Shetabit\Multipay\Drivers\Sepehr\Sepehr::class, 'walleta' => \Shetabit\Multipay\Drivers\Walleta\Walleta::class, 'yekpay' => \Shetabit\Multipay\Drivers\Yekpay\Yekpay::class, 'zarinpal' => \Shetabit\Multipay\Drivers\Zarinpal\Zarinpal::class, 'zibal' => \Shetabit\Multipay\Drivers\Zibal\Zibal::class, 'sepordeh' => \Shetabit\Multipay\Drivers\Sepordeh\Sepordeh::class, 'rayanpay' => \Shetabit\Multipay\Drivers\Rayanpay\Rayanpay::class, 'sizpay' => \Shetabit\Multipay\Drivers\Sizpay\Sizpay::class, 'vandar' => \Shetabit\Multipay\Drivers\Vandar\Vandar::class, 'aqayepardakht' => \Shetabit\Multipay\Drivers\Aqayepardakht\Aqayepardakht::class, 'azki' => \Shetabit\Multipay\Drivers\Azki\Azki::class, 'payfa' => \Shetabit\Multipay\Drivers\Payfa\Payfa::class, 'toman' => \Shetabit\Multipay\Drivers\Toman\Toman::class, 'bitpay' => \Shetabit\Multipay\Drivers\Bitpay\Bitpay::class, ] ]; queue.php000064400000006567151405220660006420 0ustar00 env('QUEUE_CONNECTION', 'sync'), /* |-------------------------------------------------------------------------- | 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 Laravel. You are free to add more. | | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" | */ 'connections' => [ 'sync' => [ 'driver' => 'sync', ], 'database' => [ 'driver' => 'database', 'table' => 'jobs', 'queue' => 'default', 'retry_after' => 90, 'after_commit' => false, ], 'beanstalkd' => [ 'driver' => 'beanstalkd', 'host' => 'localhost', 'queue' => 'default', 'retry_after' => 90, 'block_for' => 0, 'after_commit' => false, ], 'sqs' => [ 'driver' => 'sqs', 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), 'queue' => env('SQS_QUEUE', 'default'), 'suffix' => env('SQS_SUFFIX'), 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 'after_commit' => false, ], 'redis' => [ 'driver' => 'redis', 'connection' => 'default', 'queue' => env('REDIS_QUEUE', 'default'), 'retry_after' => 90, 'block_for' => null, 'after_commit' => false, ], ], /* |-------------------------------------------------------------------------- | Job Batching |-------------------------------------------------------------------------- | | The following options configure the database and table that store job | batching information. These options can be updated to any database | connection and table which has been defined by your application. | */ 'batching' => [ 'database' => env('DB_CONNECTION', 'mysql'), 'table' => 'job_batches', ], /* |-------------------------------------------------------------------------- | 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' => [ 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), 'database' => env('DB_CONNECTION', 'mysql'), 'table' => 'failed_jobs', ], ]; sanctum.php000064400000005623151405220660006736 0ustar00 explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf( '%s%s', 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1', Sanctum::currentApplicationUrlWithPort() ))), /* |-------------------------------------------------------------------------- | Sanctum Guards |-------------------------------------------------------------------------- | | This array contains the authentication guards that will be checked when | Sanctum is trying to authenticate a request. If none of these guards | are able to authenticate the request, Sanctum will use the bearer | token that's present on an incoming request for authentication. | */ 'guard' => ['web'], /* |-------------------------------------------------------------------------- | Expiration Minutes |-------------------------------------------------------------------------- | | This value controls the number of minutes until an issued token will be | considered expired. This will override any values set in the token's | "expires_at" attribute, but first-party sessions are not affected. | */ 'expiration' => null, /* |-------------------------------------------------------------------------- | Token Prefix |-------------------------------------------------------------------------- | | Sanctum can prefix new tokens in order to take advantage of numerous | security scanning initiatives maintained by open source platforms | that notify developers if they commit tokens into repositories. | | See: https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning | */ 'token_prefix' => env('SANCTUM_TOKEN_PREFIX', ''), /* |-------------------------------------------------------------------------- | Sanctum Middleware |-------------------------------------------------------------------------- | | When authenticating your first-party SPA with Sanctum you may need to | customize some of the middleware Sanctum uses while processing the | request. You may change the middleware listed below as required. | */ 'middleware' => [ 'authenticate_session' => Laravel\Sanctum\Http\Middleware\AuthenticateSession::class, 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class, 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class, ], ]; services.php000064400000001723151405220660007104 0ustar00 [ 'domain' => env('MAILGUN_DOMAIN'), 'secret' => env('MAILGUN_SECRET'), 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), 'scheme' => 'https', ], 'postmark' => [ 'token' => env('POSTMARK_TOKEN'), ], 'ses' => [ 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), ], ]; session.php000064400000015557151405220660006756 0ustar00 env('SESSION_DRIVER', 'file'), /* |-------------------------------------------------------------------------- | Session Lifetime |-------------------------------------------------------------------------- | | Here you may specify the number of minutes that you wish the session | to be allowed to remain idle before it expires. If you want them | to immediately expire on the browser closing, set that option. | */ 'lifetime' => env('SESSION_LIFETIME', 120), 'expire_on_close' => false, /* |-------------------------------------------------------------------------- | Session Encryption |-------------------------------------------------------------------------- | | This option allows you to easily specify that all of your session data | should be encrypted before it is stored. All encryption will be run | automatically by Laravel and you can use the Session like normal. | */ 'encrypt' => false, /* |-------------------------------------------------------------------------- | Session File Location |-------------------------------------------------------------------------- | | When using the native session driver, we need a location where session | files may be stored. A default has been set for you but a different | location may be specified. This is only needed for file sessions. | */ 'files' => storage_path('framework/sessions'), /* |-------------------------------------------------------------------------- | Session Database Connection |-------------------------------------------------------------------------- | | When using the "database" or "redis" session drivers, you may specify a | connection that should be used to manage these sessions. This should | correspond to a connection in your database configuration options. | */ 'connection' => env('SESSION_CONNECTION'), /* |-------------------------------------------------------------------------- | Session Database Table |-------------------------------------------------------------------------- | | When using the "database" session driver, you may specify the table we | should use to manage the sessions. Of course, a sensible default is | provided for you; however, you are free to change this as needed. | */ 'table' => 'sessions', /* |-------------------------------------------------------------------------- | Session Cache Store |-------------------------------------------------------------------------- | | While using one of the framework's cache driven session backends you may | list a cache store that should be used for these sessions. This value | must match with one of the application's configured cache "stores". | | Affects: "apc", "dynamodb", "memcached", "redis" | */ 'store' => env('SESSION_STORE'), /* |-------------------------------------------------------------------------- | Session Sweeping Lottery |-------------------------------------------------------------------------- | | Some session drivers must manually sweep their storage location to get | rid of old sessions from storage. Here are the chances that it will | happen on a given request. By default, the odds are 2 out of 100. | */ 'lottery' => [2, 100], /* |-------------------------------------------------------------------------- | Session Cookie Name |-------------------------------------------------------------------------- | | Here you may change the name of the cookie used to identify a session | instance by ID. The name specified here will get used every time a | new session cookie is created by the framework for every driver. | */ 'cookie' => env( 'SESSION_COOKIE', Str::slug(env('APP_NAME', 'laravel'), '_').'_session' ), /* |-------------------------------------------------------------------------- | Session Cookie Path |-------------------------------------------------------------------------- | | The session cookie path determines the path for which the cookie will | be regarded as available. Typically, this will be the root path of | your application but you are free to change this when necessary. | */ 'path' => '/', /* |-------------------------------------------------------------------------- | Session Cookie Domain |-------------------------------------------------------------------------- | | Here you may change the domain of the cookie used to identify a session | in your application. This will determine which domains the cookie is | available to in your application. A sensible default has been set. | */ 'domain' => env('SESSION_DOMAIN'), /* |-------------------------------------------------------------------------- | HTTPS Only Cookies |-------------------------------------------------------------------------- | | By setting this option to true, session cookies will only be sent back | to the server if the browser has a HTTPS connection. This will keep | the cookie from being sent to you when it can't be done securely. | */ 'secure' => env('SESSION_SECURE_COOKIE'), /* |-------------------------------------------------------------------------- | HTTP Access Only |-------------------------------------------------------------------------- | | Setting this value to true will prevent JavaScript from accessing the | value of the cookie and the cookie will only be accessible through | the HTTP protocol. You are free to modify this option if needed. | */ 'http_only' => true, /* |-------------------------------------------------------------------------- | Same-Site Cookies |-------------------------------------------------------------------------- | | This option determines how your cookies behave when cross-site requests | take place, and can be used to mitigate CSRF attacks. By default, we | will set this value to "lax" since this is a secure default value. | | Supported: "lax", "strict", "none", null | */ 'same_site' => 'lax', ]; telescope.php000064400000015171151405220660007246 0ustar00 env('TELESCOPE_ENABLED', true), /* |-------------------------------------------------------------------------- | Telescope Domain |-------------------------------------------------------------------------- | | This is the subdomain where Telescope will be accessible from. If the | setting is null, Telescope will reside under the same domain as the | application. Otherwise, this value will be used as the subdomain. | */ 'domain' => env('TELESCOPE_DOMAIN'), /* |-------------------------------------------------------------------------- | Telescope Path |-------------------------------------------------------------------------- | | This is the URI path where Telescope will be accessible from. Feel free | to change this path to anything you like. Note that the URI will not | affect the paths of its internal API that aren't exposed to users. | */ 'path' => env('TELESCOPE_PATH', 'telescope'), /* |-------------------------------------------------------------------------- | Telescope Storage Driver |-------------------------------------------------------------------------- | | This configuration options determines the storage driver that will | be used to store Telescope's data. In addition, you may set any | custom options as needed by the particular driver you choose. | */ 'driver' => env('TELESCOPE_DRIVER', 'database'), 'storage' => [ 'database' => [ 'connection' => env('DB_CONNECTION', 'mysql'), 'chunk' => 1000, ], ], /* |-------------------------------------------------------------------------- | Telescope Queue |-------------------------------------------------------------------------- | | This configuration options determines the queue connection and queue | which will be used to process ProcessPendingUpdate jobs. This can | be changed if you would prefer to use a non-default connection. | */ 'queue' => [ 'connection' => env('TELESCOPE_QUEUE_CONNECTION', null), 'queue' => env('TELESCOPE_QUEUE', null), ], /* |-------------------------------------------------------------------------- | Telescope Route Middleware |-------------------------------------------------------------------------- | | These middleware will be assigned to every Telescope route, giving you | the chance to add your own middleware to this list or change any of | the existing middleware. Or, you can simply stick with this list. | */ 'middleware' => [ 'web', // Authorize::class, ], /* |-------------------------------------------------------------------------- | Allowed / Ignored Paths & Commands |-------------------------------------------------------------------------- | | The following array lists the URI paths and Artisan commands that will | not be watched by Telescope. In addition to this list, some Laravel | commands, like migrations and queue commands, are always ignored. | */ 'only_paths' => [ // 'api/*' ], 'ignore_paths' => [ 'livewire*', 'nova-api*', 'pulse*', ], 'ignore_commands' => [ // ], /* |-------------------------------------------------------------------------- | Telescope Watchers |-------------------------------------------------------------------------- | | The following array lists the "watchers" that will be registered with | Telescope. The watchers gather the application's profile data when | a request or task is executed. Feel free to customize this list. | */ 'watchers' => [ Watchers\BatchWatcher::class => env('TELESCOPE_BATCH_WATCHER', true), Watchers\CacheWatcher::class => [ 'enabled' => env('TELESCOPE_CACHE_WATCHER', true), 'hidden' => [], ], Watchers\ClientRequestWatcher::class => env('TELESCOPE_CLIENT_REQUEST_WATCHER', true), Watchers\CommandWatcher::class => [ 'enabled' => env('TELESCOPE_COMMAND_WATCHER', true), 'ignore' => [], ], Watchers\DumpWatcher::class => [ 'enabled' => env('TELESCOPE_DUMP_WATCHER', true), 'always' => env('TELESCOPE_DUMP_WATCHER_ALWAYS', false), ], Watchers\EventWatcher::class => [ 'enabled' => env('TELESCOPE_EVENT_WATCHER', true), 'ignore' => [], ], Watchers\ExceptionWatcher::class => env('TELESCOPE_EXCEPTION_WATCHER', true), Watchers\GateWatcher::class => [ 'enabled' => env('TELESCOPE_GATE_WATCHER', true), 'ignore_abilities' => [], 'ignore_packages' => true, 'ignore_paths' => [], ], Watchers\JobWatcher::class => env('TELESCOPE_JOB_WATCHER', true), Watchers\LogWatcher::class => [ 'enabled' => env('TELESCOPE_LOG_WATCHER', true), 'level' => 'error', ], Watchers\MailWatcher::class => env('TELESCOPE_MAIL_WATCHER', true), Watchers\ModelWatcher::class => [ 'enabled' => env('TELESCOPE_MODEL_WATCHER', true), 'events' => ['eloquent.*'], 'hydrations' => true, ], Watchers\NotificationWatcher::class => env('TELESCOPE_NOTIFICATION_WATCHER', true), Watchers\QueryWatcher::class => [ 'enabled' => env('TELESCOPE_QUERY_WATCHER', true), 'ignore_packages' => true, 'ignore_paths' => [], 'slow' => 100, ], Watchers\RedisWatcher::class => env('TELESCOPE_REDIS_WATCHER', true), Watchers\RequestWatcher::class => [ 'enabled' => env('TELESCOPE_REQUEST_WATCHER', true), 'size_limit' => env('TELESCOPE_RESPONSE_SIZE_LIMIT', 64), 'ignore_http_methods' => [], 'ignore_status_codes' => [], ], Watchers\ScheduleWatcher::class => env('TELESCOPE_SCHEDULE_WATCHER', true), Watchers\ViewWatcher::class => env('TELESCOPE_VIEW_WATCHER', true), ], ]; view.php000064400000002035151405220660006230 0ustar00 [ resource_path('views'), ], /* |-------------------------------------------------------------------------- | Compiled View Path |-------------------------------------------------------------------------- | | This option determines where all the compiled Blade templates will be | stored for your application. Typically, this is within the storage | directory. However, as usual, you are free to change this value. | */ 'compiled' => env( 'VIEW_COMPILED_PATH', realpath(storage_path('framework/views')) ), ];