×

Ruto unveils Sh28 billion plan to modernise police, prison services

President William Ruto receives a copy of the National Police Service and State Department of Correctional Service Strategic Plans (2023-2027) from Inspector General of Police Douglas Kanja at Kenya School of Government in Nairobi, on December 13, 2024. [PCS]

The government will modernise the National Police Service at a cost of Sh28 billion over the next two years, President William Ruto has said.

The ambitious modernisation programme will include new equipment and weapons, digitisation of police operations as well as constructing new housing units for police officers.

“I want to commit that I intend to see the process of modernisation to completion in the next two years so that we can have the equipment, vehicles and ammunition necessary to protect our country,” the President said. 

He made the remarks when he launched the National Police Service and State Department for Correctional Service Strategic plans for 2023-2027 at the Kenya School of Government, Lower Kabete, Nairobi on Friday.

So far, the President said the government has spent Sh2 billion to raise the standards within the service. 

He said 1,000 new vehicles will be acquired for the police early next year under the police leasing programme in an effort to alleviate the shortage at police stations across the country. He said plans are at an advanced stage to procure 2,000 more vehicles.

To improve police officers’ living conditions, President Ruto said 582 new housing units have been completed, while another 1,000 are at different stages of construction with an aim to build 17,000 new units for police officers.

“It is our intention to make sure that many of our policemen and women, who discharge a very sensitive responsibility of protecting all of us, work in conditions that help them discharge that responsibility,” he said. 

Generally, Ruto said Kenyans serving in the security sector including the military’s, National Youth Service will also benefit from the government’s Affordable Housing Programme.  

Ruto further mentioned projects including the deployment of Mine Resistant Ambush Protected (MRAP) vehicles in conflict-prone regions, operationalisation of NPS hospitals in Kanyonyoo and Mbagathi, completion of the DCI National Forensic Laboratory and establishment of the National Police Leadership Academy as some of the initiatives made to modernise police service.

Alongside the infrastructural improvements, the president noted that the government is prioritising the welfare of police officers through the implementation of 271 actionable recommendations from the Maraga Taskforce Report

“There is a team set up to ensure that every recommendation that was made in that taskforce is achieved in the timeframe which was set out,” said the president.

Some of the welfare areas include increasing salaries, improving insurance packages, working conditions, human capital development, and institutional frameworks.

Moreover, he said the government will seek the views of police officers on their preferred uniform while commending performance to keep Kenyans safe under difficult working conditions.

“I want to commend the leadership of the police and all policemen and women for what they are doing in protecting citizens, their lives and property,” he said.

As part of the Maraga Taskforce Report, president Ruto said construction of 28,000 housing units for Kenya Prison Service will commence immediately.

Additionally, he said the prison service will begin leasing 3,000 acres of its arable land lying idle in many of the prisons.

“This will increase food production and thus enable the service to wean itself off of total dependence on the Exchequer,” said the president.

To further improve transport and service provision, the State Department for Correctional Services will begin a vehicle leasing programme for the Kenya Prison Service fleet.

However, President Ruto noted that Kenyans expect police officers to shed old habits such as extrajudicial killings and corruption that have tainted the reputation of the service.

“We must end the culture of extortion, bribery, and many other forms of corruption, which have inflicted a devastating stain on the credibility of the service,” he added.

Additionally, the president said the government will continue the digitisation of police operations to bring them to international standards. 

“A modern police service and technology is key to this. We must ensure we digitise operations, including the famous OB (Occurrence Book) so that entries on the OB is not compromised by anybody,” he said.

Ruto said integration of ICT into surveillance, investigations and crime deterrence through use of drones for border security, cybersecurity capabilities will enhance tackling offences and security threats are enabled by digital technology.

“In today’s rapidly evolving digital landscape and the ability to detect, disrupt, deter, and investigate these threats depends on our capacity to operate effectively in a high-tech environment. We are taking decisive action to ensure the NPS stays ahead of emerging threats,” said the president.

Ruto further emphasised on the need to strengthen oversight bodies, such as the Internal Affairs Unit, and working with agencies like the Independent Policing Oversight Authority, the Ethics and Anti-Corruption Commission, the Office of the Director of Public Prosecutions, and the Commission for Administrative Justice to fight corruption, protect human rights, and build public trust.

Present at the function were Prime Cabinet Secretary Musalia Mudavadi, United Kingdom High Commissioner to Kenya Neil Wigan, Principal Secretaries Raymond Omollo, Salome Beacco and Julius Bitok, and Inspector-General of Police Douglas Kanja, among others.

Mudavadi said the two strategic plans align with the Kenya Kwanza Bottom-up Economic Transformation Agenda and Kenya Vision 2030.

He also urged the police leadership to bolster people-centeredness approach in executing their mandate.

“Constructive engagement with citizens is necessary to resolve emerging conflicts in the delivery of police and correctional services. We must seek to promote trust and understanding that will ensure the security of the citizens,” said Mudavadi.

Kanja said in the new five-year plan, NPS has prioritised training, mental health and fighting corruption to build on the successes made and the lessons learned from the implementation of the 2018-2022 plan.

Request history8.1.26PHP Version1.27sRequest Duration3MBMemory UsageGET {category}/article/{id}/{slug}Route
    • Booting (10.86ms)time
    • Application (1.26s)time
    • 1 x Application (99.15%)
      1.26s
      1 x Booting (0.85%)
      10.86ms
      10 templates were rendered
      • 1x mainsite.articlearticle.blade.php#?blade
      • 1x mainsite.partials.topsectionsubscribetopsectionsubscribe.blade.php#?blade
      • 1x mainsite.partials.footerfooter.blade.php#?blade
      • 1x mainsite.layouts.appapp.blade.php#?blade
      • 1x mainsite.partials.metasmetas.blade.php#?blade
      • 1x mainsite.partials.topbartopbar.blade.php#?blade
      • 1x mainsite.partials.logo_sectionlogo_section.blade.php#?blade
      • 1x mainsite.partials.menumenu.blade.php#?blade
      • 1x mainsite.partials.streamingstreaming.blade.php#?blade
      • 1x mainsite.partials.stickybottomstickybottom.blade.php#?blade
      uri
      GET {category}/article/{id}/{slug}
      middleware
      web
      controller
      App\Http\Controllers\MainsiteController@article
      namespace
      prefix
      where
      file
      app/Http/Controllers/MainsiteController.php:610-1128
      35 statements were executed (10 duplicates)Show only duplicates525ms
      • Articles.php#513standard_digital_mainConnection Established
        Backtrace
        • app/Utils/Articles.php:513
        • app/Http/Controllers/MainsiteController.php:657
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:658
      • Articles.php#520standard_digital_main3.87msselect `id`, `site_id`, `article_category_id`, `title`, `long_title`, `thumbnail_url`, `story`, `published_at`, `premium`, `keywords`, `summary` from `articles` where `id` = '2001508041' and `published_at` <= '2025-03-16 03:54:07' and `deleted_at` is null
        Bindings
        • 0: 2001508041
        • 1: 2025-03-16 03:54:07
        Backtrace
        • app/Utils/Articles.php:520
        • app/Http/Controllers/MainsiteController.php:657
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:658
      • Articles.php#1435standard_digital_main890μsselect * from `days_quote` where `deleted_at` is null and `quote_day` = '2025-03-16'
        Bindings
        • 0: 2025-03-16
        Backtrace
        • app/Utils/Articles.php:1435
        • app/Http/Controllers/MainsiteController.php:660
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:661
      • Builder.php#20standard_digital_main960μsselect `authors`.*, `article_authors`.`article_id` as `pivot_article_id`, `article_authors`.`author_id` as `pivot_author_id` from `authors` inner join `article_authors` on `authors`.`id` = `article_authors`.`author_id` where `article_authors`.`article_id` = 2001508041 and `authors`.`deleted_at` is null
        Bindings
        • 0: 2001508041
        Backtrace
        • vendor/rennokki/laravel-eloquent-query-cache/src/Query/Builder.php:20
        • vendor/rennokki/laravel-eloquent-query-cache/src/Traits/QueryCacheModule.php:103
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/rennokki/laravel-eloquent-query-cache/src/Traits/QueryCacheModule.php:84
        • vendor/rennokki/laravel-eloquent-query-cache/src/Query/Builder.php:21
      • Articles.php#147standard_digital_main800μsselect `id` from `article_categories` where `site_id` = 1 and `id` = 588 or `parent_id` = 588 and `deleted_at` is null
        Bindings
        • 0: 1
        • 1: 588
        • 2: 588
        Backtrace
        • app/Utils/Articles.php:147
        • app/Http/Controllers/MainsiteController.php:727
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:728
      • Articles.php#164standard_digital_main77.38msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `article_category_id` in (1, 588) and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-16 03:54:07' order by `published_at` desc, `list_order` asc, `parent_category_list_order` asc limit 10 offset 0
        Bindings
        • 0: 1
        • 1: 588
        • 2: 1
        • 3: 2025-03-16 03:54:07
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:727
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:728
      • Articles.php#164standard_digital_main1.03msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (588)
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:727
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:728
      • Articles.php#53standard_digital_main1.03msselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` = 588
        Bindings
        • 0: 588
        Backtrace
        • app/Utils/Articles.php:53
        • app/Utils/Articles.php:338
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#53standard_digital_main1.06msselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` is null
        Backtrace
        • app/Utils/Articles.php:53
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#55standard_digital_mainConnection Established
        Backtrace
        • app/Utils/Articles.php:55
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#55standard_digital_main2.95msselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` is null
        Backtrace
        • app/Utils/Articles.php:55
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#57standard_digital_mainConnection Established
        Backtrace
        • app/Utils/Articles.php:57
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#57standard_digital_main2.98msselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `id` is null
        Backtrace
        • app/Utils/Articles.php:57
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#60standard_digital_main1.06msselect `id`, `name`, `short_name`, `parent_id`, `site_id` from `article_categories` where `refer_id` is null
        Backtrace
        • app/Utils/Articles.php:60
        • app/Utils/Articles.php:343
        • app/Http/Controllers/MainsiteController.php:737
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
      • Articles.php#688standard_digital_main99.3msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where (`keywords` LIKE '%[\"Police Reforms\",\"President William Ruto\",\"Inspector General Of Police Douglas Kanja\"]%') and `site_id` = 1 and `published_at` <= '2025-03-16 03:54:07' and `deleted_at` is null and `id` not in ('2001508041') order by `published_at` desc limit 4 offset 0
        Bindings
        • 0: %["Police Reforms","President William Ruto","Inspector General Of Police Douglas Kanja"]%
        • 1: 1
        • 2: 2025-03-16 03:54:07
        • 3: 2001508041
        Backtrace
        • app/Utils/Articles.php:688
        • app/Http/Controllers/MainsiteController.php:821
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:822
      • Articles.php#424standard_digital_main71.59msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `deleted_at` is null and `published_at` <= '2025-03-16 03:54:07' and `published_at` >= '2025-03-16 02:54:07' order by RAND(), `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 4 offset 0
        Bindings
        • 0: 1
        • 1: 16
        • 2: 20
        • 3: 2025-03-16 03:54:07
        • 4: 2025-03-16 02:54:07
        Backtrace
        • app/Utils/Articles.php:424
        • app/Http/Controllers/MainsiteController.php:825
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:826
      • Articles.php#147standard_digital_main940μsselect `id` from `article_categories` where `site_id` = 1 and `id` = 480 or `parent_id` = 480 and `deleted_at` is null
        Bindings
        • 0: 1
        • 1: 480
        • 2: 480
        Backtrace
        • app/Utils/Articles.php:147
        • app/Http/Controllers/MainsiteController.php:829
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:830
      • Articles.php#164standard_digital_main1.45msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `article_category_id` in (480, 481, 482, 719) and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-16 03:54:07' order by `published_at` desc, `list_order` asc, `parent_category_list_order` asc limit 4 offset 0
        Bindings
        • 0: 480
        • 1: 481
        • 2: 482
        • 3: 719
        • 4: 1
        • 5: 2025-03-16 03:54:07
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:829
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:830
      • Articles.php#164standard_digital_main1.36msselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (480, 482)
        Backtrace
        • app/Utils/Articles.php:164
        • app/Http/Controllers/MainsiteController.php:829
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:830
      • Articles.php#753standard_digital_main61.91msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where (`premium` = 1 or `article_category_id` = 486) and `site_id` = '1' and `deleted_at` is null and `published_at` <= '2025-03-16 03:54:07' and `homepage_list_order` is not null order by `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 4 offset 0
        Bindings
        • 0: 1
        • 1: 486
        • 2: 1
        • 3: 2025-03-16 03:54:07
        Backtrace
        • app/Utils/Articles.php:753
        • app/Http/Controllers/MainsiteController.php:837
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:838
      • Articles.php#753standard_digital_main910μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (3, 368)
        Backtrace
        • app/Utils/Articles.php:753
        • app/Http/Controllers/MainsiteController.php:837
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:838
      • Articles.php#819standard_digital_main1.01msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` < '2001508041' and `site_id` = 1 and `published_at` <= '2025-03-16 03:54:07' and `deleted_at` is null order by `id` desc limit 1
        Bindings
        • 0: 2001508041
        • 1: 1
        • 2: 2025-03-16 03:54:07
        Backtrace
        • app/Utils/Articles.php:819
        • app/Http/Controllers/MainsiteController.php:841
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:842
      • Articles.php#819standard_digital_main620μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (417)
        Backtrace
        • app/Utils/Articles.php:819
        • app/Http/Controllers/MainsiteController.php:841
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:842
      • Articles.php#865standard_digital_main840μsselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `id` > '2001508041' and `site_id` = 1 and `deleted_at` is null and `published_at` <= '2025-03-16 03:54:07' limit 1
        Bindings
        • 0: 2001508041
        • 1: 1
        • 2: 2025-03-16 03:54:07
        Backtrace
        • app/Utils/Articles.php:865
        • app/Http/Controllers/MainsiteController.php:841
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:842
      • Articles.php#865standard_digital_main660μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (588)
        Backtrace
        • app/Utils/Articles.php:865
        • app/Http/Controllers/MainsiteController.php:841
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:842
      • Articles.php#1288standard_digital_main18.36msselect `id`, `site_id`, `article_category_id`, `title`, `thumbnail_url`, `story`, `published_at`, `premium` from `articles` where `published_at` <= '2025-03-16 03:54:07' and `article_category_id` = 588 and `site_id` = 1 and `id` not in ('2001508041') order by `homepage_list_order` asc, `published_at` desc limit 6 offset 0
        Bindings
        • 0: 2025-03-16 03:54:07
        • 1: 588
        • 2: 1
        • 3: 2001508041
        Backtrace
        • app/Utils/Articles.php:1288
        • app/Http/Controllers/MainsiteController.php:845
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:846
      • Articles.php#1288standard_digital_main690μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (588)
        Backtrace
        • app/Utils/Articles.php:1288
        • app/Http/Controllers/MainsiteController.php:845
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:846
      • Builder.php#20standard_digital_main26.66msselect `videos`.`id`, `videos`.`video_category_id`, `videos`.`title`, `videos`.`video_url`, `videos`.`description`, `videos`.`published_at`, `videos`.`thumbnail_url` from `videos` inner join `video_categories` on `video_categories`.`id` = `videos`.`video_category_id` where (`keywords` LIKE '%[\"Police Reforms\",\"President William Ruto\",\"Inspector General Of Police Douglas Kanja\"]%') and `videos`.`deleted_at` is null and `video_categories`.`video_type_id` = 1 order by `published_at` desc limit 3 offset 0
        Bindings
        • 0: %["Police Reforms","President William Ruto","Inspector General Of Police Douglas Kanja"]%
        • 1: 1
        Backtrace
        • vendor/rennokki/laravel-eloquent-query-cache/src/Query/Builder.php:20
        • vendor/rennokki/laravel-eloquent-query-cache/src/Traits/QueryCacheModule.php:103
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/rennokki/laravel-eloquent-query-cache/src/Traits/QueryCacheModule.php:84
        • vendor/rennokki/laravel-eloquent-query-cache/src/Query/Builder.php:21
      • Articles.php#3926standard_digital_main880μsselect count(std_trend_article_id) as count, std_trend_article_id from `std_article_trends` group by `std_trend_article_id` order by `count` desc limit 20
        Backtrace
        • app/Utils/Articles.php:3926
        • app/Http/Controllers/MainsiteController.php:853
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:854
      • Articles.php#3952standard_digital_main1.46msselect `id`, `article_category_id`, `title`, `thumbnail_url`, `published_at`, `premium` from `articles` where `id` in (2001249065, 2001469121, 2001257803, 2000195645, 2001513826, 2001513873, 2001268430, 2001513904, 2001292440, 2001378502, 2001513243, 2001236763, 2001513870, 2001513905, 2001513890, 2001513854, 2001513809, 2000198221, 2001499320, 2000225747) and `deleted_at` is null and `published_at` <= '2025-03-16 03:54:07' and `homepage_list_order` is not null order by `published_at` desc, `homepage_list_order` asc, `list_order` asc limit 5
        Bindings
        • 0: 2001249065
        • 1: 2001469121
        • 2: 2001257803
        • 3: 2000195645
        • 4: 2001513826
        • 5: 2001513873
        • 6: 2001268430
        • 7: 2001513904
        • 8: 2001292440
        • 9: 2001378502
        • 10: 2001513243
        • 11: 2001236763
        • 12: 2001513870
        • 13: 2001513905
        • 14: 2001513890
        • 15: 2001513854
        • 16: 2001513809
        • 17: 2000198221
        • 18: 2001499320
        • 19: 2000225747
        • 20: 2025-03-16 03:54:07
        Backtrace
        • app/Utils/Articles.php:3952
        • app/Http/Controllers/MainsiteController.php:853
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:854
      • Articles.php#3952standard_digital_main720μsselect `id`, `name`, `parent_id` from `article_categories` where `article_categories`.`id` in (3, 267, 383, 416)
        Backtrace
        • app/Utils/Articles.php:3952
        • app/Http/Controllers/MainsiteController.php:853
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:408
        • app/Http/Controllers/MainsiteController.php:854
      • CookieTool.php#185standard_digital_main880μsselect * from `settings` where `meta_name` = 'article_age' limit 1
        Bindings
        • 0: article_age
        Backtrace
        • app/Utils/CookieTool.php:185
        • app/Http/Controllers/MainsiteController.php:870
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • helper.php#424standard_digital_main1.69msselect * from article_categories where id = '588'
        Backtrace
        • app/Library/helper.php:424
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
        • vendor/laravel/framework/src/Illuminate/View/View.php:195
      • helper.php#424standard_digital_main680μsselect * from article_categories where id = '588'
        Backtrace
        • app/Library/helper.php:424
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
        • vendor/laravel/framework/src/Illuminate/View/View.php:195
      • helper.php#424standard_digital_main770μsselect * from article_categories where id = '588'
        Backtrace
        • app/Library/helper.php:424
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
        • vendor/laravel/framework/src/Illuminate/View/View.php:195
      • helper.php#424standard_digital_main730μsselect * from article_categories where id = '588'
        Backtrace
        • app/Library/helper.php:424
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
        • vendor/laravel/framework/src/Illuminate/View/View.php:195
      • Articles.php#1350standard_digital_main135msselect * from `articles` where `deleted_at` is null and `published_at` <= '2025-03-16 03:54:08' and (`keywords` like '%Police Reforms%' or `keywords` like '%President William Ruto%' or `keywords` like '%Inspector General Of Police Douglas Kanja%') and (`site_id` = 1 or `site_id` = 16 or `site_id` = 20) and `id` <> '2001508041' order by `published_at` desc limit 3
        Bindings
        • 0: 2025-03-16 03:54:08
        • 1: %Police Reforms%
        • 2: %President William Ruto%
        • 3: %Inspector General Of Police Douglas Kanja%
        • 4: 1
        • 5: 16
        • 6: 20
        • 7: 2001508041
        Backtrace
        • app/Utils/Articles.php:1350
        • app/Utils/Articles.php:1673
        • view::mainsite.article:571
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
      • app.blade.php#825standard_digital_main930μsselect * from `favourite_topics` where `status` = 1
        Bindings
        • 0: 1
        Backtrace
        • view::mainsite.layouts.app:825
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
        • vendor/laravel/framework/src/Illuminate/View/View.php:195
      App\Models\Category
      379Category.php#?
      App\Models\Article
      35Article.php#?
      App\Models\Trending
      20Trending.php#?
      App\Topic
      16Topic.php#?
      App\Models\Author
      14Author.php#?
          _token
          jVxtlTUMdRMux6Dd7JKo38IaPl7FpIuffwJg51AE
          _previous
          array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/national/article/2001508041/ruto-u...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          offset
          0
          path_info
          /national/article/2001508041/ruto-unveils-sh28-billion-plan-to-modernise-police-prison-services
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          []
          
          request_request
          []
          
          request_headers
          0 of 0
          array:24 [ "cf-ray" => array:1 [ 0 => "921046f9091d1070-EWR" ] "x-forwarded-for" => array:1 [ 0 => "18.189.28.82" ] "host" => array:1 [ 0 => "www.standardmedia.co.ke" ] "cf-connecting-ip" => array:1 [ 0 => "18.189.28.82" ] "accept-encoding" => array:1 [ 0 => "gzip, br" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "cookie" => array:1 [ 0 => "story_no=eyJpdiI6Im1UZFY5WXdMZ2ZVNmQ2Q29oamZxREE9PSIsInZhbHVlIjoiN0YrY1d2ZGlabGFlZWlyaWVUWUMwSFhndXhOLzZpejhwZEdEckVBMC9RTElDRng2UnhIcndaUUlVeHpPdEFYbSIsIm1hYyI6ImFjODg1MTQxNDNlMzFlMmUxNTI1ZmE4NDU2NWViZmM2N2JlNmY4NDQzZWYyMzQ4YjM4ZThlZTllMWE1ZDdkMzciLCJ0YWciOiIifQ%3D%3D; _ga=amp-mCCTxS_HYfW5E9h9IcYhYg; XSRF-TOKEN=eyJpdiI6IjErTk52ZmY5b2JmL2hRd1NvbVdzd2c9PSIsInZhbHVlIjoiOWtwbXpHdi81QlpRaEM2WmNNWmJjK0xFalYzaCtJbk5qR2VGZXgvM3VGdEtzVzFMbDAwYmpnS3RsMnRVNWYxMGxXbWp3bmpuNEVZUDcvbkxlLzkydlQycjJGZFlmT1FQMit4Tkt1cERMcXlyaW1iSGdWSEV2OHl2YXpuY1l1SSsiLCJtYWMiOiJlODFkOTc2YWI5NWVhZDI4NmRhNmNhYTJmZjFjZTJhODM2OTc0ODUwYTk1N2JmMWUxNDA0Mzg4Njk0MTc3MWE2IiwidGFnIjoiIn0%3D; thestandardmediagroup_session=eyJpdiI6IithRFZPUk9PM2Vwa2FBMkhmM2Rsc3c9PSIsInZhbHVlIjoiVUtTUGZtdXFtQTN6dEU1SVF0d3J0Ym1JVCt3ZTlsbTcwNEMwWDF1dmY2bUlMajRWS0xOc1NqUU5lM0RYRnl2UDNHczlVK2tiaGMraHZHV1ZtQXE2MHN0VHJJbm1QNXUrK2hudEp1akRkY0FuUGhDRVdkOS9hY1NKR2tKMW5IWXMiLCJtYWMiOiJhMWMwMDVlMDJjZmU3ZDA1MWNkYTAwODJkZDUxNjNhMWYwM2VjNDA2MGE4YjBmZGE0NWZiZmQ3M2E0ZWViNmI3IiwidGFnIjoiIn0%3Dstory_no=eyJpdiI6Im1UZFY5WXdMZ2ZVNmQ2Q29oamZxREE9PSIsInZhbHVlIjoiN0YrY1d2ZGlabGFlZWlyaWVUWUMwSFhndXhOLzZpejhwZEdEckVBMC9RTElDRng2UnhIcndaUUlVeHpPdEFYbSIsIm1hYyI" ] "priority" => array:1 [ 0 => "u=0, i" ] "cf-visitor" => array:1 [ 0 => "{"scheme":"https"}" ] "cf-ipcountry" => array:1 [ 0 => "US" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "cdn-loop" => array:1 [ 0 => "cloudflare; loops=1" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "connection" => array:1 [ 0 => "Keep-Alive" ] "pragma" => array:1 [ 0 => "no-cache" ] "cache-control" => array:1 [ 0 => "no-cache" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] ]
          request_cookies
          0 of 0
          array:4 [ "story_no" => "1" "_ga" => null "XSRF-TOKEN" => "jVxtlTUMdRMux6Dd7JKo38IaPl7FpIuffwJg51AE" "thestandardmediagroup_session" => "6GYGM9eZZw3S0YOub0uoGrVoQ6qAvMlhlaWZN2nA" ]
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Sun, 16 Mar 2025 00:54:08 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjM1eDBpUFRtSFkyZlFXejNZNTBIZWc9PSIsInZhbHVlIjoiUS9yazNJRzVPQno3dVZNN2xzSUxJQllGNndqZk90Y0k5VUVhQ3k3d09XWmJDM3JGVzZtOG1lRWNNV3RYdk5xS0xaSlVNeEpvQnlVZnMzelRoSHdPQ3pZYnZZa2ZEa1RjeTZhejQrbDgrRm0wcGMvSVFQSzNBSG8yaVZNSjFuZVoiLCJtYWMiOiJiMDU2YmE0NDdjNjcxNTQ2NzBjODlhNTZmZWJlMGFhNmViNWJhNTMwYzYyYTkzY2Y5MzQ0MzllN2IwZTM1YTIzIiwidGFnIjoiIn0%3D; expires=Tue, 15 Apr 2025 11:23:08 GMT; Max-Age=2629740; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6IjM1eDBpUFRtSFkyZlFXejNZNTBIZWc9PSIsInZhbHVlIjoiUS9yazNJRzVPQno3dVZNN2xzSUxJQllGNndqZk90Y0k5VUVhQ3k3d09XWmJDM3JGVzZtOG1lRWNNV3RYdk5xS0xaSlVNe" 1 => "thestandardmediagroup_session=eyJpdiI6IjJsVG1qTCtvbml4K0VtR0pVbDkxZGc9PSIsInZhbHVlIjoidFNXS3VBdFlqVFN4b0I1NTkxUUJuVnVrOUo2OWZ2WVFhSEdGMmlnTVQrL1U4Q0J0Ymxkbjg0dVpIWWREcitvaG0xWndlNU1QeEF2VkpGSHdPNnE2ZHQxejhmNkY1N1NQVUw4TnVrd0NpSkdYUDJpcWxha0dnWEpPWW5FWmxad3IiLCJtYWMiOiIzOGQ0NmNjMjViMDM3Y2JlMzBmYjQyYTBkNDFlNThhZTYxYTNhNzQwN2I1YWViYjM5NmI4NjNiYTQxZGY1NTg2IiwidGFnIjoiIn0%3D; expires=Tue, 15 Apr 2025 11:23:08 GMT; Max-Age=2629740; path=/; httponly; samesite=laxthestandardmediagroup_session=eyJpdiI6IjJsVG1qTCtvbml4K0VtR0pVbDkxZGc9PSIsInZhbHVlIjoidFNXS3VBdFlqVFN4b0I1NTkxUUJuVnVrOUo2OWZ2WVFhSEdGMmlnTVQrL1U4Q0J0Ymxkbjg0dV" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjM1eDBpUFRtSFkyZlFXejNZNTBIZWc9PSIsInZhbHVlIjoiUS9yazNJRzVPQno3dVZNN2xzSUxJQllGNndqZk90Y0k5VUVhQ3k3d09XWmJDM3JGVzZtOG1lRWNNV3RYdk5xS0xaSlVNeEpvQnlVZnMzelRoSHdPQ3pZYnZZa2ZEa1RjeTZhejQrbDgrRm0wcGMvSVFQSzNBSG8yaVZNSjFuZVoiLCJtYWMiOiJiMDU2YmE0NDdjNjcxNTQ2NzBjODlhNTZmZWJlMGFhNmViNWJhNTMwYzYyYTkzY2Y5MzQ0MzllN2IwZTM1YTIzIiwidGFnIjoiIn0%3D; expires=Tue, 15-Apr-2025 11:23:08 GMT; path=/XSRF-TOKEN=eyJpdiI6IjM1eDBpUFRtSFkyZlFXejNZNTBIZWc9PSIsInZhbHVlIjoiUS9yazNJRzVPQno3dVZNN2xzSUxJQllGNndqZk90Y0k5VUVhQ3k3d09XWmJDM3JGVzZtOG1lRWNNV3RYdk5xS0xaSlVNe" 1 => "thestandardmediagroup_session=eyJpdiI6IjJsVG1qTCtvbml4K0VtR0pVbDkxZGc9PSIsInZhbHVlIjoidFNXS3VBdFlqVFN4b0I1NTkxUUJuVnVrOUo2OWZ2WVFhSEdGMmlnTVQrL1U4Q0J0Ymxkbjg0dVpIWWREcitvaG0xWndlNU1QeEF2VkpGSHdPNnE2ZHQxejhmNkY1N1NQVUw4TnVrd0NpSkdYUDJpcWxha0dnWEpPWW5FWmxad3IiLCJtYWMiOiIzOGQ0NmNjMjViMDM3Y2JlMzBmYjQyYTBkNDFlNThhZTYxYTNhNzQwN2I1YWViYjM5NmI4NjNiYTQxZGY1NTg2IiwidGFnIjoiIn0%3D; expires=Tue, 15-Apr-2025 11:23:08 GMT; path=/; httponlythestandardmediagroup_session=eyJpdiI6IjJsVG1qTCtvbml4K0VtR0pVbDkxZGc9PSIsInZhbHVlIjoidFNXS3VBdFlqVFN4b0I1NTkxUUJuVnVrOUo2OWZ2WVFhSEdGMmlnTVQrL1U4Q0J0Ymxkbjg0dV" ] ]
          session_attributes
          0 of 0
          array:4 [ "_token" => "jVxtlTUMdRMux6Dd7JKo38IaPl7FpIuffwJg51AE" "_previous" => array:1 [ "url" => "http://www.standardmedia.co.ke/main-staging/national/article/2001508041/ruto-unveils-sh28-billion-plan-to-modernise-police-prison-services" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "offset" => 0 ]
          ClearShow all
          Date ↕MethodURLData
          #12025-03-16 03:54:08GET/main-staging/national/article/2001508041/ruto-unveils-sh28-billion-plan-to-modernise-police-prison-services1035464