New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ssx/threeohone

A simple Laravel package to deal with handling 301 redirects.
1,204 1

Larablocks Analysis

ssx/threeohone works with any PHP project: the latest release (1.0.0, Jan 4, 2016) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Jan 4, 2016)
  • 0 downloads a month (needs 10,000)
  • 1 GitHub star (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Jan 4, 2016.
  • No releases in the last 12 months.
  • First released: Oct 30, 2015.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.

Install
composer require ssx/threeohone
Latest Version:1.0.0
License:MIT
Last Updated:Sep 25, 2019
Links: GitHub  ·  Packagist
Maintainer: ssx

ThreeOhOne

A simple Laravel package to deal with handling 301 redirects.

Installation
- Add to `"ssx/threeohone": "0.0.1",` to composer.json
- Add Service Provider `SSX\ThreeOhOne\Providers\ThreeOhOneServiceProvider::class` to config/app.php
- Add Global Middleware `\SSX\ThreeOhOne\Middleware\CheckForRedirect::class` to Http/Kernel.php
- Run vendor:publish
- php artisan migrate
- Add records to redirect table

#### Usage Two types of redirect, 'domain' and 'path'. A domain redirect will redirect:

www.site.com/path/to/file.html to http://test.com

A path redirect will ignore the domain only use the requested path, ie:

/path/to/file.html to http://example.com

Which is useful on sites that have subdomains.

Todo
  • Add caching
  • Add tests

Related Packages

dannymcc/laravel-redirection

Redirect pages.

27 0
yaroslawww/laravel-force-https

Easy redirect to https for Laravel.

9,749 12
jeffersongoncalves/laravel-short-url

A Laravel package for creating and redirecting short URLs, with caching and an e...

1,080 5
nwidart/httpstatus

HttpStatus is a small package that adds pretty error pages.

459 17
owenmelbz/domain-enforcement

Laravel 5+ middleware to enforce a single domain on your application. e.g non-ww...

4,935 23

Version History

Version Released License
1.0.0 MIT
0.0.2 MIT
0.0.1 MIT