New

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

sukohi/warp

A PHP package mainly developed for Laravel to remember URLs to redirect through session.
35

Larablocks Analysis

sukohi/warp works with Laravel 5 (latest release 2.0.3, Apr 18, 2016), which reached end of life: no more fixes, even for security.

Laravel 4 in earlier releases.

Recommendation checks

Not advised

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

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Apr 18, 2016)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Apr 18, 2016.
  • No releases in the last 12 months.
  • First released: Jun 8, 2015.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require sukohi/warp
Latest Version:2.0.3
Laravel:5
Older releases:4
License:MIT
Last Updated:Apr 18, 2016
Links: GitHub  ·  Packagist
Maintainer: Sukohi

Warp

A PHP package mainly developed for Laravel to remember URLs to redirect through session.
(This is for Laravel 5+. For Laravel 4.2)

Installation

Add this package name in composer.json

"require": {
  "sukohi/Warp": "2.*"
}

Execute composer command.

composer update

Register the service provider in app.php

'providers' => [
    ...Others...,  
    Sukohi\Warp\WarpServiceProvider::class,
]

Also alias

'aliases' => [
    ...Others...,  
    'Warp'   => Sukohi\Warp\Facades\Warp::class
]

Usage

\Warp::set('my_place');
\Warp::set('my_place', $current_url = '');  // or You can set URL you want to keep.


// After moving some pages 

$url = \Warp::get('my_place');
$url = \Warp::get('my_place', $alternative_url = 'http://example.com');    // You also can set alternative(default) URL.
$url = \Warp::get('my_place', $alternative_url, $forget_flag = true);      // If $forget_flag is false, URL you set will not be removed.

with Route name

Warp::set('your.route.name');   // the argument is optional. If in the case, route name automatically will be set.

// After moving some pages 

$url = Warp::route('your.route.name');

License

This package is licensed under the MIT License.

Copyright 2015 Sukohi Kuhoh

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338
laravel/tinker

Powerful REPL for the Laravel framework.

546,909,908 7,440
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

465,816,364 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

431,187,642 4,660

Version History

Version Released PHP Laravel License
2.0.3 ~5.0 MIT
2.0.2 ~5.0 MIT
2.0.1 ~5.0 MIT
2.0.0 ~5.0 MIT
1.0.3 >=5.4.0 4.2.* MIT