Composer
- √ composer create-project laravel/laravel folder_name
- √ composer install
- √ composer update
- √ composer dump-autoload [–optimize]
- √ composer self-update
Rotasyon Parametreleri
- √ Route::get(‘foo/{bar}’, function($bar){});
- √ Route::get(‘foo/{bar?}’, function($bar = ‘bar’){});
Http Verbs
- √ Route::any(‘foo’, function(){});
- √ Route::post(‘foo’, function(){});
- √ Route::put(‘foo’, function(){});
- √ Route::patch(‘foo’, function(){});
- √ Route::delete(‘foo’, function(){});
- √ Route::resource(‘foo’, ‘FooController’);
Filtreler
- √ Route::filter(‘auth’, function(){});
- √ Route::filter(‘foo’, ‘FooFilter’);
- √ Route::get(‘foo’, array(‘before’ => ‘auth’, function(){}));
- √ Route::group(array(‘before’ => ‘auth’), function(){});
- √ Route::when(‘foo/*’, ‘foo’);
- √ Route::when(‘foo/*’, ‘foo’, array(‘post’));
Url Yapısı
- √ URL::full();
- √ URL::current();
- √ URL::previous();
- √ URL::to(‘foo/bar’, $parameters, $secure);
- √ URL::action(‘FooController@method’, $parameters, $absolute);
- √ URL::route(‘foo’, $parameters, $absolute);
- √ URL::secure(‘foo/bar’, $parameters);
- √ URL::asset(‘css/foo.css’, $secure);
- √ URL::secureAsset(‘css/foo.css’);
- √ URL::isValidUrl(‘https://example.com’);
- √ URL::getRequest();
- √ URL::setRequest($request);
- √ URL::getGenerator();
- √ URL::setGenerator($generator);
Veritabanı
- √ DB::connection(‘connection_name’);
- √ DB::statement(‘drop table users’);
- √ DB::listen(function($sql, $bindings, $time){ code_here; });
- √ DB::transaction(function(){ transaction_code_here; });
- √ DB::table(‘users’)->remember($time)->get();
- √ DB::raw(‘sql expression here’);
Insert, Update, Delete
- √ DB::table(‘name’)->insert(array(‘name’ => ‘John’, ’email’ => ‘[email protected]’));
- √ DB::table(‘name’)->insertGetId(array(‘name’ => ‘John’, ’email’ => ‘[email protected]’));
- √ DB::table(‘name’)->insert(array(‘name’ => ‘John’, ’email’ => ‘[email protected]’)array(‘name’ => ‘James’, ’email’ => ‘[email protected]’));
- √ DB::table(‘name’)->where(‘name’, ‘=’, ‘John’)->update(array(’email’ => ‘[email protected]’));
- √ DB::table(‘name’)->delete();
- √ DB::table(‘name’)->where(‘id’, ‘>’, ’10’)->delete();
- √ DB::table(‘name’)->truncate();
Raw Expressions
- √ DB::select(‘select * from users where id = ?’, array(‘value’));
- √ DB::table(‘name’)->select(DB::raw(‘count(*) as count, column2’))->get();
Eloquent
- √ Model::create(array(‘key’ => ‘value’));
- √ Model::fill($attributes);
- √ Model::destroy(1);
- √ Model::all();
- √ Model::find(1);
- √ Model::find(array(‘first’, ‘last’));
- √ Model::findOrFail(1);
- √ Model::findOrFail(array(‘first’, ‘last’));
- √ Model::where(‘foo’, ‘=’, ‘bar’)->get();
- √ Model::where(‘foo’, ‘=’, ‘bar’)->first();
- √ Model::where(‘foo’, ‘=’, ‘bar’)->firstOrFail();
- √ Model::where(‘foo’, ‘=’, ‘bar’)->count();
- √ Model::where(‘foo’, ‘=’, ‘bar’)->delete();
- √ Model::whereRaw(‘foo = bar and cars = 2’, array(20))->get();
- √ Model::remember(5)->get();
- √ Model::remember(5, ‘cache-key-name’)->get();
- √ Model::cacheTags(‘my-tag’)->remember(5)->get();
- √ Model::cacheTags(array(‘my-first-key’,’my-second-key’))->remember(5)->get();
- √ Model::on(‘connection-name’)->find(1);
- √ Model::with(‘relation’)->get();
- √ Model::all()->take(10);
- √ Model::all()->skip(10);
Eloquent Ayarlar
- √ Eloquent::unguard();
- √ Eloquent::reguard();
Uzak İçerik
- √ SSH::run(array $commands);
- √ SSH::into($remote)->run(array $commands);
- √ SSH::run(array $commands, function($line){echo $line.PHP_EOL;});
- √ SSH::define($taskName, array $commands);
- √ SSH::task($taskName, function($line){echo $line.PHP_EOL;});
- √ SSH::put($localFile, $remotePath);
- √ SSH::putString($string, $remotePath);
Input
- √ Input::get(‘key’);
- √ Input::get(‘key’, ‘default’);
- √ Input::has(‘key’);
- √ Input::all();
- √ Input::only(‘foo’, ‘bar’);
- √ Input::except(‘foo’);
- √ Sezon Inputlar
- √ Input::flash();
- √ Input::flashOnly(‘foo’, ‘bar’);
- √ Input::flashExcept(‘foo’, ‘baz’);
- √ Input::old(‘key’,’default_value’);
- √ Dosya İçin Input
- √ Input::file(‘filename’);
- √ Input::hasFile(‘filename’);
- √ Input::file(‘name’)->getRealPath();
- √ Input::file(‘name’)->getClientOriginalName();
- √ Input::file(‘name’)->getClientOriginalExtension();
- √ Input::file(‘name’)->getSize();
- √ Input::file(‘name’)->getMimeType();
- √ Input::file(‘name’)->move($destinationPath);
- √ Input::file(‘name’)->move($destinationPath, $fileName);
Cache
- √ Cache::put(‘key’, ‘value’, $minutes);
- √ Cache::add(‘key’, ‘value’, $minutes);
- √ Cache::forever(‘key’, ‘value’);
- √ Cache::remember(‘key’, $minutes, function(){ return ‘value’ });
- √ Cache::rememberForever(‘key’, function(){ return ‘value’ });
- √ Cache::forget(‘key’);
- √ Cache::has(‘key’);
- √ Cache::get(‘key’);
- √ Cache::get(‘key’, ‘default’);
- √ Cache::get(‘key’, function(){ return ‘default’; });
- √ Cache::tags(‘my-tag’)->put(‘key’,’value’, $minutes);
- √ Cache::tags(‘my-tag’)->has(‘key’);
- √ Cache::tags(‘my-tag’)->get(‘key’);
- √ Cache::tags(‘my-tag’)->forget(‘key’);
- √ Cache::tags(‘my-tag’)->flush();
- √ Cache::increment(‘key’);
- √ Cache::increment(‘key’, $amount);
- √ Cache::decrement(‘key’);
- √ Cache::decrement(‘key’, $amount);
- √ Cache::section(‘group’)->put(‘key’, $value);
- √ Cache::section(‘group’)->get(‘key’);
- √ Cache::section(‘group’)->flush();
Cookies
- √ Cookie::get(‘key’);
- √ Cookie::forever(‘key’, ‘value’);
- √ Cookie::queue(‘key’, ‘value’, ‘minutes’);
- √ $response = Response::make(‘Hello World’);
- √ $response->withCookie(Cookie::make(‘name’, ‘value’, $minutes));
İstekler (Request)
- √ Request::path();
- √ Request::is(‘foo/*’);
- √ Request::url();
- √ Request::segment(1);
- √ Request::header(‘Content-Type’);
- √ Request::server(‘PATH_INFO’);
- √ Request::ajax();
- √ Request::secure();
Cevaplar (Response)
- √ return Response::make($contents);
- √ return Response::make($contents, 200);
- √ return Response::json(array(‘key’ => ‘value’));
- √ return Response::json(array(‘key’ => ‘value’))->setCallback(Input::get(‘callback’));
- √ return Response::download($filepath);
- √ return Response::download($filepath, $filename, $headers);
- √ $response = Response::make($contents, 200);
- √ $response->header(‘Content-Type’, ‘application/json’);return $response;
- √ return Response::make($content)->withCookie(Cookie::make(‘key’, ‘value’));
IoC Konteynır
- √ App::bind(‘foo’, function($app){ return new Foo; });
- √ App::make(‘foo’);
- √ App::make(‘FooBar’);
- √ App::singleton(‘foo’, function(){ return new Foo; });
- √ App::instance(‘foo’, new Foo);
- √ App::bind(‘FooRepositoryInterface’, ‘BarRepository’);
- √ App::register(‘FooServiceProvider’);
- √ App::resolving(function($object){});
- √ Mail::send(’email.view’, $data, function($message){});
- √ Mail::send(array(‘html.view’, ‘text.view’), $data, $callback);
- √ Mail::queue(’email.view’, $data, function($message){});
- √ Mail::queueOn(‘queue-name’, ’email.view’, $data, $callback);
- √ Mail::later(5, ’email.view’, $data, function($message){});
- √ Mail::pretend();
- √ Mesajlar
- √ $message->from(’[email protected]’, ‘Mr. Example’);
- √ $message->sender(’[email protected]’, ‘Mr. Example’);
- √ $message->returnPath(’[email protected]’);
- √ $message->to(’[email protected]’, ‘Mr. Example’);
- √ $message->cc(’[email protected]’, ‘Mr. Example’);
- √ $message->bcc(’[email protected]’, ‘Mr. Example’);
- √ $message->replyTo(’[email protected]’, ‘Mr. Example’);
- √ $message->subject(‘Welcome to the Jungle’);
- √ $message->priority(2);
- √ $message->attach(‘foo\bar.txt’, $options);
- √ $message->attachData(‘bar’, ‘Data Name’, $options);
- √ $message->embed(‘foo\bar.txt’);
- √ $message->embedData(‘foo’, ‘Data Name’, $options);
- √ $message->getSwiftMessage();
Validation
- √ Validator::make(array(‘key’ => ‘Foo’),array(‘key’ => ‘required|in:Foo’));
- √ Validator::extend(‘foo’, function($attribute, $value, $params){});
- √ Validator::extend(‘foo’, ‘FooValidator@validate’);
- √ Validator::resolver(function($translator, $data, $rules, $msgs){return new FooValidator($translator, $data, $rules, $msgs);});
- √ Rules (Kurallar)
- √ accepted
- √ active_url
- √ after:YYYY-MM-DD
- √ before:YYYY-MM-DD
- √ alpha
- √ alpha_dash
- √ alpha_num
- √ between:1,10
- √ confirmed
- √ date
- √ date_format:YYYY-MM-DD
- √ different:fieldname
- √ exists:table,column
- √ image
- √ in:foo,bar,baz
- √ integer
- √ numeric
- √ ip
- √ max:value
- √ min:value
- √ mimes:jpeg,png
- √ regex:[0-9]
- √ required
- √ required_if:field,value
- √ required_with:foo,bar,baz
- √ required_without:foo,bar,baz
- √ same:field
- √ size:value
- √ unique:table,column,except,idColumn
- √ url
Strings
- √ Str::ascii($value)
- √ Str::camel($value)
- √ Str::contains($haystack, $needle)
- √ Str::endsWith($haystack, $needles)
- √ Str::finish($value, $cap)
- √ Str::is($pattern, $value)
- √ Str::length($value)
- √ Str::limit($value, $limit = 100, $end = ‘…’)
- √ Str::lower($value)
- √ Str::words($value, $words = 100, $end = ‘…’)
- √ Str::plural($value, $count = 2)
- √ Str::random($length = 16)
- √ Str::quickRandom($length = 16)
- √ Str::upper($value)
- √ Str::title($value)
- √ Str::singular($value)
- √ Str::slug($title, $separator = ‘-‘)
- √ Str::snake($value, $delimiter = ‘_’)
- √ Str::startsWith($haystack, $needles)
- √ Str::studly($value)
- √ Str::macro($name, $macro)
Rotasyon
- √ Route::get(‘foo’, function(){});
- √ Route::get(‘foo’, ‘ControllerName@function’);
- √ Route::controller(‘foo’, ‘FooController’);
- √ Route::resource(‘posts’,’ ‘PostsController’);
Hata Yolları
- √ App::abort(404);
- √ App::missing(function($exception){});
- √ throw new NotFoundHttpException;
Secure Rotasyon
- √ Route::get(‘foo’, array(‘https’, function(){}));
Rota Desenleri
- √ Route::get(‘foo/{bar}’, function($bar){})->where(‘bar’, ‘[0-9]+’);
- √ Route::get(‘foo/{bar}/{baz}’, function($bar, $baz){})->where(array(‘bar’ => ‘[0-9]+’, ‘baz’ => ‘[A-Za-z]’));
- √ Route::pattern(‘bar’, ‘[0-9]+’);
İsimli Rotasyon
- √ Route::currentRouteName();
- √ Route::get(‘foo/bar’, array(‘as’ => ‘foobar’, function(){}));
Önekli Rotasyon
- √ Route::group(array(‘prefix’ => ‘foo’), function(){})
Subdomain Rotasyon
- √ Route::group(array(‘domain’ => ‘{sub}.example.com’), function(){});
Olaylar (Events)
- √ Event::fire(‘foo.bar’, array($bar));
- √ Event::listen(‘foo.bar’, function($bar){});
- √ Event::listen(‘foo.*’, function($bar){});
- √ Event::listen(‘foo.bar’, ‘FooHandler’, 10);
- √ Event::listen(‘foo.bar’, ‘BarHandler’, 5);
- √ Event::listen(‘foor.bar’, function($event){ return false; });
- √ Event::queue(‘foo’, array($bar));
- √ Event::flusher(‘foo’, function($bar){});
- √ Event::flush(‘foo’);
- √ Event::forget(‘foo’);
- √ Event::subscribe(new FooEventHandler);
Selects
- √ DB::table(‘name’)->get();
- √ DB::table(‘name’)->distinct()->get();
- √ DB::table(‘name’)->select(‘column as column_alias’)->get();
- √ DB::table(‘name’)->where(‘name’, ‘=’, ‘John’)->get();
- √ DB::table(‘name’)->whereBetween(‘column’, array(1, 100))->get();
- √ DB::table(‘name’)->whereIn(‘column’, array(1, 2, 3))->get();
- √ DB::table(‘name’)->whereNotIn(‘column’, array(1, 2, 3))->get();
- √ DB::table(‘name’)->whereNull(‘column’)->get();
- √ DB::table(‘name’)->whereNotNull(‘column’)->get();
- √ DB::table(‘name’)->groupBy(‘column’)->get();
- √ DB::table(‘name’)->orderBy(‘column’)->get();
- √ DB::table(‘name’)->orderBy(‘column’,’desc’)->get();
- √ DB::table(‘name’)->having(‘count’, ‘>’, 100)->get();
- √ DB::table(‘name’)->skip(10)->take(5)->get();
- √ DB::table(‘name’)->first();
- √ DB::table(‘name’)->pluck(‘column’);
- √ DB::table(‘name’)->lists(‘column’);
- √ DB::table(‘name’)->join(‘table’, ‘name.id’, ‘=’, ‘table.id’)->select(‘name.id’, ‘table.email’);
İşlemler
- √ DB::table(‘name’)->count();
- √ DB::table(‘name’)->max(‘column’);
- √ DB::table(‘name’)->min(‘column’);
- √ DB::table(‘name’)->avg(‘column’);
- √ DB::table(‘name’)->sum(‘column’);
- √ DB::table(‘name’)->increment(‘column’);
- √ DB::table(‘name’)->increment(‘column’, $amount);
- √ DB::table(‘name’)->decrement(‘column’);
- √ DB::table(‘name’)->decrement(‘column’, $amount);
- √ DB::table(‘name’)->remember(5)->get();
- √ DB::table(‘name’)->remember(5, ‘cache-key-name’)->get();
- √ DB::table(‘name’)->cacheTags(‘my-key’)->remember(5)->get();
- √ DB::table(‘name’)->cacheTags(array(‘my-first-key’,’my-second-key’))->remember(5)->get();
Soft Delete
- √ Model::withTrashed()->where(‘cars’, 2)->get();
- √ Model::withTrashed()->where(‘cars’, 2)->restore();
- √ Model::where(‘cars’, 2)->forceDelete();
- √ Model::onlyTrashed()->where(‘cars’, 2)->get();
Eloquent Events
- √ Model::creating(function($model){});
- √ Model::created(function($model){});
- √ Model::updating(function($model){});
- √ Model::updated(function($model){});
- √ Model::saving(function($model){});
- √ Model::saved(function($model){});
- √ Model::deleting(function($model){});
- √ Model::deleted(function($model){});
- √ Model::observe(new FooObserver);
Schema
- √ Schema::create(‘table’, function($table){$table->increments(‘id’);});
- √ Schema::connection(‘foo’)->create(‘table’, function($table){});
- √ Schema::rename($from, $to);
- √ Schema::drop(‘table’);
- √ Schema::dropIfExists(‘table’);
- √ Schema::hasTable(‘table’);
- √ Schema::hasColumn(‘table’, ‘column’);
- √ Schema::table(‘table’, function($table){});
- √ $table->renameColumn(‘from’, ‘to’);
- √ $table->renameColumn(‘from’, ‘to’);
- √ $table->dropColumn(string|array);
- √ $table->engine = ‘InnoDB’;
- √ $table->string(‘name’)->after(’email’);
- √ Indexler
- √ $table->string(‘column’)->unique();
- √ $table->primary(‘column’);
- √ $table->primary(array(‘first’, ‘last’));
- √ $table->unique(‘column’);
- √ $table->unique(‘column’, ‘key_name’);
- √ $table->unique(array(‘first’, ‘last’));
- √ $table->unique(array(‘first’, ‘last’), ‘key_name’);
- √ $table->index(‘column’);
- √ $table->index(‘column’, ‘key_name’);
- √ $table->index(array(‘first’, ‘last’));
- √ $table->index(array(‘first’, ‘last’), ‘key_name’);
- √ $table->dropPrimary(‘table_column_primary’);
- √ $table->dropUnique(‘table_column_unique’);
- √ $table->dropIndex(‘table_column_index’);
- √ Foreign Keys
- √ $table->foreign(‘user_id’)->references(‘id’)->on(‘users’);
- √ $table->foreign(‘user_id’)->references(‘id’)->on(‘users’)->onDelete(‘cascade’);
- √ $table->dropForeign(‘posts_user_id_foreign’);
- √ Sütun Tipleri
- √ $table->increments(‘id’);
- √ $table->bigIncrements(‘id’);
- √ $table->string(’email’);
- √ $table->string(‘name’, 100);
- √ $table->integer(‘votes’);
- √ $table->bigInteger(‘votes’);
- √ $table->smallInteger(‘votes’);
- √ $table->float(‘amount’);
- √ $table->double(‘column’, 15, 8);
- √ $table->decimal(‘amount’, 5, 2);
- √ $table->boolean(‘confirmed’);
- √ $table->date(‘created_at’);
- √ $table->dateTime(‘created_at’);
- √ $table->time(‘sunrise’);
- √ $table->timestamp(‘added_on’);
- √ $table->timestamps();
- √ $table->softDeletes();
- √ $table->text(‘description’);
- √ $table->binary(‘data’);
- √ $table->enum(‘choices’, array(‘foo’, ‘bar’));
- √ $table->morphs(‘parent’);
- √ ->nullable()
- √ ->default($value)
- √ ->unsigned()
Sezon
- √ Session::get(‘key’);
- √ Session::get(‘key’, ‘default’);
- √ Session::get(‘key’, function(){ return ‘default’; });
- √ Session::put(‘key’, ‘value’);
- √ Session::push(‘foo.bar’,’value’);
- √ Session::all();
- √ Session::has(‘key’);
- √ Session::forget(‘key’);
- √ Session::flush();
- √ Session::regenerate();
- √ Session::flash(‘key’, ‘value’);
- √ Session::reflash();
- √ Session::keep(array(‘key1’, ‘key2’));
Yönlendirmeler (Redirect)
- √ return Redirect::to(‘foo/bar’);
- √ return Redirect::to(‘foo/bar’)->with(‘key’, ‘value’);
- √ return Redirect::to(‘foo/bar’)->withInput(Input::get());
- √ return Redirect::to(‘foo/bar’)->withInput(Input::except(‘password’));
- √ return Redirect::to(‘foo/bar’)->withErrors($validator);
- √ return Redirect::back();
- √ return Redirect::route(‘foobar’);
- √ return Redirect::route(‘foobar’, array(‘value’));
- √ return Redirect::route(‘foobar’, array(‘key’ => ‘value’));
- √ return Redirect::action(‘FooController@index’);
- √ return Redirect::action(‘FooController@baz’, array(‘value’));
- √ return Redirect::action(‘FooController@baz’, array(‘key’ => ‘value’));
- √ return Redirect::intended(‘foo/bar’);
Güvenlik
- √ Hash::make(‘secretpassword’);
- √ Hash::check(‘secretpassword’, $hashedPassword);
- √ Hash::needsRehash($hashedPassword);
- √ Auth
- √ Auth::check();
- √ Auth::user();
- √ Auth::attempt(array(’email’ => $email, ‘password’ => $password));
- √ Auth::attempt($credentials, true);
- √ Auth::once($credentials);
- √ Auth::login(User::find(1));
- √ Auth::loginUsingId(1);
- √ Auth::logout();
- √ Auth::validate($credentials);
- √ Auth::basic(‘username’);
- √ Auth::onceBasic();
- √ Password::remind($credentials, function($message, $user){});
- √ Şifreleme
- √ Crypt::encrypt(‘secretstring’);
- √ Crypt::decrypt($encryptedString);
- √ Crypt::setMode(‘ctr’);
- √ Crypt::setCipher($cipher);
Bekletilenler (Queues)
- √ Queue::push(‘SendMail’, array(‘message’ => $message));
- √ Queue::push(‘SendEmail@send’, array(‘message’ => $message));
- √ Queue::push(function($job) use $id {});
- √ php artisan queue:listen
- √ php artisan queue:listen connection
- √ php artisan queue:listen –timeout=60
- √ php artisan queue:work
Views
- √ View::make(‘path/to/view’);
- √ View::make(‘foo/bar’)->with(‘key’, ‘value’);
- √ View::make(‘foo/bar’)->withKey(‘value’);
- √ View::make(‘foo/bar’, array(‘key’ => ‘value’));
- √ View::exists(‘foo/bar’);
- √ View::share(‘key’, ‘value’);
- √ View::make(‘foo/bar’)->nest(‘name’, ‘foo/baz’, $data);
- √ View::composer(‘viewname’, function($view){});
- √ View::composer(array(‘view1’, ‘view2’), function($view){});
- √ View::composer(‘viewname’, ‘FooComposer’);
- √ View::creator(‘viewname’, function($view){});
Form
- √ Form::open(array(‘url’ => ‘foo/bar’, ‘method’ => ‘PUT’));
- √ Form::open(array(‘route’ => ‘foo.bar’));
- √ Form::open(array(‘route’ => array(‘foo.bar’, $parameter)));
- √ Form::open(array(‘action’ => ‘FooController@method’));
- √ Form::open(array(‘action’ => array(‘FooController@method’, $parameter)));
- √ Form::open(array(‘url’ => ‘foo/bar’, ‘files’ => true));
- √ Form::close();
- √ Form::token();
- √ Form::model($foo, array(‘route’ => array(‘foo.bar’, $foo->bar)));
- √ Form Elementleri
- √ Form::label(‘id’, ‘Description’);
- √ Form::label(‘id’, ‘Description’, array(‘class’ => ‘foo’));
- √ Form::text(‘name’);
- √ Form::text(‘name’, $value);
- √ Form::text(‘name’, $value, array(‘class’ => ‘name’));
- √ Form::textarea(‘name’);
- √ Form::textarea(‘name’, $value);
- √ Form::textarea(‘name’, $value, array(‘class’ => ‘name’));
- √ Form::hidden(‘foo’, $value);
- √ Form::password(‘password’);
- √ Form::password(‘password’, array(‘placeholder’ => ‘Password’));
- √ Form::email(‘name’, $value, array());
- √ Form::file(‘name’, array(‘class’ => ‘name’));
- √ Form::checkbox(‘name’, ‘value’);
- √ Form::checkbox(‘name’, ‘value’, true, array(‘class’ => ‘name’));
- √ Form::radio(‘name’, ‘value’);
- √ Form::radio(‘name’, ‘value’, true, array(‘class’ => ‘name’));
- √ Form::select(‘name’, array(‘key’ => ‘value’));
- √ Form::select(‘name’, array(‘key’ => ‘value’), ‘key’, array(‘class’ => ‘name’));
- √ Form::submit(‘Submit!’);
- √ Form::macro(‘fooField’, function(){});
- √ Form::fooField();
Localization
- √ App::setLocale(‘en’);
- √ Lang::get(‘messages.welcome’);
- √ Lang::get(‘messages.welcome’, array(‘foo’ => ‘Bar’));
- √ Lang::has(‘messages.welcome’);
- √ Lang::choice(‘messages.apples’, 10);
Artisan Komutları
- √ php artisan –help veya -h
- √ php artisan –quiet veya -q
- √ php artisan –version veya -V
- √ php artisan –no-interaction veya -n
- √ php artisan –ansi
- √ php artisan –no-ansi
- √ php artisan –env
- √ php artisan –verbose
- √ php artisan changes
- √ php artisan clear-compiled
- √ php artisan down
- √ php artisan dump-autoload
- √ php artisan env
- √ php artisan help
- √ php artisan list
- √ php artisan migrate
- √ php artisan optimize
- √ php artisan routes
- √ php artisan serve
- √ php artisan tinker
- √ php artisan up
- √ php artisan workbench
- √ php artisan asset:publish [–bench[=”vendor/package”]] [–path[=”…”]] [package]
- √ php artisan auth:reminders-table
- √ php artisan cache:clear
- √ php artisan command:make name [–command[=”…”]] [–path[=”…”]] [–namespace[=”…”]]
- √ php artisan config:publish
- √ php artisan controller:make [–bench=”vendor/package”]
- √ php artisan db:seed [–class[=”…”]] [–database[=”…”]]
- √ php artisan migrate [–bench=”vendor/package”] [–database[=”…”]] [–path[=”…”]] [–package[=”…”]] [–pretend] [–seed]
- √ php artisan migrate:install [–database[=”…”]]
- √ php artisan migrate:make name [–bench=”vendor/package”] [–create] [–package[=”…”]] [–path[=”…”]] [–table[=”…”]]
- √ php artisan migrate:refresh [–database[=”…”]] [–seed]
- √ php artisan migrate:reset [–database[=”…”]] [–pretend]
- √ php artisan migrate:rollback [–database[=”…”]] [–pretend]
- √ php artisan queue:listen [–queue[=”…”]] [–delay[=”…”]] [–memory[=”…”]] [–timeout[=”…”]] [connection]
- √ php artisan queue:subscribe [–type[=”…”]] queue url
- √ php artisan queue:work [–queue[=”…”]] [–delay[=”…”]] [–memory[=”…”]] [–sleep] [connection]
- √ php artisan session:table
- √ php artisan view:publish [–path[=”…”]] package
- √ php artisan tail [–path[=”…”]] [–lines[=”…”]] [connection]