In order to widen the scope of the applications of deterministic homogenization, we consider here the homogenization problem for a family of integral functionals. The homogenization procedure tending to be classical, the choice focused on the convex integral functionals is made
just to simplify the presentation of the paper. We use a new approach based on the Stepanov type spaces, which approach allows us to solve
various problems such as the almost periodic homogenization problem and others without resorting to additional assumptions. We then apply it to obtain a general homogenization result and then we provide a number of physical applications of the result. The convergence method used falls within the scope of two-scale convergence.