PHPackages                             chrisrhymes/link-checker - 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. [Database &amp; ORM](/categories/database)
4. /
5. chrisrhymes/link-checker

ActiveLibrary[Database &amp; ORM](/categories/database)

chrisrhymes/link-checker
========================

A laravel package to check for broken links in database content

v0.9(11mo ago)151.1k1[1 issues](https://github.com/chrisrhymes/link-checker/issues)[1 PRs](https://github.com/chrisrhymes/link-checker/pulls)MITPHPCI passing

Since Sep 16Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/chrisrhymes/link-checker)[ Packagist](https://packagist.org/packages/chrisrhymes/link-checker)[ GitHub Sponsors](https://github.com/chrisrhymes)[ RSS](/packages/chrisrhymes-link-checker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (17)Used By (0)

Link Checker for Laravel
========================

[](#link-checker-for-laravel)

A package that will check for broken links in the specified model's fields. It will check both URL fields and fields containing HTML.

[![Downloads](https://camo.githubusercontent.com/66391d00cec9e38c240c9d99540ecc0223c039d395cefc9e7e68fc0406c5a17c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63687269737268796d65732f6c696e6b2d636865636b65722e737667)](https://camo.githubusercontent.com/66391d00cec9e38c240c9d99540ecc0223c039d395cefc9e7e68fc0406c5a17c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63687269737268796d65732f6c696e6b2d636865636b65722e737667)[![Downloads](https://camo.githubusercontent.com/42beaa2294954db55260ded4091d28360d8e79ff40c07a39380925809d310f66/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f63687269737268796d65732f6c696e6b2d636865636b65722e737667)](https://camo.githubusercontent.com/42beaa2294954db55260ded4091d28360d8e79ff40c07a39380925809d310f66/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f63687269737268796d65732f6c696e6b2d636865636b65722e737667)

Contents
--------

[](#contents)

- [Getting Started](#getting-started)
- [Usage](#usage)
    - [Relative links](#relative-links)
- [Rate Limiting](#rate-limiting)
- [User Agent](#user-agent)
- [Verify SSL](#verify-ssl)
- [Tests](#tests)

Getting Started
---------------

[](#getting-started)

```
composer require chrisrhymes/link-checker
```

### Migrate the database

[](#migrate-the-database)

```
php artisan migrate
```

### Add the Trait to your models

[](#add-the-trait-to-your-models)

Add the HasBrokenLinks trait to your model

```
