全文検索:
- 27 Laravel Voyager
- lers' => [ - 'namespace' => 'TCG\\Voyager\\Http\\Controllers', + //'namespace' => 'TCG\\Voyager\\Http\\Controllers', + 'namespace' => 'App\\Http\\Controllers\\Voyager', ], </code> voyager:cont... <code> $ php artisan voyager:controllers $ ll app/Http/Controllers/Voyager/ total 44 -rw-r--r-- 1 matsui
- 21 Laravel Controller作成からViewまで
- artisan make:controller HelloWorld $ ll app/Http/Controllers/HelloWorld.php -rw-r--r-- 1 matsui users 117 Mar 19 16:36 app/Http/Controllers/HelloWorld.php <code|app/Http/Controllers/HelloWorld.php> <?php namespace App\Http\Controllers; use Illuminate\Http\Request; class
- 35 Laravel Curlの代わりにGuzzleを使う
- を取得する例 <code> use GuzzleHttp\Client; $url = "http://hogehoge.net/zabbix/api_jsonrpc.php"; $auth... === Controller === <code> <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use GuzzleHttp\Client; class XmlRpc extends Controller { ... </code> === 呼び出し部分 === <code> $XmlRcp = new App\Http\Controllers\XmlRpc($url, $user, $pass); $XmlRcp->
- 42 Laravel 認証機能
- troller@index')->name('home'); </code> ===== app/Http/Controllers/HomeController.php ===== app/Http/Controllers/HomeController.phpが作成される。 <code|app/Http/Controllers/HomeController.php> <?php namespace App\Http\Controllers; use Illuminate\Http\Request; class
- 12 Laravel
- ====== 12 Laravel ====== ウェブ職人のためのPHPフレームワーク [[http://laravel.jp/]] ===== インストール ===== composerは[[11_... ke:controller HelloController </code> <code|app/Http/Controllers/HelloController.php> <?php namespace App\Http\Controllers; use Illuminate\Http\Request; class HelloController extends Controller { public funct
- 26 Laravel FormBuilder
- rtisan make:controller SongsController <code|app/Http/Controllers/SongsController.php> <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Routing\Controller as BaseController; use Kri
- 28 Laravel Voyager フロントページ用意
- </body> </html> </code> === 4.ページ完成 === URL: http://hogehoge.com/foo 一覧のページが完成 {{:11_php:02_framew... </body> </html> </code> === 3.ページ完成 === URL: http://hogehoge.com/post/yarr-post {{:11_php:02_frame... </div> </body> </html> </code> === 4.完成 === http://hogehoge.com/pages/hello-world {{:11_php:02_fr
- 14 Laravel Model
- artisan make:controller TestController $ ll app/Http/Controllers/TestController.php -rw-r--r-- 1 matsui users 121 Jan 22 14:54 app/Http/Controllers/TestController.php </code> {{tag>lar
- 43 Laravel APIトークン名(api_token)を変更
- inate\Contracts\Auth\UserProvider; use Illuminate\Http\Request; use Illuminate\Support\Carbon; use Illum... serProvider $provider * @param \Illuminate\Http\Request $request * @return void */
- 13 laravel-admin
- ===== ===== Database用意 ===== <code|.env> APP_URL=http://hoge.hogehoge.com DB_CONNECTION=mysql DB_HOST=
- 37 Laravel Config ge
- "domain" => null, "secure" => false, "http_only" => true, "same_site" => null, ] </c
- 46 Laravel log
- ad." END send:$this->count"); } </code> app/Http/Kernel.phpとapp/Console/Kernel.php のbootstrappers