2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Laravel でサードパーティライブラリのconfigを上書きする方法

Last updated at Posted at 2018-07-17

このライブラリの
https://github.com/kristijanhusak/laravel-form-builder

これを弄りたくなったけど方法が分からなくて調べた結果
https://github.com/kristijanhusak/laravel-form-builder/blob/master/src/config/config.php


php artisan vendor:publis

を叩くと下記の候補が出る

スクリーンショット 2018-07-17 13.33.48.png

好きなの選ぶと 上書き可能なファイルがconfigだとかviewとかに作られたりする

(ここに定義されてる奴が作られる模様)
https://github.com/kristijanhusak/laravel-form-builder/blob/2f14ed5736eeb1750530f2a01fa9eeca7c58ad61/src/Kris/LaravelFormBuilder/FormBuilderServiceProvider.php#L79-L82

もともとSymfonyしてた身としてはFormをフルスクラッチで作成するのが辛かったので FormBuilder を使ってみてる。大体は同じだけど若干機能が弱い:cold_sweat:

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?