this is a simplified use case, only to illustrate what I want to achieve:
Considering this query in pure SQL:
SELECT url, 1 AS active FROM `modules`
Simplest would be to use DB::raw
DB::table('modules')->get(['url', DB::raw('1 as active')]);