PHPackages                             avolle/cakephp-deadlinks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. avolle/cakephp-deadlinks

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

avolle/cakephp-deadlinks
========================

CakePHP Plugin to search database entries for dead links

2.0.0(2y ago)1634[1 PRs](https://github.com/mentisy/cakephp-deadlinks/pulls)MITPHPPHP ^8.1

Since Jul 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mentisy/cakephp-deadlinks)[ Packagist](https://packagist.org/packages/avolle/cakephp-deadlinks)[ RSS](/packages/avolle-cakephp-deadlinks/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (4)Dependencies (4)Versions (7)Used By (0)

Deadlinks CakePHP Plugin
========================

[](#deadlinks-cakephp-plugin)

[![Deadlinks CI](https://github.com/mentisy/cakephp-deadlinks/actions/workflows/ci.yml/badge.svg)](https://github.com/mentisy/cakephp-deadlinks/actions/workflows/ci.yml)

Scan links inside your database records to make sure they're not dead.

The links you once inserted into your database may not work in the future. This plugin makes sure all your links are well and alive. If any links are found to be dead, the results can be ouput through various methods.

Output methods:

- Terminal
- Log file
- Mail

Version map:
------------

[](#version-map)

PluginBranchCakePHP2.xmain5.x^8.11.x1.x4.x^7.4 | ^8.0Installation
------------

[](#installation)

`composer require avolle/cakephp-deadlinks`

Usage
-----

[](#usage)

Add a config file in your app config folder, describing which tables and fields to scan. Optionally you can insert an email recipient to receive results when selecting the mail ouput method.

Example config file (`/config/deadlinks.php`): This config file will scan the following tables and fields:

- Files
    - linkOne
    - linkTwo
- Links
    - link
- Resources
    - link

```
