Open a new terminal and install Composer:
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
Once that has finished installing and moved, install the PHP-CS-Fixer Composer package globally:
| <x-layout> | |
| <x-slot name="head"> | |
| <x-social-media-meta | |
| title="Blade Component Examples" | |
| description="Learn about all sorts of Blade component tips and tricks." | |
| image="https://farm6.staticflickr.com/5510/14338202952_93595258ff_z.jpg" | |
| card="summary" | |
| /> | |
| </x-slot> |
| <div | |
| x-data="recaptcha()" | |
| x-init="init" | |
| @recaptcha.window="execute" | |
| ></div> | |
| @push('scripts') | |
| <script src="https://www.google.com/recaptcha/api.js?render=explicit"></script> | |
| <script> |
Open a new terminal and install Composer:
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
Once that has finished installing and moved, install the PHP-CS-Fixer Composer package globally:
| <?php | |
| class BlogController extends Controller | |
| { | |
| /** | |
| * Posts | |
| * | |
| * @return void | |
| */ | |
| public function showPosts() |