You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Artisan is the name of the command-line interface included with Laravel. It provides a number of helpful commands for your use while developing your application. It is driven by the powerful Symfony Console component.
11
+
Artisan, Laravel içerisinde gelen CLI(Komut Satırı Arayüzü)'ın adıdır. Artisan size uygulamanızı geliştirirken birçok yardımcı komut sağlar. Artisan, güçlü Symfony Console bileşeni üzerinden geliştirilmiştir.
12
12
13
13
<aname="usage"></a>
14
-
## Usage
14
+
## Kullanım
15
15
16
-
#### Listing All Available Commands
16
+
#### Tüm Artisan Komutlarının Listelenmesi
17
17
18
-
To view a list of all available Artisan commands, you may use the `list`command:
18
+
Tüm Artisan komutlarının listesini görmek için, `list`komutunu kullanabilirsiniz:
19
19
20
20
php artisan list
21
21
22
-
#### Viewing The Help Screen For A Command
22
+
#### Bir Komut için Yardım Ekranının Görüntülenmesi
23
23
24
-
Every command also includes a "help" screen which displays and describes the command's available arguments and options. To view a help screen, simply precede the name of the command with `help`:
24
+
Her komut ayrıca bir yardım ekranı içerir. Bu ekran komutların erişilebir parametlerini ve seçeneklerini görüntüler. Yardım ekranını görüntülemek için `help` ile birlikte komutun adını girin:
25
25
26
26
php artisan help migrate
27
27
28
-
#### Specifying The Configuration Environment
28
+
#### Yapılandırma Ortamının Belirtilmesi
29
29
30
-
You may specify the configuration environment that should be used while running a command using the `--env`switch:
30
+
Bir komut çalışırken `--env`ile kullanılacak yapılandırma ortamını belirtebilirsiniz:
31
31
32
32
php artisan migrate --env=local
33
33
34
-
#### Displaying Your Current Laravel Version
34
+
#### Güncel Laravel Sürümünüzün Gösterilmesi
35
35
36
-
You may also view the current version of your Laravel installation using the `--version`option:
36
+
Ayrıca Laravel yüklemenizin güncel sürümünü de `--version`seçeneğini kullanarak görebilirsiniz:
37
37
38
38
php artisan --version
39
39
40
40
<aname="calling-commands-outside-of-cli"></a>
41
-
## Calling Commands Outside Of CLI
41
+
## Komutların CLI'in Dışından Çağrılması
42
42
43
-
Sometimes you may wish to execute an Artisan command outside of the CLI. For example, you may wish to fire an Artisan command from an HTTP route. Just use the `Artisan` facade:
43
+
Bazen Artisan komutlarını CLI dışından çalıştırmaya ihtiyacınız olabilir. Örneğin, Bir HTTP rotasında bit Artisan komutunu Fire ederek çalıştırabiliriz. Sadece `Artisan` facade'ını kullanın:
44
44
45
45
Route::get('/foo', function()
46
46
{
@@ -49,7 +49,7 @@ Sometimes you may wish to execute an Artisan command outside of the CLI. For exa
49
49
//
50
50
});
51
51
52
-
You may even queue Artisan commands so they are processed in the background by your [queue workers](/docs/master/queues):
52
+
Artisan komutlarını kuyruğa ekleyerek arkaplanda [queue workers](/docs/master/queues) tarafından işlenmesini sağlayabilirsiniz:
53
53
54
54
Route::get('/foo', function()
55
55
{
@@ -59,80 +59,80 @@ You may even queue Artisan commands so they are processed in the background by y
59
59
});
60
60
61
61
<aname="scheduling-artisan-commands"></a>
62
-
## Scheduling Artisan Commands
62
+
## Artisan Komutlarının Zamanlanması
63
63
64
-
In the past, developers have generated a Cron entry for each console command they wished to schedule. However, this is a headache. Your console schedule is no longer in source control, and you must SSH into your server to add the Cron entries. Let's make our lives easier. The Laravel command scheduler allows you to fluently and expressively define your command schedule within Laravel itself, and only a single Cron entry is needed on your server.
64
+
Geçmişte, geliştiriciler zaman ayarlı olarak çalıştırmak istedikleri her bir komut için bir Cron tanımalaması yapmak zorundaydırlar. Ancak, bu bir baş ağrısıdır. Sizin zaman ayarlı komutlarınız kaynak kod kontrol sistemi içerisinde değil ve yeni bir Cron tanımlaması yapmak için SSH ile sunucunuza bağlanmanız gerekiyor. Hadi hayatımızı kolaylaştıralım. Laravel komut planlayıcısı sizin zaman ayarlı komutlarınızı tanımlamanızı sağlar ve sizin sunucunuzda sadece bir tane Cron tanımalamasına ihtiyacınız var.
65
65
66
-
Your command schedule is stored in the `app/Console/Kernel.php`file. Within this class you will see a `schedule`method. To help you get started, a simple example is included with the method. You are free to add as many scheduled jobs as you wish to the `Schedule`object. The only Cron entry you need to add to your server is this:
66
+
Sizin zaman ayarlı komutlarınız `app/Console/Kernel.php`dosyasında tutulur. Bu sınıfın içinde `schedule`isimli bir metod göreceksiniz. Başlamanıza yardımcı olmak için, bu metoda basit bir örnek dahil edilmiştir. `Schedule`nesnesine bir çok zaman ayarlı komutu ekleme konusunda özgürsünüz. Sadece aşağıdaki şekilde bir Cron tanımlaması sunucunuza yapmalısınız:
This Cron will call the Laravel command scheduler every minute. Then, Laravel evalutes your scheduled jobs and runs the jobs that are due. It couldn't be easier!
70
+
Bu Cron her saniye Laravel komut planlayıcısını çağıracak. Sonra, Laravel sizin zaman ayarkı işlerinizi değerlendirir ve and ve bağlantılı olan işleri çalıştırır. Daha kolay olamazdı!
71
71
72
-
### More Scheduling Examples
72
+
### Daha Fazla Zaman Ayarlı Örnekler
73
73
74
-
Let's look at a few more scheduling examples:
74
+
Daha fazla zaman ayarlı öğrneğe bakalım:
75
75
76
-
#### Scheduling Closures
76
+
#### Zaman Ayarlı Closure'lar
77
77
78
78
$schedule->call(function()
79
79
{
80
80
// Do some task...
81
81
82
82
})->hourly();
83
83
84
-
#### Scheduling Terminal Commands
84
+
#### Zaman Ayarlı Terminal Komutları
85
85
86
86
$schedule->exec('composer self-update')->daily();
87
87
88
-
#### Manual Cron Expression
88
+
#### Manuel Cron İfadesi
89
89
90
90
$schedule->command('foo')->cron('* * * * *');
91
91
92
-
#### Frequent Jobs
92
+
#### Belirli Aralıklı Görevler
93
93
94
94
$schedule->command('foo')->everyFiveMinutes();
95
95
96
96
$schedule->command('foo')->everyTenMinutes();
97
97
98
98
$schedule->command('foo')->everyThirtyMinutes();
99
99
100
-
#### Daily Jobs
100
+
#### Günlük Görevler
101
101
102
102
$schedule->command('foo')->daily();
103
103
104
-
#### Daily Jobs At A Specific Time (24 Hour Time)
104
+
#### Belirli Bir Zamandaki Görevler (24 Saat)
105
105
106
106
$schedule->command('foo')->dailyAt('15:00');
107
107
108
-
#### Twice Daily Jobs
108
+
#### Günde 2 Kere Çalışan Görevler
109
109
110
110
$schedule->command('foo')->twiceDaily();
111
111
112
-
#### Job The Runs Every Weekday
112
+
#### Haftaiçi Hergün Çalışan Görevler
113
113
114
114
$schedule->command('foo')->weekdays();
115
115
116
-
#### Weekly Jobs
116
+
#### Haftalık Görevler
117
117
118
118
$schedule->command('foo')->weekly();
119
119
120
-
// Schedule weekly job for specific day (0-6) and time...
120
+
// Haftanın belirli bir gün(0-6) ve saatinde çalışan zaman ayarlı görev...
121
121
$schedule->command('foo')->weeklyOn(1, '8:00');
122
122
123
-
#### Monthly Jobs
123
+
#### Aylık Görevler
124
124
125
125
$schedule->command('foo')->monthly();
126
126
127
-
#### Limit The Environment The Jobs Should Run In
127
+
#### Belirli bir ordamda(Environment) çalışacak şekilde sınırlandırma
0 commit comments