One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| { | |
| "countries": | |
| [ | |
| { | |
| "value": 1155, | |
| "label": "Afghanistan", | |
| "slug": "afghanistan", | |
| "code": "004", | |
| "dial_code": "+93", | |
| "flag_unicode": "🇦🇫", |
| <?php | |
| $stringParts = array_values(array_filter(explode(" ", 'مقالة جديدة'))); | |
| $slug = ''; | |
| foreach ($stringParts as $key => $string) { | |
| $hyphen = ($key < sizeof($stringParts) - 1) ? '-' : ''; | |
| $slug .= $string . $hyphen; | |
| } |
| <?php | |
| namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| class GenerateView extends Command | |
| { | |
| /** | |
| * The name and signature of the console command. |