Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Laravel Telescopeが便利そうな気がする/Laravel Telescope seems to be convenience

kkznch
January 25, 2019

Laravel Telescopeが便利そうな気がする/Laravel Telescope seems to be convenience

【大阪】Laravel LT 2019/01/25

参考URL
https://kansai-web-app.connpass.com/event/110241/

kkznch

January 25, 2019
Tweet

More Decks by kkznch

Other Decks in Technology

Transcript

  1. Laravel Telescope͕
    ศརͦ͏ͳؾ͕͢Δ
    גࣜձࣾRe:Build
    Յ਺ ါىʢ@kkznchʣ
    2019೥1݄25೔ʢۚʣ
    େࡕLaravelษڧձ Vol.1

    View full-size slide

  2. ΞδΣϯμ
    • ࣗݾ঺հ
    • Laravel Telescopeͱ͸ʁ
    • ׆༻͢Δ৔໘͸ʁ
    • ·ͱΊ

    View full-size slide

  3. ࣗݾ঺հ
    • Յ਺ ါىʢ@kkznchʣ
    • 1990೥ͷԭೄੜ·Εɺԭೄҭͪɺԭೄࡏॅ
    • ܦྺɿ
    ‣ ిྗձࣾͷITΠϯϑϥɺηΩϡϦςΟ୲౰
    ‣ גࣜձࣾRe:BuildͰWebΤϯδχΞ
    ‣ εϚϒϥSP θϧμ

    View full-size slide

  4. ձࣾ঺հ
    • גࣜձࣾRe:Buildʢ2017೥11݄ʹઃཱʣ
    • ݱࡏͷࣾһ਺͸໊̑
    • ԭೄΛڌ఺ͱ͠ɺجຊతʹ͸Laravel΍Vue.jsΛ
    ࢖ͬͯडୗɾࣗࣾαʔϏε։ൃΛ͍ͯ͠Δ
    • ϦϞʔτϫʔΫɺࣗ༝ͳಇ͖ํΛਪ঑͍ͯ͠Δ

    View full-size slide

  5. Laravel Telescopeͱ͸ʁ

    View full-size slide

  6. Laravelެ͕ࣜఏڙͯ͠Δ
    σόοΨΞγελϯτ

    View full-size slide

  7. Laravel 5.7.7 Ҏ্Ͱಈ࡞

    View full-size slide

  8. Կ͕Ͱ͖Δͷ͔ʁ
    • ϒϥ΢β͔Β༷ʑͳ৘ใΛӾཡͰ͖Δ
    ‣ ૹ৴͞ΕͨϦΫΤετͷৄࡉ
    ‣ ྫ֎ॲཧͰు͔Εͨ಺༰
    ‣ σʔλΫΤϦͳͲ

    View full-size slide

  9. ૹ৴͞ΕͨϦΫΤετͷҰཡ

    View full-size slide

  10. ૹ৴͞ΕͨϦΫΤετͷৄࡉ

    View full-size slide

  11. ࣮ߦ͞ΕͨDBΫΤϦͷҰཡ

    View full-size slide

  12. ࣮ߦ͞ΕͨDBΫΤϦͷৄࡉ

    View full-size slide

  13. Πϯετʔϧํ๏
    http://localhost/telescope ʹΞΫηε͢Δͱ
    Laravel Telescopeͷը໘͕දࣔ͞ΕΔ
    • ҎԼͷίϚϯυΛ࣮ߦ͢Δ

    View full-size slide

  14. Telescope΁ͷΞΫηεઃఆ
    • LaravelͷGateػೳΛ༻͍ͯઃఆ͢Δ
    userͷrole͕adminͰ͋ΔϢʔβͷΈڐՄ͢Δྫ

    View full-size slide

  15. ׆༻͢Δ৔໘͸ʁ

    View full-size slide

  16. εςʔδϯά؀ڥͰ׆͖Δ

    View full-size slide

  17. ͜Μͳܦݧ͸͋Γ·ͤΜ͔ʁ
    • εςʔδϯά؀ڥͰΤϥʔ͕ൃੜͨ࣌͠
    ‣ SSHͰεςʔδϯά؀ڥʹϩάΠϯ͠ɺLaravel΍
    WebαʔόͳͲͷϩάΛऔಘ͢Δ
    ‣ ͲͷϢʔβ͕ͲͷύεʹͲ͏͍ͬͨύϥϝʔλΛ༻
    ͍ͯΞΫηε͔ͨ͠Λ֬ೝ͢ΔͨΊʹdump͢Δ
    ‣ DBΫΤϦͰԿ͕࣮ߦ͞Ε͍ͯΔ͔Λ֬ೝ͢ΔͨΊʹ
    dump͢Δ

    View full-size slide

  18. Laravel TelescopeͰ
    ͜ΕΒͷ৘ใΛӾཡՄೳʂ
    ૉఢʂ

    View full-size slide

  19. ·ͱΊ
    • Laravel Telescope͸LaravelެࣜσόοάΞγελϯτ
    • ૹ৴͞ΕͨϦΫΤετɺྫ֎ɺDBΫΤϦͳͲ༷ʑͳ
    σʔλΛϒϥ΢β͔ΒӾཡͰ͖Δ
    • ϩʔΧϧ؀ڥ͸໪࿦ɺεςʔδϯά؀ڥͰ࢖༻͢Δ͜ͱ
    Ͱ޾ͤʹͳΕΔՄೳੑ͕͋Δʢ˞ΞΫηε੍ݶɺػີ৘
    ใͷѻ͍ʹ஫ҙ͢Δ͜ͱʣ
    ࢀߟɿhttps://readouble.com/laravel/5.7/ja/telescope.html

    View full-size slide