Skip to content

Commit 478bf28

Browse files
committed
Merge pull request #20 from nurettintopal/master
artisan.md Turkceye cevrildi
2 parents d9baf29 + 8c93a54 commit 478bf28

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

artisan.md

+38-38
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
# Artisan CLI
22

3-
- [Introduction](#introduction)
4-
- [Usage](#usage)
5-
- [Calling Commands Outside Of CLI](#calling-commands-outside-of-cli)
6-
- [Scheduling Artisan Commands](#scheduling-artisan-commands)
3+
- [Giriş](#introduction)
4+
- [Kullanım](#usage)
5+
- [Artisan Komutlarının CLI Dışında Kullanımı](#calling-commands-outside-of-cli)
6+
- [Zaman Ayarlı Artisan Komutlar](#scheduling-artisan-commands)
77

88
<a name="introduction"></a>
9-
## Introduction
9+
## Giriş
1010

11-
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.
1212

1313
<a name="usage"></a>
14-
## Usage
14+
## Kullanım
1515

16-
#### Listing All Available Commands
16+
#### Tüm Artisan Komutlarının Listelenmesi
1717

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:
1919

2020
php artisan list
2121

22-
#### Viewing The Help Screen For A Command
22+
#### Bir Komut için Yardım Ekranının Görüntülenmesi
2323

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:
2525

2626
php artisan help migrate
2727

28-
#### Specifying The Configuration Environment
28+
#### Yapılandırma Ortamının Belirtilmesi
2929

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:
3131

3232
php artisan migrate --env=local
3333

34-
#### Displaying Your Current Laravel Version
34+
#### Güncel Laravel Sürümünüzün Gösterilmesi
3535

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:
3737

3838
php artisan --version
3939

4040
<a name="calling-commands-outside-of-cli"></a>
41-
## Calling Commands Outside Of CLI
41+
## Komutların CLI'in Dışından Çağrılması
4242

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:
4444

4545
Route::get('/foo', function()
4646
{
@@ -49,7 +49,7 @@ Sometimes you may wish to execute an Artisan command outside of the CLI. For exa
4949
//
5050
});
5151

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:
5353

5454
Route::get('/foo', function()
5555
{
@@ -59,80 +59,80 @@ You may even queue Artisan commands so they are processed in the background by y
5959
});
6060

6161
<a name="scheduling-artisan-commands"></a>
62-
## Scheduling Artisan Commands
62+
## Artisan Komutlarının Zamanlanması
6363

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.
6565

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:
6767

6868
* * * * * php /path/to/artisan schedule:run 1>> /dev/null 2>&1
6969

70-
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ı!
7171

72-
### More Scheduling Examples
72+
### Daha Fazla Zaman Ayarlı Örnekler
7373

74-
Let's look at a few more scheduling examples:
74+
Daha fazla zaman ayarlı öğrneğe bakalım:
7575

76-
#### Scheduling Closures
76+
#### Zaman Ayarlı Closure'lar
7777

7878
$schedule->call(function()
7979
{
8080
// Do some task...
8181

8282
})->hourly();
8383

84-
#### Scheduling Terminal Commands
84+
#### Zaman Ayarlı Terminal Komutları
8585

8686
$schedule->exec('composer self-update')->daily();
8787

88-
#### Manual Cron Expression
88+
#### Manuel Cron İfadesi
8989

9090
$schedule->command('foo')->cron('* * * * *');
9191

92-
#### Frequent Jobs
92+
#### Belirli Aralıklı Görevler
9393

9494
$schedule->command('foo')->everyFiveMinutes();
9595

9696
$schedule->command('foo')->everyTenMinutes();
9797

9898
$schedule->command('foo')->everyThirtyMinutes();
9999

100-
#### Daily Jobs
100+
#### Günlük Görevler
101101

102102
$schedule->command('foo')->daily();
103103

104-
#### Daily Jobs At A Specific Time (24 Hour Time)
104+
#### Belirli Bir Zamandaki Görevler (24 Saat)
105105

106106
$schedule->command('foo')->dailyAt('15:00');
107107

108-
#### Twice Daily Jobs
108+
#### Günde 2 Kere Çalışan Görevler
109109

110110
$schedule->command('foo')->twiceDaily();
111111

112-
#### Job The Runs Every Weekday
112+
#### Haftaiçi Hergün Çalışan Görevler
113113

114114
$schedule->command('foo')->weekdays();
115115

116-
#### Weekly Jobs
116+
#### Haftalık Görevler
117117

118118
$schedule->command('foo')->weekly();
119119

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...
121121
$schedule->command('foo')->weeklyOn(1, '8:00');
122122

123-
#### Monthly Jobs
123+
#### Aylık Görevler
124124

125125
$schedule->command('foo')->monthly();
126126

127-
#### Limit The Environment The Jobs Should Run In
127+
#### Belirli bir ordamda(Environment) çalışacak şekilde sınırlandırma
128128

129129
$schedule->command('foo')->monthly()->environments('production');
130130

131-
#### Indicate The Job Should Run Even When Application Is In Maintenance Mode
131+
#### Uygulama bakım modunda olsa bile görevlerin çalıştırılmasını sağlar
132132

133133
$schedule->command('foo')->monthly()->evenInMaintenanceMode();
134134

135-
#### Only Allow Job To Run When Callback Is True
135+
#### Sadece Callback True Olduğu Zaman Çalışacak Görev
136136

137137
$schedule->command('foo')->monthly()->when(function()
138138
{

0 commit comments

Comments
 (0)