全文検索:
- 16 Laravel コマンドラインアプリケーション @11_php:02_framework:01_laravel
- ted $signature = 'command:test'; protected $description = 'Command description'; ↓ protected $description = 'てすとコマンド'; </code> ===== Commandクラスをartisanコマンドとして登録 ===== <code|ap... }'; 例: <code> $ php artisan command:test -h Description: てすとコマンド Usage: command:test <arg> Argu
- 12 Laravel @11_php:02_framework:01_laravel
- The Zip PHP extension is not installed. Please install it... [--] [<name>] 対応 <code> # yum install php-pecl-zip </code> ==== エラー2. ==== Script "post-install-cmd" is not defined in this package 対応 <code> $ comp... ar-compiled Mcrypt PHP extension required. Script php artisan clear-compiled handling the post-upd
- 10 Zend Framework
- | | | |__scripts/ | | |... 'index'); } } ?> </code> ===== ZenApp/scripts/hello/index.phtml ===== <code> <html> <head> <... </body> </html> </code> ===== Webでアクセス ===== http://[IP や VirtualName]/helo/ {{tag>php framework}}
- 35 Laravel Curlの代わりにGuzzleを使う @11_php:02_framework:01_laravel
- ttp\Client; $url = 'https://hoge.hogehoge.com'; $ip = '192.168.10.11'; $port = '25'; $client = new Cl... 'POST', $url, [ 'form_params' => [ 'ip' => $ip, 'port'=> $port], 'verify' => false ] ); echo $response->getStatusCode(); // 200
- 02 Silex
- scape($name); }); $app->run(); </code> 環境 ^ サーバIP ^ DocumentRoot ^ |172.16.20.100|/var/www/html/| サーバのドキュメントルートが/var/www/html/とすると、 サーバIP 172.16.20.100 下記でアクセスすると、「Hello World」が表示される。 htt
- 27 Laravel Voyager @11_php:02_framework:01_laravel
- CG\Voyager\Http\Controllers\Traits\BreadRelationshipParser; -class VoyagerBaseController extends Con... VoyagerBaseController { use BreadRelationshipParser; </code> ==== 5.RouteのOverride ==== <code
- 22 Laravel-admin viewカスタマイズ @11_php:02_framework:01_laravel
- ->header('てすとページ') 29 ->description('ほげほげ') 30 ->row('<table border=
- 25 Laravel Model毎にDBを選択 @11_php:02_framework:01_laravel
- は [[11_php:02_framework:01_laravel:17_laravel_multiple_database]] で用意しておく。 <code> <?php namespace Ap
- 26 Laravel FormBuilder @11_php:02_framework:01_laravel
- autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discov