Minesweeper All Digits

         
         
         
         
         
 
 
  Into each square of a 5x5 grid, place the digits from 0 to 8 once each.  In the unoccupied squares place mines as needed so that, as in classic minesweeper, each digit represents the number of mines neighboring that square.  Try to use the minimum number of mines necessary to achieve this.

Source: Original.


Solution
Mail to Ken