67 |
68 |
69 |
141 |
142 |
227 |
--------------------------------------------------------------------------------
/config/session.php:
--------------------------------------------------------------------------------
1 | env('SESSION_DRIVER', 'file'),
22 |
23 | /*
24 | |--------------------------------------------------------------------------
25 | | Session Lifetime
26 | |--------------------------------------------------------------------------
27 | |
28 | | Here you may specify the number of minutes that you wish the session
29 | | to be allowed to remain idle before it expires. If you want them
30 | | to immediately expire on the browser closing, set that option.
31 | |
32 | */
33 |
34 | 'lifetime' => env('SESSION_LIFETIME', 120),
35 |
36 | 'expire_on_close' => false,
37 |
38 | /*
39 | |--------------------------------------------------------------------------
40 | | Session Encryption
41 | |--------------------------------------------------------------------------
42 | |
43 | | This option allows you to easily specify that all of your session data
44 | | should be encrypted before it is stored. All encryption will be run
45 | | automatically by Laravel and you can use the Session like normal.
46 | |
47 | */
48 |
49 | 'encrypt' => false,
50 |
51 | /*
52 | |--------------------------------------------------------------------------
53 | | Session File Location
54 | |--------------------------------------------------------------------------
55 | |
56 | | When using the native session driver, we need a location where session
57 | | files may be stored. A default has been set for you but a different
58 | | location may be specified. This is only needed for file sessions.
59 | |
60 | */
61 |
62 | 'files' => storage_path('framework/sessions'),
63 |
64 | /*
65 | |--------------------------------------------------------------------------
66 | | Session Database Connection
67 | |--------------------------------------------------------------------------
68 | |
69 | | When using the "database" or "redis" session drivers, you may specify a
70 | | connection that should be used to manage these sessions. This should
71 | | correspond to a connection in your database configuration options.
72 | |
73 | */
74 |
75 | 'connection' => env('SESSION_CONNECTION'),
76 |
77 | /*
78 | |--------------------------------------------------------------------------
79 | | Session Database Table
80 | |--------------------------------------------------------------------------
81 | |
82 | | When using the "database" session driver, you may specify the table we
83 | | should use to manage the sessions. Of course, a sensible default is
84 | | provided for you; however, you are free to change this as needed.
85 | |
86 | */
87 |
88 | 'table' => 'sessions',
89 |
90 | /*
91 | |--------------------------------------------------------------------------
92 | | Session Cache Store
93 | |--------------------------------------------------------------------------
94 | |
95 | | While using one of the framework's cache driven session backends you may
96 | | list a cache store that should be used for these sessions. This value
97 | | must match with one of the application's configured cache "stores".
98 | |
99 | | Affects: "apc", "dynamodb", "memcached", "redis"
100 | |
101 | */
102 |
103 | 'store' => env('SESSION_STORE'),
104 |
105 | /*
106 | |--------------------------------------------------------------------------
107 | | Session Sweeping Lottery
108 | |--------------------------------------------------------------------------
109 | |
110 | | Some session drivers must manually sweep their storage location to get
111 | | rid of old sessions from storage. Here are the chances that it will
112 | | happen on a given request. By default, the odds are 2 out of 100.
113 | |
114 | */
115 |
116 | 'lottery' => [2, 100],
117 |
118 | /*
119 | |--------------------------------------------------------------------------
120 | | Session Cookie Name
121 | |--------------------------------------------------------------------------
122 | |
123 | | Here you may change the name of the cookie used to identify a session
124 | | instance by ID. The name specified here will get used every time a
125 | | new session cookie is created by the framework for every driver.
126 | |
127 | */
128 |
129 | 'cookie' => env(
130 | 'SESSION_COOKIE',
131 | Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
132 | ),
133 |
134 | /*
135 | |--------------------------------------------------------------------------
136 | | Session Cookie Path
137 | |--------------------------------------------------------------------------
138 | |
139 | | The session cookie path determines the path for which the cookie will
140 | | be regarded as available. Typically, this will be the root path of
141 | | your application but you are free to change this when necessary.
142 | |
143 | */
144 |
145 | 'path' => '/',
146 |
147 | /*
148 | |--------------------------------------------------------------------------
149 | | Session Cookie Domain
150 | |--------------------------------------------------------------------------
151 | |
152 | | Here you may change the domain of the cookie used to identify a session
153 | | in your application. This will determine which domains the cookie is
154 | | available to in your application. A sensible default has been set.
155 | |
156 | */
157 |
158 | 'domain' => env('SESSION_DOMAIN'),
159 |
160 | /*
161 | |--------------------------------------------------------------------------
162 | | HTTPS Only Cookies
163 | |--------------------------------------------------------------------------
164 | |
165 | | By setting this option to true, session cookies will only be sent back
166 | | to the server if the browser has a HTTPS connection. This will keep
167 | | the cookie from being sent to you when it can't be done securely.
168 | |
169 | */
170 |
171 | 'secure' => env('SESSION_SECURE_COOKIE'),
172 |
173 | /*
174 | |--------------------------------------------------------------------------
175 | | HTTP Access Only
176 | |--------------------------------------------------------------------------
177 | |
178 | | Setting this value to true will prevent JavaScript from accessing the
179 | | value of the cookie and the cookie will only be accessible through
180 | | the HTTP protocol. You are free to modify this option if needed.
181 | |
182 | */
183 |
184 | 'http_only' => true,
185 |
186 | /*
187 | |--------------------------------------------------------------------------
188 | | Same-Site Cookies
189 | |--------------------------------------------------------------------------
190 | |
191 | | This option determines how your cookies behave when cross-site requests
192 | | take place, and can be used to mitigate CSRF attacks. By default, we
193 | | will set this value to "lax" since this is a secure default value.
194 | |
195 | | Supported: "lax", "strict", "none", null
196 | |
197 | */
198 |
199 | 'same_site' => 'lax',
200 |
201 | ];
202 |
--------------------------------------------------------------------------------
/config/app.php:
--------------------------------------------------------------------------------
1 | env('APP_NAME', 'Laravel'),
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Application Environment
23 | |--------------------------------------------------------------------------
24 | |
25 | | This value determines the "environment" your application is currently
26 | | running in. This may determine how you prefer to configure various
27 | | services the application utilizes. Set this in your ".env" file.
28 | |
29 | */
30 |
31 | 'env' => env('APP_ENV', 'production'),
32 |
33 | /*
34 | |--------------------------------------------------------------------------
35 | | Application Debug Mode
36 | |--------------------------------------------------------------------------
37 | |
38 | | When your application is in debug mode, detailed error messages with
39 | | stack traces will be shown on every error that occurs within your
40 | | application. If disabled, a simple generic error page is shown.
41 | |
42 | */
43 |
44 | 'debug' => (bool) env('APP_DEBUG', false),
45 |
46 | /*
47 | |--------------------------------------------------------------------------
48 | | Application URL
49 | |--------------------------------------------------------------------------
50 | |
51 | | This URL is used by the console to properly generate URLs when using
52 | | the Artisan command line tool. You should set this to the root of
53 | | your application so that it is used when running Artisan tasks.
54 | |
55 | */
56 |
57 | 'url' => env('APP_URL', 'http://localhost'),
58 |
59 | 'asset_url' => env('ASSET_URL'),
60 |
61 | /*
62 | |--------------------------------------------------------------------------
63 | | Application Timezone
64 | |--------------------------------------------------------------------------
65 | |
66 | | Here you may specify the default timezone for your application, which
67 | | will be used by the PHP date and date-time functions. We have gone
68 | | ahead and set this to a sensible default for you out of the box.
69 | |
70 | */
71 |
72 | 'timezone' => 'UTC',
73 |
74 | /*
75 | |--------------------------------------------------------------------------
76 | | Application Locale Configuration
77 | |--------------------------------------------------------------------------
78 | |
79 | | The application locale determines the default locale that will be used
80 | | by the translation service provider. You are free to set this value
81 | | to any of the locales which will be supported by the application.
82 | |
83 | */
84 |
85 | 'locale' => 'en',
86 |
87 | /*
88 | |--------------------------------------------------------------------------
89 | | Application Fallback Locale
90 | |--------------------------------------------------------------------------
91 | |
92 | | The fallback locale determines the locale to use when the current one
93 | | is not available. You may change the value to correspond to any of
94 | | the language folders that are provided through your application.
95 | |
96 | */
97 |
98 | 'fallback_locale' => 'en',
99 |
100 | /*
101 | |--------------------------------------------------------------------------
102 | | Faker Locale
103 | |--------------------------------------------------------------------------
104 | |
105 | | This locale will be used by the Faker PHP library when generating fake
106 | | data for your database seeds. For example, this will be used to get
107 | | localized telephone numbers, street address information and more.
108 | |
109 | */
110 |
111 | 'faker_locale' => 'en_US',
112 |
113 | /*
114 | |--------------------------------------------------------------------------
115 | | Encryption Key
116 | |--------------------------------------------------------------------------
117 | |
118 | | This key is used by the Illuminate encrypter service and should be set
119 | | to a random, 32 character string, otherwise these encrypted strings
120 | | will not be safe. Please do this before deploying an application!
121 | |
122 | */
123 |
124 | 'key' => env('APP_KEY'),
125 |
126 | 'cipher' => 'AES-256-CBC',
127 |
128 | /*
129 | |--------------------------------------------------------------------------
130 | | Maintenance Mode Driver
131 | |--------------------------------------------------------------------------
132 | |
133 | | These configuration options determine the driver used to determine and
134 | | manage Laravel's "maintenance mode" status. The "cache" driver will
135 | | allow maintenance mode to be controlled across multiple machines.
136 | |
137 | | Supported drivers: "file", "cache"
138 | |
139 | */
140 |
141 | 'maintenance' => [
142 | 'driver' => 'file',
143 | // 'store' => 'redis',
144 | ],
145 |
146 | /*
147 | |--------------------------------------------------------------------------
148 | | Autoloaded Service Providers
149 | |--------------------------------------------------------------------------
150 | |
151 | | The service providers listed here will be automatically loaded on the
152 | | request to your application. Feel free to add your own services to
153 | | this array to grant expanded functionality to your applications.
154 | |
155 | */
156 |
157 | 'providers' => [
158 |
159 | /*
160 | * Laravel Framework Service Providers...
161 | */
162 | Illuminate\Auth\AuthServiceProvider::class,
163 | Illuminate\Broadcasting\BroadcastServiceProvider::class,
164 | Illuminate\Bus\BusServiceProvider::class,
165 | Illuminate\Cache\CacheServiceProvider::class,
166 | Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
167 | Illuminate\Cookie\CookieServiceProvider::class,
168 | Illuminate\Database\DatabaseServiceProvider::class,
169 | Illuminate\Encryption\EncryptionServiceProvider::class,
170 | Illuminate\Filesystem\FilesystemServiceProvider::class,
171 | Illuminate\Foundation\Providers\FoundationServiceProvider::class,
172 | Illuminate\Hashing\HashServiceProvider::class,
173 | Illuminate\Mail\MailServiceProvider::class,
174 | Illuminate\Notifications\NotificationServiceProvider::class,
175 | Illuminate\Pagination\PaginationServiceProvider::class,
176 | Illuminate\Pipeline\PipelineServiceProvider::class,
177 | Illuminate\Queue\QueueServiceProvider::class,
178 | Illuminate\Redis\RedisServiceProvider::class,
179 | Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
180 | Illuminate\Session\SessionServiceProvider::class,
181 | Illuminate\Translation\TranslationServiceProvider::class,
182 | Illuminate\Validation\ValidationServiceProvider::class,
183 | Illuminate\View\ViewServiceProvider::class,
184 |
185 | /*
186 | * Package Service Providers...
187 | */
188 |
189 | /*
190 | * Application Service Providers...
191 | */
192 | App\Providers\AppServiceProvider::class,
193 | App\Providers\AuthServiceProvider::class,
194 | // App\Providers\BroadcastServiceProvider::class,
195 | App\Providers\EventServiceProvider::class,
196 | App\Providers\RouteServiceProvider::class,
197 |
198 | ],
199 |
200 | /*
201 | |--------------------------------------------------------------------------
202 | | Class Aliases
203 | |--------------------------------------------------------------------------
204 | |
205 | | This array of class aliases will be registered when this application
206 | | is started. However, feel free to register as many as you wish as
207 | | the aliases are "lazy" loaded so they don't hinder performance.
208 | |
209 | */
210 |
211 | 'aliases' => Facade::defaultAliases()->merge([
212 | // 'ExampleClass' => App\Example\ExampleClass::class,
213 | ])->toArray(),
214 |
215 | ];
216 |
--------------------------------------------------------------------------------
/lang/en/validation.php:
--------------------------------------------------------------------------------
1 | 'The :attribute must be accepted.',
17 | 'accepted_if' => 'The :attribute must be accepted when :other is :value.',
18 | 'active_url' => 'The :attribute is not a valid URL.',
19 | 'after' => 'The :attribute must be a date after :date.',
20 | 'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
21 | 'alpha' => 'The :attribute must only contain letters.',
22 | 'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.',
23 | 'alpha_num' => 'The :attribute must only contain letters and numbers.',
24 | 'array' => 'The :attribute must be an array.',
25 | 'before' => 'The :attribute must be a date before :date.',
26 | 'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
27 | 'between' => [
28 | 'array' => 'The :attribute must have between :min and :max items.',
29 | 'file' => 'The :attribute must be between :min and :max kilobytes.',
30 | 'numeric' => 'The :attribute must be between :min and :max.',
31 | 'string' => 'The :attribute must be between :min and :max characters.',
32 | ],
33 | 'boolean' => 'The :attribute field must be true or false.',
34 | 'confirmed' => 'The :attribute confirmation does not match.',
35 | 'current_password' => 'The password is incorrect.',
36 | 'date' => 'The :attribute is not a valid date.',
37 | 'date_equals' => 'The :attribute must be a date equal to :date.',
38 | 'date_format' => 'The :attribute does not match the format :format.',
39 | 'declined' => 'The :attribute must be declined.',
40 | 'declined_if' => 'The :attribute must be declined when :other is :value.',
41 | 'different' => 'The :attribute and :other must be different.',
42 | 'digits' => 'The :attribute must be :digits digits.',
43 | 'digits_between' => 'The :attribute must be between :min and :max digits.',
44 | 'dimensions' => 'The :attribute has invalid image dimensions.',
45 | 'distinct' => 'The :attribute field has a duplicate value.',
46 | 'doesnt_start_with' => 'The :attribute may not start with one of the following: :values.',
47 | 'email' => 'The :attribute must be a valid email address.',
48 | 'ends_with' => 'The :attribute must end with one of the following: :values.',
49 | 'enum' => 'The selected :attribute is invalid.',
50 | 'exists' => 'The selected :attribute is invalid.',
51 | 'file' => 'The :attribute must be a file.',
52 | 'filled' => 'The :attribute field must have a value.',
53 | 'gt' => [
54 | 'array' => 'The :attribute must have more than :value items.',
55 | 'file' => 'The :attribute must be greater than :value kilobytes.',
56 | 'numeric' => 'The :attribute must be greater than :value.',
57 | 'string' => 'The :attribute must be greater than :value characters.',
58 | ],
59 | 'gte' => [
60 | 'array' => 'The :attribute must have :value items or more.',
61 | 'file' => 'The :attribute must be greater than or equal to :value kilobytes.',
62 | 'numeric' => 'The :attribute must be greater than or equal to :value.',
63 | 'string' => 'The :attribute must be greater than or equal to :value characters.',
64 | ],
65 | 'image' => 'The :attribute must be an image.',
66 | 'in' => 'The selected :attribute is invalid.',
67 | 'in_array' => 'The :attribute field does not exist in :other.',
68 | 'integer' => 'The :attribute must be an integer.',
69 | 'ip' => 'The :attribute must be a valid IP address.',
70 | 'ipv4' => 'The :attribute must be a valid IPv4 address.',
71 | 'ipv6' => 'The :attribute must be a valid IPv6 address.',
72 | 'json' => 'The :attribute must be a valid JSON string.',
73 | 'lt' => [
74 | 'array' => 'The :attribute must have less than :value items.',
75 | 'file' => 'The :attribute must be less than :value kilobytes.',
76 | 'numeric' => 'The :attribute must be less than :value.',
77 | 'string' => 'The :attribute must be less than :value characters.',
78 | ],
79 | 'lte' => [
80 | 'array' => 'The :attribute must not have more than :value items.',
81 | 'file' => 'The :attribute must be less than or equal to :value kilobytes.',
82 | 'numeric' => 'The :attribute must be less than or equal to :value.',
83 | 'string' => 'The :attribute must be less than or equal to :value characters.',
84 | ],
85 | 'mac_address' => 'The :attribute must be a valid MAC address.',
86 | 'max' => [
87 | 'array' => 'The :attribute must not have more than :max items.',
88 | 'file' => 'The :attribute must not be greater than :max kilobytes.',
89 | 'numeric' => 'The :attribute must not be greater than :max.',
90 | 'string' => 'The :attribute must not be greater than :max characters.',
91 | ],
92 | 'mimes' => 'The :attribute must be a file of type: :values.',
93 | 'mimetypes' => 'The :attribute must be a file of type: :values.',
94 | 'min' => [
95 | 'array' => 'The :attribute must have at least :min items.',
96 | 'file' => 'The :attribute must be at least :min kilobytes.',
97 | 'numeric' => 'The :attribute must be at least :min.',
98 | 'string' => 'The :attribute must be at least :min characters.',
99 | ],
100 | 'multiple_of' => 'The :attribute must be a multiple of :value.',
101 | 'not_in' => 'The selected :attribute is invalid.',
102 | 'not_regex' => 'The :attribute format is invalid.',
103 | 'numeric' => 'The :attribute must be a number.',
104 | 'password' => [
105 | 'letters' => 'The :attribute must contain at least one letter.',
106 | 'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.',
107 | 'numbers' => 'The :attribute must contain at least one number.',
108 | 'symbols' => 'The :attribute must contain at least one symbol.',
109 | 'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
110 | ],
111 | 'present' => 'The :attribute field must be present.',
112 | 'prohibited' => 'The :attribute field is prohibited.',
113 | 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
114 | 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
115 | 'prohibits' => 'The :attribute field prohibits :other from being present.',
116 | 'regex' => 'The :attribute format is invalid.',
117 | 'required' => 'The :attribute field is required.',
118 | 'required_array_keys' => 'The :attribute field must contain entries for: :values.',
119 | 'required_if' => 'The :attribute field is required when :other is :value.',
120 | 'required_unless' => 'The :attribute field is required unless :other is in :values.',
121 | 'required_with' => 'The :attribute field is required when :values is present.',
122 | 'required_with_all' => 'The :attribute field is required when :values are present.',
123 | 'required_without' => 'The :attribute field is required when :values is not present.',
124 | 'required_without_all' => 'The :attribute field is required when none of :values are present.',
125 | 'same' => 'The :attribute and :other must match.',
126 | 'size' => [
127 | 'array' => 'The :attribute must contain :size items.',
128 | 'file' => 'The :attribute must be :size kilobytes.',
129 | 'numeric' => 'The :attribute must be :size.',
130 | 'string' => 'The :attribute must be :size characters.',
131 | ],
132 | 'starts_with' => 'The :attribute must start with one of the following: :values.',
133 | 'string' => 'The :attribute must be a string.',
134 | 'timezone' => 'The :attribute must be a valid timezone.',
135 | 'unique' => 'The :attribute has already been taken.',
136 | 'uploaded' => 'The :attribute failed to upload.',
137 | 'url' => 'The :attribute must be a valid URL.',
138 | 'uuid' => 'The :attribute must be a valid UUID.',
139 |
140 | /*
141 | |--------------------------------------------------------------------------
142 | | Custom Validation Language Lines
143 | |--------------------------------------------------------------------------
144 | |
145 | | Here you may specify custom validation messages for attributes using the
146 | | convention "attribute.rule" to name the lines. This makes it quick to
147 | | specify a specific custom language line for a given attribute rule.
148 | |
149 | */
150 |
151 | 'custom' => [
152 | 'attribute-name' => [
153 | 'rule-name' => 'custom-message',
154 | ],
155 | ],
156 |
157 | /*
158 | |--------------------------------------------------------------------------
159 | | Custom Validation Attributes
160 | |--------------------------------------------------------------------------
161 | |
162 | | The following language lines are used to swap our attribute placeholder
163 | | with something more reader friendly such as "E-Mail Address" instead
164 | | of "email". This simply helps us make our message more expressive.
165 | |
166 | */
167 |
168 | 'attributes' => [],
169 |
170 | ];
171 |
--------------------------------------------------------------------------------
/lang/tr/validation.php:
--------------------------------------------------------------------------------
1 | ':attribute kabul edildi.',
26 | 'accepted_if' => ':attribute, :other :value olduğunda kabul edilir.',
27 | 'active_url' => ':attribute geçerli bir URL değil.',
28 | 'after' => ':attribute, :date tarihinden sonraki bir tarih olmalıdır.',
29 | 'after_or_equal' => ':attribute, :date değerinden sonraki veya buna eşit bir tarih olmalıdır.',
30 | 'alpha' => ':attribute yalnızca harfler içermelidir.',
31 | 'alpha_dash' => ':attribute yalnızca harf, sayı, tire ve alt çizgi içermelidir.',
32 | 'alpha_num' => ':attribute yalnızca harf ve rakamlardan oluşmalıdır.',
33 | 'array' => ':attribute bir dizi olmalıdır.',
34 | 'before' => ':attribute, :date tarihinden önceki bir tarih olmalıdır.',
35 | 'before_or_equal' => ':attribute, :date tarihinden önce veya buna eşit bir tarih olmalıdır.',
36 | 'between' => [
37 | 'array' => ':attribute, :min ve :max öğeleri arasında olmalıdır.',
38 | 'file' => ':attribute :min ile :max kilobayt arasında olmalıdır.',
39 | 'numeric' => ':attribute :min ile :max arasında olmalıdır.',
40 | 'string' => ':attribute :min ve :max karakterleri arasında olmalıdır.',
41 | ],
42 | 'boolean' => ':attribute alanı doğru veya yanlış olmalıdır.',
43 | 'confirmed' => ':attribute onayı eşleşmiyor.',
44 | 'current_password' => 'Şifre yanlış.',
45 | 'date' => ':attribute geçerli bir tarih değil.',
46 | 'date_equals' => ':attribute, :date değerine eşit bir tarih olmalıdır.',
47 | 'date_format' => ':attribute, :format biçimiyle eşleşmiyor.',
48 | 'declined' => ':attribute reddedilmelidir.',
49 | 'declined_if' => ':attribute, :other :value olduğunda reddedilmelidir.',
50 | 'different' => ':attribute ve :other farklı olmalıdır.',
51 | 'digits' => ':attribute :digits olmalıdır.',
52 | 'digits_between' => ':attribute :min ve :max basamakları arasında olmalıdır.',
53 | 'dimensions' => ':attribute geçersiz resim boyutlarına sahip.',
54 | 'distinct' => ':attribute alanında yinelenen bir değer var.',
55 | 'doesnt_start_with' => ':attribute aşağıdakilerden biriyle başlamayabilir: :values.',
56 | 'email' => ':attribute geçerli bir e-posta adresi olmalıdır.',
57 | 'ends_with' => ':attribute aşağıdakilerden biriyle bitmelidir: :values.',
58 | 'enum' => 'Seçilen :attribute geçersiz.',
59 | 'exists' => 'Seçilen :attribute geçersiz.',
60 | 'file' => ':attribute bir dosya olmalıdır.',
61 | 'filled' => ':attribute alanı bir değere sahip olmalıdır.',
62 | 'gt' => [
63 | 'array' => ':attribute, :value öğelerinden daha fazlasına sahip olmalıdır.',
64 | 'file' => ':attribute, :value kilobayttan büyük olmalıdır.',
65 | 'numeric' => ':attribute, :value değerinden büyük olmalıdır.',
66 | 'string' => ':attribute, :value karakterlerinden büyük olmalıdır.',
67 | ],
68 | 'gte' => [
69 | 'array' => ':attribute, :value öğelerine veya daha fazlasına sahip olmalıdır.',
70 | 'file' => ':attribute, :value kilobayttan büyük veya buna eşit olmalıdır.',
71 | 'numeric' => ':attribute, :value değerinden büyük veya buna eşit olmalıdır.',
72 | 'string' => ':attribute, :value karakterlerinden büyük veya ona eşit olmalıdır.',
73 | ],
74 | 'image' => ':attribute bir resim olmalıdır.',
75 | 'in' => 'Seçilen :attribute geçersiz.',
76 | 'in_array' => ':attribute alanı :other içinde mevcut değil.',
77 | 'integer' => ':attribute bir tamsayı olmalıdır.',
78 | 'ip' => ':attribute geçerli bir IP adresi olmalıdır.',
79 | 'ipv4' => ':attribute geçerli bir IPv4 adresi olmalıdır.',
80 | 'ipv6' => ':attribute geçerli bir IPv6 adresi olmalıdır.',
81 | 'json' => ':attribute geçerli bir JSON dizesi olmalıdır.',
82 | 'lt' => [
83 | 'array' => ':attribute, :value öğelerinden daha azına sahip olmalıdır.',
84 | 'file' => ':attribute :value kilobayttan küçük olmalıdır.',
85 | 'numeric' => ':attribute :value değerinden küçük olmalıdır.',
86 | 'string' => ':attribute, :value karakterlerinden daha az olmalıdır.',
87 | ],
88 | 'lte' => [
89 | 'array' => ':attribute, :value öğelerinden daha fazlasına sahip olmamalıdır.',
90 | 'file' => ':attribute, :value kilobayttan küçük veya ona eşit olmalıdır.',
91 | 'numeric' => ':attribute, :value değerinden küçük veya buna eşit olmalıdır.',
92 | 'string' => ':attribute, :value karakterlerinden küçük veya bunlara eşit olmalıdır.',
93 | ],
94 | 'mac_address' => ':attribute geçerli bir MAC adresi olmalıdır.',
95 | 'max' => [
96 | 'array' => ':attribute öğesi, :max öğelerinden daha fazlasına sahip olmamalıdır.',
97 | 'file' => ':attribute :max kilobayttan büyük olmamalıdır.',
98 | 'numeric' => ':attribute :max değerinden büyük olmamalıdır.',
99 | 'string' => ':attribute :max karakterden büyük olmamalıdır.',
100 | ],
101 | 'mimes' => ':attribute, :values türünde bir dosya olmalıdır.',
102 | 'mimetypes' => ':attribute, :values türünde bir dosya olmalıdır.',
103 | 'min' => [
104 | 'array' => ':attribute en az :min öğelerine sahip olmalıdır.',
105 | 'file' => ':attribute en az :min kilobayt olmalıdır.',
106 | 'numeric' => ':attribute en az :min olmalıdır.',
107 | 'string' => ':attribute en az :min karakter olmalıdır.',
108 | ],
109 | 'multiple_of' => ':attribute, :value nun katı olmalıdır.',
110 | 'not_in' => 'Seçilen :attribute geçersiz.',
111 | 'not_regex' => ':attribute biçimi geçersiz.',
112 | 'numeric' => ':attribute bir sayı olmalıdır.',
113 | 'password' => [
114 | 'letters' => ':attribute en az bir harf içermelidir.',
115 | 'mixed' => ':attribute en az bir büyük harf ve bir küçük harf içermelidir.',
116 | 'numbers' => ':attribute en az bir sayı içermelidir.',
117 | 'symbols' => ':attribute en az bir sembol içermelidir.',
118 | 'uncompromised' => 'Verilen :attribute bir veri sızıntısında ortaya çıktı. Lütfen farklı bir :attribute seçin.',
119 | ],
120 | 'present' => ':attribute alanı mevcut olmalıdır.',
121 | 'prohibited' => ':attribute alanı yasaktır.',
122 | 'prohibited_if' => ':attribute alanı :other :value olduğunda yasaktır.',
123 | 'prohibited_unless' => ':attribute alanı, :other :values içinde olmadığı sürece yasaktır.',
124 | 'prohibits' => ':attribute alanı :other in mevcut olmasını yasaklar.',
125 | 'regex' => ':attribute biçimi geçersiz.',
126 | 'required' => ':attribute alanı gereklidir.',
127 | 'required_array_keys' => ':attribute alanı şunlar için girişler içermelidir: :values.',
128 | 'required_if' => ':attribute alanı, :other :value olduğunda gereklidir.',
129 | 'required_unless' => ':attribute alanı, :other :values içinde olmadıkça gereklidir.',
130 | 'required_with' => ':attribute alanı, :values mevcut olduğunda gereklidir.',
131 | 'required_with_all' => ':attribute alanı, :values mevcut olduğunda gereklidir.',
132 | 'required_without' => ':attribute alanı, :values olmadığında gereklidir.',
133 | 'required_without_all' => ':attribute alanı, :values değerlerinin hiçbiri mevcut olmadığında gereklidir.',
134 | 'same' => ':attribute ve :other eşleşmelidir.',
135 | 'size' => [
136 | 'array' => ':attribute :size öğeleri içermelidir.',
137 | 'file' => ':attribute :size kilobayt olmalıdır.',
138 | 'numeric' => ':attribute :size olmalıdır.',
139 | 'string' => ':attribute :size karakter olmalıdır.',
140 | ],
141 | 'starts_with' => ':attribute aşağıdakilerden biriyle başlamalıdır: :values',
142 | 'string' => ':attribute bir dize olmalıdır.',
143 | 'timezone' => ':attribute geçerli bir saat dilimi olmalıdır.',
144 | 'unique' => ':attribute zaten alınmış.',
145 | 'uploaded' => ':attribute yüklenemedi.',
146 | 'url' => ':attribute geçerli bir URL olmalıdır.',
147 | 'uuid' => ':attribute geçerli bir UUID olmalıdır.',
148 |
149 | /*
150 | |--------------------------------------------------------------------------
151 | | Özel Doğrulama Dili Satırları
152 | |--------------------------------------------------------------------------
153 | |
154 | | Burada, öznitelikler için özel doğrulama mesajları belirtebilirsiniz.
155 | | satırları adlandırmak için "attribute.rule" kuralı. Bu, hızlı olmasını sağlar
156 | | belirli bir öznitelik kuralı için belirli bir özel dil satırı belirtin.
157 | |
158 | */
159 |
160 | 'custom' => [
161 | 'attribute-name' => [
162 | 'rule-name' => 'custom-message',
163 | ],
164 | ],
165 |
166 | /*
167 | |--------------------------------------------------------------------------
168 | | Özel Doğrulama Nitelikleri
169 | |--------------------------------------------------------------------------
170 | |
171 | | Özellik yer tutucumuzu değiştirmek için aşağıdaki dil satırları kullanılır
172 | | "e-posta". Bu, mesajımızı daha anlamlı hale getirmemize yardımcı olur
173 | |
174 | */
175 |
176 | 'attributes' => [],
177 |
178 | ];
179 |
--------------------------------------------------------------------------------
/lang/es/validation.php:
--------------------------------------------------------------------------------
1 | 'El :attribute debe ser aceptado.',
17 | 'accepted_if' => 'El :attribute debe ser aceptado cuando :other es :value.',
18 | 'active_url' => 'El :attribute no es una URL válida.',
19 | 'after' => 'El :attribute debe ser una fecha después de :date.',
20 | 'after_or_equal' => 'El :attribute debe ser una fecha posterior o igual a :date.',
21 | 'alpha' => 'El :attribute sólo debe contener letras.',
22 | 'alpha_dash' => 'El :attribute sólo debe contener letras, números, guiones y guiones bajos.',
23 | 'alpha_num' => 'El :attribute sólo debe contener letras y números.',
24 | 'array' => 'El :attribute debe ser una matriz.',
25 | 'before' => 'El :attribute debe ser una fecha anterior a :date.',
26 | 'before_or_equal' => 'El :attribute debe ser una fecha anterior o igual a :date.',
27 | 'between' => [
28 | 'array' => 'El :attribute debe tener entre :min y :max elementos.',
29 | 'file' => 'El :attribute debe tener entre :min y :max kilobytes.',
30 | 'numeric' => 'El :attribute debe tener entre :min y :max.',
31 | 'string' => 'The :attribute debe tener entre :min y :max carácteres.',
32 | ],
33 | 'boolean' => 'El :attribute el campo debe ser verdadero o falso.',
34 | 'confirmed' => 'El :attribute la confirmación no coincide.',
35 | 'current_password' => 'La contraseña es incorrecta.',
36 | 'date' => 'El :attribute no es una fecha válida.',
37 | 'date_equals' => 'El :attribute debe ser una fecha igual a :date.',
38 | 'date_format' => 'El :attribute no coincide con el formato :format.',
39 | 'declined' => 'El :attribute debe ser rechazado.',
40 | 'declined_if' => 'El :attribute debe rechazarse cuando :other es :value.',
41 | 'different' => 'El :attribute y :other debe ser diferente',
42 | 'digits' => 'El :attribute debe ser :digits dígitos.',
43 | 'digits_between' => 'El :attribute debe estar entre :min y :max dígitos.',
44 | 'dimensions' => 'El :attribute tiene dimensiones de imagen no válidas.',
45 | 'distinct' => 'El :attribute el campo tiene un valor duplicado.',
46 | 'doesnt_start_with' => 'El :attribute no puede comenzar con uno de los siguientes valores: :values.',
47 | 'email' => 'El :attribute debe ser una dirección de correo electrónico válida.',
48 | 'ends_with' => 'El :attribute debe terminar con uno de los siguientes: :values.',
49 | 'enum' => 'La selección :attribute es inválida.',
50 | 'exists' => 'La selección :attribute es inválida.',
51 | 'file' => 'El :attribute debe ser un archivo.',
52 | 'filled' => 'El :attribute el campo debe tener un valor.',
53 | 'gt' => [
54 | 'array' => 'El :attribute debe tener más de :value elementos.',
55 | 'file' => 'El :attribute debe ser mayor que :value kilobytes.',
56 | 'numeric' => 'El :attribute debe ser mayor a :value.',
57 | 'string' => 'El :attribute debe ser mayor a :value carácteres.',
58 | ],
59 | 'gte' => [
60 | 'array' => 'El :attribute debe tener :value un elementos o más.',
61 | 'file' => 'El :attribute debe ser mayor o igual a :value kilobytes.',
62 | 'numeric' => 'El :attribute debe ser mayor o igual a :value.',
63 | 'string' => 'El :attribute debe ser mayor o igual a :value carácteres.',
64 | ],
65 | 'image' => 'El :attribute debe ser una imagen.',
66 | 'in' => 'La selección :attribute es inválida.',
67 | 'in_array' => 'El :attribute campo no existe en :other.',
68 | 'integer' => 'El :attribute debe ser un entero.',
69 | 'ip' => 'El :attribute debe ser una dirección IP válida.',
70 | 'ipv4' => 'El :attribute debe ser una IPv4 válida.',
71 | 'ipv6' => 'El :attribute debe ser una IPv6 válida.',
72 | 'json' => 'El :attribute debe ser una cadena JSON válida.',
73 | 'lt' => [
74 | 'array' => 'El :attribute debe tener menos de :value elementos.',
75 | 'file' => 'El :attribute debe ser menor a :value kilobytes.',
76 | 'numeric' => 'El :attribute debe ser menor a :value.',
77 | 'string' => 'El :attribute debe ser menor a :value carácteres.',
78 | ],
79 | 'lte' => [
80 | 'array' => 'El :attribute no debe tener más de :value elementos.',
81 | 'file' => 'El :attribute debe ser menor o igual a :value kilobytes.',
82 | 'numeric' => 'El :attribute debe ser menor o igual a :value.',
83 | 'string' => 'El :attribute debe ser menor o igual a :value carácteres.',
84 | ],
85 | 'mac_address' => 'El :attribute debe ser una dirección MAC válida.',
86 | 'max' => [
87 | 'array' => 'El :attribute no debe tener más de :max elementos.',
88 | 'file' => 'El :attribute no debe ser mayor que :max kilobytes.',
89 | 'numeric' => 'El :attribute no debe ser mayor a :max.',
90 | 'string' => 'El :attribute no debe ser mayor a :max carácteres.',
91 | ],
92 | 'mimes' => 'El :attribute debe ser un archivo de tipo: :values.',
93 | 'mimetypes' => 'El :attribute debe ser un archivo de tipo: :values.',
94 | 'min' => [
95 | 'array' => 'El :attribute debe tener al menos :min elementos.',
96 | 'file' => 'El :attribute debe ser por lo menos :min kilobytes.',
97 | 'numeric' => 'El :attribute debe ser por lo menos :min.',
98 | 'string' => 'El :attribute debe ser por lo menos :min carácteres.',
99 | ],
100 | 'multiple_of' => 'El :attribute debe ser múltiplo de :value.',
101 | 'not_in' => 'La selección :attribute es inválida.',
102 | 'not_regex' => 'El :attribute el formato no es válido.',
103 | 'numeric' => 'El :attribute debe que ser un número.',
104 | 'password' => [
105 | 'letters' => 'El :attribute debe contener al menos una letra.',
106 | 'mixed' => 'El :attribute debe contener al menos una letra mayúscula y una minúscula.',
107 | 'numbers' => 'El :attribute debe contener al menos un número.',
108 | 'symbols' => 'El :attribute debe contener al menos un símbolo.',
109 | 'uncompromised' => 'La selección :attribute ha aparecido en una fuga de datos. Por favor, elija un diferente :attribute.',
110 | ],
111 | 'present' => 'El :attribute el campo debe estar presente.',
112 | 'prohibited' => 'El :attribute el campo esta prohíbido.',
113 | 'prohibited_if' => 'El :attribute campo está prohibido cuando :other es :value.',
114 | 'prohibited_unless' => 'El :attribute campo está prohibido a menos que :other está en :values.',
115 | 'prohibits' => 'El :attribute campo prohíbe :other de estar presente.',
116 | 'regex' => 'El:attribute el formato no es válido.',
117 | 'required' => 'El :attribute es requerido.',
118 | 'required_array_keys' => 'El :attribute campo debe contener entradas para: :values.',
119 | 'required_if' => 'El :attribute el campo es obligatorio cuando :other es :value.',
120 | 'required_unless' => 'El :attribute el campo es obligatorio a menos que :other está en :values.',
121 | 'required_with' => 'El :attribute el campo es obligatorio cuando :values esté presente.',
122 | 'required_with_all' => 'El :attribute el campo es obligatorio cuando :values está presente.',
123 | 'required_without' => 'El :attribute el campo es requerido cuando :values no está presente.',
124 | 'required_without_all' => 'El :attribute el campo es requerido cuando ninguno de estos :values está presente.',
125 | 'same' => 'El :attribute y :other deben coincidir.',
126 | 'size' => [
127 | 'array' => 'El :attribute debe contener :size elementos.',
128 | 'file' => 'El :attribute debe ser :size kilobytes.',
129 | 'numeric' => 'El :attribute debe ser :size.',
130 | 'string' => 'El :attribute debe ser :size carácteres.',
131 | ],
132 | 'starts_with' => 'El :attribute debe comenzar con uno de los siguientes: :values.',
133 | 'string' => 'El :attribute mdebe ser una cadena (string).',
134 | 'timezone' => 'El :attribute debe ser una zona horaria válida.',
135 | 'unique' => 'El :attribute ya existe.',
136 | 'uploaded' => 'El :attribute no se pudo cargar.',
137 | 'url' => 'El :attribute debe ser una URL válida.',
138 | 'uuid' => 'El :attribute debe ser un UUID válido.',
139 |
140 | /*
141 | |--------------------------------------------------------------------------
142 | | Custom Validation Language Lines
143 | |--------------------------------------------------------------------------
144 | |
145 | | Here you may specify custom validation messages for attributes using the
146 | | convention "attribute.rule" to name the lines. This makes it quick to
147 | | specify a specific custom language line for a given attribute rule.
148 | |
149 | */
150 |
151 | 'custom' => [
152 | 'attribute-name' => [
153 | 'rule-name' => 'custom-message',
154 | ],
155 | ],
156 |
157 | /*
158 | |--------------------------------------------------------------------------
159 | | Custom Validation Attributes
160 | |--------------------------------------------------------------------------
161 | |
162 | | The following language lines are used to swap our attribute placeholder
163 | | with something more reader friendly such as "E-Mail Address" instead
164 | | of "email". This simply helps us make our message more expressive.
165 | |
166 | */
167 |
168 | 'attributes' => [],
169 |
170 | ];
171 |
--------------------------------------------------------------------------------
/config/ide-helper.php:
--------------------------------------------------------------------------------
1 | '_ide_helper.php',
18 |
19 | /*
20 | |--------------------------------------------------------------------------
21 | | Where to write the PhpStorm specific meta file
22 | |--------------------------------------------------------------------------
23 | |
24 | | PhpStorm also supports the directory `.phpstorm.meta.php/` with arbitrary
25 | | files in it, should you need additional files for your project; e.g.
26 | | `.phpstorm.meta.php/laravel_ide_Helper.php'.
27 | |
28 | */
29 | 'meta_filename' => '.phpstorm.meta.php',
30 |
31 | /*
32 | |--------------------------------------------------------------------------
33 | | Fluent helpers
34 | |--------------------------------------------------------------------------
35 | |
36 | | Set to true to generate commonly used Fluent methods
37 | |
38 | */
39 |
40 | 'include_fluent' => true,
41 |
42 | /*
43 | |--------------------------------------------------------------------------
44 | | Factory Builders
45 | |--------------------------------------------------------------------------
46 | |
47 | | Set to true to generate factory generators for better factory()
48 | | method auto-completion.
49 | |
50 | | Deprecated for Laravel 8 or latest.
51 | |
52 | */
53 |
54 | 'include_factory_builders' => false,
55 |
56 | /*
57 | |--------------------------------------------------------------------------
58 | | Write Model Magic methods
59 | |--------------------------------------------------------------------------
60 | |
61 | | Set to false to disable write magic methods of model
62 | |
63 | */
64 |
65 | 'write_model_magic_where' => true,
66 |
67 | /*
68 | |--------------------------------------------------------------------------
69 | | Write Model External Eloquent Builder methods
70 | |--------------------------------------------------------------------------
71 | |
72 | | Set to false to disable write external eloquent builder methods
73 | |
74 | */
75 |
76 | 'write_model_external_builder_methods' => true,
77 |
78 | /*
79 | |--------------------------------------------------------------------------
80 | | Write Model relation count properties
81 | |--------------------------------------------------------------------------
82 | |
83 | | Set to false to disable writing of relation count properties to model DocBlocks.
84 | |
85 | */
86 |
87 | 'write_model_relation_count_properties' => true,
88 |
89 | /*
90 | |--------------------------------------------------------------------------
91 | | Write Eloquent Model Mixins
92 | |--------------------------------------------------------------------------
93 | |
94 | | This will add the necessary DocBlock mixins to the model class
95 | | contained in the Laravel Framework. This helps the IDE with
96 | | auto-completion.
97 | |
98 | | Please be aware that this setting changes a file within the /vendor directory.
99 | |
100 | */
101 |
102 | 'write_eloquent_model_mixins' => true,
103 |
104 | /*
105 | |--------------------------------------------------------------------------
106 | | Helper files to include
107 | |--------------------------------------------------------------------------
108 | |
109 | | Include helper files. By default not included, but can be toggled with the
110 | | -- helpers (-H) option. Extra helper files can be included.
111 | |
112 | */
113 |
114 | 'include_helpers' => true,
115 |
116 | 'helper_files' => [
117 | base_path() . '/vendor/laravel/framework/src/Illuminate/Support/helpers.php',
118 | ],
119 |
120 | /*
121 | |--------------------------------------------------------------------------
122 | | Model locations to include
123 | |--------------------------------------------------------------------------
124 | |
125 | | Define in which directories the ide-helper:models command should look
126 | | for models.
127 | |
128 | | glob patterns are supported to easier reach models in sub-directories,
129 | | e.g. `app/Services/* /Models` (without the space)
130 | |
131 | */
132 |
133 | 'model_locations' => [
134 | 'app',
135 | ],
136 |
137 | /*
138 | |--------------------------------------------------------------------------
139 | | Models to ignore
140 | |--------------------------------------------------------------------------
141 | |
142 | | Define which models should be ignored.
143 | |
144 | */
145 |
146 | 'ignored_models' => [
147 |
148 | ],
149 |
150 | /*
151 | |--------------------------------------------------------------------------
152 | | Extra classes
153 | |--------------------------------------------------------------------------
154 | |
155 | | These implementations are not really extended, but called with magic functions
156 | |
157 | */
158 |
159 | 'extra' => [
160 | 'Eloquent' => [Builder::class, \Illuminate\Database\Query\Builder::class],
161 | 'Session' => [Store::class],
162 | ],
163 |
164 | 'magic' => [],
165 |
166 | /*
167 | |--------------------------------------------------------------------------
168 | | Interface implementations
169 | |--------------------------------------------------------------------------
170 | |
171 | | These interfaces will be replaced with the implementing class. Some interfaces
172 | | are detected by the helpers, others can be listed below.
173 | |
174 | */
175 |
176 | 'interfaces' => [
177 |
178 | ],
179 |
180 | /*
181 | |--------------------------------------------------------------------------
182 | | Support for custom DB types
183 | |--------------------------------------------------------------------------
184 | |
185 | | This setting allow you to map any custom database type (that you may have
186 | | created using CREATE TYPE statement or imported using database plugin
187 | | / extension to a Doctrine type.
188 | |
189 | | Each key in this array is a name of the Doctrine2 DBAL Platform. Currently valid names are:
190 | | 'postgresql', 'db2', 'drizzle', 'mysql', 'oracle', 'sqlanywhere', 'sqlite', 'mssql'
191 | |
192 | | This name is returned by getName() method of the specific Doctrine/DBAL/Platforms/AbstractPlatform descendant
193 | |
194 | | The value of the array is an array of type mappings. Key is the name of the custom type,
195 | | (for example, "jsonb" from Postgres 9.4) and the value is the name of the corresponding Doctrine2 type (in
196 | | our case it is 'json_array'. Doctrine types are listed here:
197 | | http://doctrine-dbal.readthedocs.org/en/latest/reference/types.html
198 | |
199 | | So to support jsonb in your models when working with Postgres, just add the following entry to the array below:
200 | |
201 | | "postgresql" => array(
202 | | "jsonb" => "json_array",
203 | | ),
204 | |
205 | */
206 | 'custom_db_types' => [
207 |
208 | ],
209 |
210 | /*
211 | |--------------------------------------------------------------------------
212 | | Support for camel cased models
213 | |--------------------------------------------------------------------------
214 | |
215 | | There are some Laravel packages (such as Eloquence) that allow for accessing
216 | | Eloquent model properties via camel case, instead of snake case.
217 | |
218 | | Enabling this option will support these packages by saving all model
219 | | properties as camel case, instead of snake case.
220 | |
221 | | For example, normally you would see this:
222 | |
223 | | * @property \Illuminate\Support\Carbon $created_at
224 | | * @property \Illuminate\Support\Carbon $updated_at
225 | |
226 | | With this enabled, the properties will be this:
227 | |
228 | | * @property \Illuminate\Support\Carbon $createdAt
229 | | * @property \Illuminate\Support\Carbon $updatedAt
230 | |
231 | | Note, it is currently an all-or-nothing option.
232 | |
233 | */
234 | 'model_camel_case_properties' => false,
235 |
236 | /*
237 | |--------------------------------------------------------------------------
238 | | Property Casts
239 | |--------------------------------------------------------------------------
240 | |
241 | | Cast the given "real type" to the given "type".
242 | |
243 | */
244 | 'type_overrides' => [
245 | 'integer' => 'int',
246 | 'boolean' => 'bool',
247 | ],
248 |
249 | /*
250 | |--------------------------------------------------------------------------
251 | | Include DocBlocks from classes
252 | |--------------------------------------------------------------------------
253 | |
254 | | Include DocBlocks from classes to allow additional code inspection for
255 | | magic methods and properties.
256 | |
257 | */
258 | 'include_class_docblocks' => true,
259 |
260 | /*
261 | |--------------------------------------------------------------------------
262 | | Force FQN usage
263 | |--------------------------------------------------------------------------
264 | |
265 | | Use the fully qualified (class) name in docBlock,
266 | | event if class exists in a given file
267 | | or there is an import (use className) of a given class
268 | |
269 | */
270 | 'force_fqn' => false,
271 |
272 | /*
273 | |--------------------------------------------------------------------------
274 | | Additional relation types
275 | |--------------------------------------------------------------------------
276 | |
277 | | Sometimes it's needed to create custom relation types. The key of the array
278 | | is the Relationship Method name. The value of the array is the canonical class
279 | | name of the Relationship, e.g. `'relationName' => RelationShipClass::class`.
280 | |
281 | */
282 | 'additional_relation_types' => [],
283 |
284 | ];
285 |
--------------------------------------------------------------------------------