PHP code example of genealabs / laravel-casts

1. Go to this page and download the library: Download genealabs/laravel-casts library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

genealabs / laravel-casts example snippets

sh
  php artisan casts:publish --assets
  
blade
@errors (string $intro = "", array $options = [])
blade
@label ($name, $label = null, array $options = [], $escapeHtml = true)
blade
@text ($name, $value = null, $options = [])
blade
@selectMonths ($name, $selected = null, $options = [])
blade
@selectWeekdays ($name, $selected = null, $options = [])
blade
@selectRangeWithInterval(string $name, int $start, int $end, int $interval, int $value = null, array $options = [])
xml
<!--
  <testsuites>
      <testsuite name="Application Test Suite">
-->
          <directory suffix="Test.php">./vendor/genealabs/laravel-casts/tests</directory>
<!--
      </testsuite>
  </testsuites>
-->