Slide 1

Slide 1 text

Laravelྺ=PHPྺͳࢲ͕ Laravel෍ڭͨ͠࿩ ͠ΐ͜ˏokoysm

Slide 2

Slide 2 text

Who am I? • ͠ΐ͜ (@okoysm) • Geek Women Japan / dots.ঁࢠ෦ ӡӦ • ߴઐଔΤϯδχΞ̑೥ੜ • Javaྺ(4೥) • స৬ͯ͠PHP/Scala(൒೥ऑ) • αοΫεਧ͖ϥϒϥΠόʔ

Slide 3

Slide 3 text

ͳͥ෍ڭͨ͠ʁ

Slide 4

Slide 4 text

ίϯηϓτʹࠍΕͨ

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

෍ڭલ

Slide 8

Slide 8 text

࠷ॳͷ͓͠͝ͱʢҙ༁ʣ (ɾωɾ)<࠷ॳ͸ࣾ಺؅ཧπʔϧ΍ͬͯ΋Β͏ ͔ͤͬ͘ͳͷͰLaravel࢖ͬͯΈ͍ͨͰ͢>(ɾ㱼ɾ*) (ɾωɾ)(ɾ㱼ɾ*) (ɾωɾ)<ଞͷϓϩδΣΫτͰ࢖͑Δ͔ͷݕূ΋݉ͶͯΔ mjskؤுΓ·͢!!>(ɾ㱼ɾ*)

Slide 9

Slide 9 text

෍ڭ׆ಈ։࢝

Slide 10

Slide 10 text

෍ڭ׆ಈ։࢝ • ෍ڭલͷঢ়گ • αʔϏε΁ͷಋೖࣄྫɿ̌ • ࣾ಺πʔϧ΁ͷಋೖࣄྫɿ̌ • ŧŔŕŪũƄŝſɿଟ෼̌ • গ͠৮ͬͨ͜ͱ͋Δɿগ਺

Slide 11

Slide 11 text

Ίͤ͟LaravelϚελʔʂ

Slide 12

Slide 12 text

ͱ͍͏Θ͚Ͱ

Slide 13

Slide 13 text

࢓ࣄͰLaravel࢝Ίͨ • LTSͷ5.1Λ࠾༻ (࠷৽͸5.2ͩͬͨ) • (*ɾ㱼ɾ){ LalacastษڧʹͳΔʙ • (*ɾ㱼ɾ){ php artisanͳΜͰ΋Ͱ͖Δͳʂ • (*ɾ㱼ɾ){ ίʔυ៉ྷʹॻ͚Δʂʂʂ

Slide 14

Slide 14 text

ॱௐͩͬͨ

Slide 15

Slide 15 text

͕ͩͬͨɾɾɾ

Slide 16

Slide 16 text

͙ͭ͢·͍ͮͨ

Slide 17

Slide 17 text

͠ΐ͜తʂ෍ڭͷͭΒΈ ϕετ̏

Slide 18

Slide 18 text

෍ڭͷͭΒΈ ୈ̏Ґ

Slide 19

Slide 19 text

։ൃ؀ڥ͕ Laravel5.1ʹରԠ͍ͯ͠ͳ͍

Slide 20

Slide 20 text

PHPόʔδϣϯ͕ݹ͔ͬͨ • ීஈ࢖͍ͷ։ൃ؀ڥɿPHP5.3 • Laravel5.1Ͱඞཁͳόʔδϣϯ • “PHP version >= 5.5.9” • (;ɾ㱼ɾ){͔ɺ։ൃ؀ڥ͕ͳ͍ʂʁ

Slide 21

Slide 21 text

ͳΜͱ͔ͳͬͨ • Vagrant্ͷԾ૝؀ڥͰΰϦΰϦ։ൃͨ͠ • Homesteadͷ͓͔͛ͰׂͱͳΜͱ͔ͳͬͨ • ௨ৗͷ։ൃํ๏ͱҰਓҧ͏͜ͱ΍ͬͯΔײ͸ ൱Ίͳ͔ͬͨ

Slide 22

Slide 22 text

෍ڭͷͭΒΈ ୈ̎Ґ

Slide 23

Slide 23 text

Zendͱͷڞଘ

Slide 24

Slide 24 text

ಛʹϧʔςΟϯάपΓ • طଘͷϓϩάϥϜʢ10೥΋ͷɾZend੡ʣ • ݹͷίʔυ͔ΒಀΕΒΕͳ͔ͬͨ • σΟϨΫτϦߏ଄Λlaravel/laravelͷঢ়ଶ͔Β ม͍͑ͯ͘ඞཁ͕͋Γ೉͔ͬͨ͠

Slide 25

Slide 25 text

ͳΜͱ͔ͳͬͨ • URLͷ࠶ݕ౼ʢݹͷίʔυͱ͸ܾผʣ • σΟϨΫτϦߏ଄࠶ݕ౼Ͱ͖ͨ • PHPྺ͕͋Ε͹ղܾͰ͖Δ໰୊ͩͬͨͷͰ
 पΓʹฉ͚ͨʂ

Slide 26

Slide 26 text

෍ڭͷͭΒΈ μϯτπୈ̍Ґ

Slide 27

Slide 27 text

ʢυϥϜϩʔϧʣ

Slide 28

Slide 28 text

पΓʹฉ͘ਓ͕͍ͳ͍

Slide 29

Slide 29 text

ʘŦƄƀŜŦţşũ-ʗ • Laravelಋೖࣄྫ̌ͰཔΕΔਓ͕͍ͳ͍ • PHPͱLaravelͲ͕ͬͪ෼͔ͬͯͳ͍ͷ͔ • άάͬͯग़͖ͯͯ΋ੲͷ౤ߘɾهࣄɾɾɾ

Slide 30

Slide 30 text

Կͱ͔ͳͬͨ • LaravelΛษڧͨ͠ • ྡͷ੮ͷNࢯ͕͍ͩͿख఻ͬͯ͘Εͨ • ࣾ֎ͷ஥ྑ͍ࢠ͕࣮͸Laravel࢖͍ͩͬͨ • LaravelϦϑΝϨϯεͷஶऀʹTwitterͰฉ͚ͨ

Slide 31

Slide 31 text

࢓ࣄ͕ͻͱஈམͨ͠

Slide 32

Slide 32 text

͍͟෍ڭʂ

Slide 33

Slide 33 text

෍ڭ׆ಈɿͦͷ̍

Slide 34

Slide 34 text

෍ڭ׆ಈɿͦͷ̍ ࣾ಺ͷConfluenceʹTipsॻ͖ ཷΊͨ

Slide 35

Slide 35 text

ฐࣾͰLaravel΍ΔͳΒ ͜ΕݟΕ͹ॿ͔Δ͸ͣʂ

Slide 36

Slide 36 text

෍ڭ׆ಈɿͦͷ̎

Slide 37

Slide 37 text

ΤϯδχΞLTେձͰ artisanͷखܰ͞Λਪͯ͠ΈΔ

Slide 38

Slide 38 text

KKA ͠ΐ͜ (@okoysm) KKA=ݡ͍͔Θ͍͍artisanɺͷུ

Slide 39

Slide 39 text

෍ڭ׆ಈɿͦͷ̏

Slide 40

Slide 40 text

ݱঢ়೺Ѳ͢ΔͨΊʹ ΞϯέʔτˏLTத

Slide 41

Slide 41 text

1. ͦ΋ͦ΋LaravelͬͯԿʁ 2. ஌ͬͯΔ͚Ͳ৮ͬͨ͜ͱ͸ͳ͍ 3. Hello World͠·ͨ͠ 4. Laravelͷ͜ͱͳΒԶʹ೚ͤΖ ΤϯδχΞʹΞϯέʔτͱͬͯΈͨ

Slide 42

Slide 42 text

1. ͦ΋ͦ΋LaravelͬͯԿʁ 2. ஌ͬͯΔ͚Ͳ৮ͬͨ͜ͱ͸ͳ͍ 3. Hello World͠·ͨ͠ 4. Laravelͷ͜ͱͳΒԶʹ೚ͤΖ 70% 15% 15% 1ਓ

Slide 43

Slide 43 text

1. ͦ΋ͦ΋LaravelͬͯԿʁ 2. ஌ͬͯΔ͚Ͳ৮ͬͨ͜ͱ͸ͳ͍ 3. Hello World͠·ͨ͠ 4. Laravelͷ͜ͱͳΒԶʹ೚ͤΖ 70% 15% 15% 1ਓ ΄ͱΜͲ஌Βͳ͍͡ΌΜʂ

Slide 44

Slide 44 text

Զୡͷઓ͍͸͜Ε͔ΒͩΝ!!

Slide 45

Slide 45 text

Laravelྺ=PHPྺͳࢲ͕ Laravel෍ڭͨ͠࿩ ͠ΐ͜ˏokoysm

Slide 46

Slide 46 text

Laravelྺ=PHPྺͳࢲ͕ Laravel෍ڭͨ͠࿩ ͠ΐ͜ˏokoysm

Slide 47

Slide 47 text

Laravelྺ=PHPྺͳࢲ͕ Laravel෍ڭͨ͠࿩ ͠ΐ͜ˏokoysm ͠ଓ͚Δ࿩ ͠ΐ͜ઌੜͷ࣍ճ࡞ʹ͝ظ଴͍ͩ͘͞ʂ