In my laravel application,
The input is like this:

```
$from_year = 2019;
$from_month = 10;

$to_year = 2020;
$to_month = 4;

```

The expected output:

```
months = [
'October 2019', 'November 2019', 'December 2019', 'January 2020', 'February 2020', 'March 2020', 'April 2020'
]

```

Thanks in advance.