全文検索:
- 30 Laravel Mail @11_php:02_framework:01_laravel
- MAIL_HOST=mail.hogehoge.net MAIL_PORT=25 MAIL_USERNAME=info@hogehoge.net MAIL_PASSWORD=hogepassword MAIL... ources/views/mail/MailSend.blade.php {{$content->name}} さんはじめまして。 テストメール </code> ===== 4.mailableクラスの... uminate\Support\Facades\Mail; $contents->name = $request->get('name'); Mail::to('to@hogehoge.net') ->bcc('bcc@hogehoge.net')
- 47 Laravelコマンドからコマンドヘルプを呼び出す @11_php:02_framework:01_laravel
- 時に対象コマンドのヘルプが表示されます。 $this->call('help',['command_name'=>'コマンド名']) <code> protected $signature = 'comm... ult: $this->call('help',['command_name'=>'command:TestCommand']); exit;
- 03 自動で定義済みの定数
- すると、 インクルードされるファイルの存在するディレクトリを返します。 \\ つまり、これは dirname(__FILE__) と同じ意味です。 \\ ルートディレクトリである場合を除き、ディレクトリ名の末
- 14 Laravel Model @11_php:02_framework:01_laravel
- DB::table('test_tables')->insert([ 'name' => 'default_user', ]); </code> <code|da
- 46 Laravel log @11_php:02_framework:01_laravel
- ct(); try{ $this->class = basename(strtr(get_class($this), '\\', '/'));
- 09 curl @11_php:03_function
- == POST == <code> $PASSWORD = 'hogehoge'; $USERNAME = 'hoge'; $POST_DATA = array( 'foo' => 'bar'... FALSE); curl_setopt($conn, CURLOPT_USERPWD, $USERNAME . ":" . $PASSWORD); $ret = curl_exec($conn); curl
- 40 Laravel SSH/SCP @11_php:02_framework:01_laravel
- 'host' => '10.11.10.11', 'username' => 'hogehoge', 'password' => 'hoge... ); Config::set('remote.connections.production.username', 'XXXXXX'); Config::set('remote.connections.prod... '' \SSH::into('production')->run(array( 'hostname', 'uptime', ),function($line){ $output .=... '' \SSH::into('production')->run(array( 'hostname', 'uptime', ),function($line) use(&$output){
- 15 file_get_contents SSL エラー
- verify_peer']=false; $options['ssl']['verify_peer_name']=false; $response = file_get_contents($url, fals
- 43 Laravel APIトークン名(api_token)を変更 @11_php:02_framework:01_laravel
- 'auth']->extend('remember_token', function($app, $name, array $config) { return new MyTokenG
- 42 Laravel 認証機能 @11_php:02_framework:01_laravel
- rray */ protected $fillable = [ 'name', 'email', 'password', ]; /** * The... (); Route::get('/home', 'HomeController@index')->name('home'); </code> ===== app/Http/Controllers/Home
- 16 Laravel コマンドラインアプリケーション @11_php:02_framework:01_laravel
- sample/test.php > protected $signature = 'command:name'; ↓ protected $signature = 'command:test'; prote... code> public function handle() { $name = $this->argument("name"); $this->info("Hello $name"); } </code> ===== オプションを指定する場合 ===== オプション指定 protected $sig
- 08 PHP MySQLへ接続できない
- て、mysql再起動し再度パスワードを設定しなおす set password for username@localhost = password('password'); flush priv
- 27 Laravel Voyager @11_php:02_framework:01_laravel
- songsになります。 resources/views/vendor/voyager/[slug-name] 以下にbrose.blade.phpとedit-add.blade.phpを置けばオーバライドさ... te::get('songs','Voyager\SongsController@index')->name('voyager.songs.index')->middleware('admin.user');... e::post('songs','Voyager\SongsController@index')->name('voyager.songs.index')->middleware('admin.user');
- 39 Laravel config内でのパス @11_php:02_framework:01_laravel
- 'host' => '10.10.100.11', 'username' => 'root', 'password' => '',
- 37 Laravel Config ge @11_php:02_framework:01_laravel
- .php <?php return [ 'hogehoge' => [ 'name' => 'hoge', 'status' => 1, ] ]; >>> c... onfig('const2') => [ "hogehoge" => [ "name" => "hoge", "status" => 1, ], ] <