An Interactive Shell to Lumen Framework.

Overview

ABANDONED

Please consider to use the official Laravel Tinker, it is also compatible with Lumen: laravel/tinker

Lumen Artisan Tinker

Join the chat at https://gitter.im/vluzrmos/lumen-tinker

Latest Stable Version Total Downloads License Build Status StyleCI Scrutinizer Code Quality

An Interactive Shell to Lumen Framework.

Preview

Installation

Package Versions:

Lumen Tinker
5.0 1.0.*
5.1 1.1.*
5.3 1.3.0
5.4+ 1.3.*

Download from packagist:

composer require vluzrmos/tinker

Add the Service Provider to the artisan file:

if(class_exists('Vluzrmos\Tinker\TinkerServiceProvider')) {
    $app->register('Vluzrmos\Tinker\TinkerServiceProvider');
}

Note: This will not affect the performance of your application.

And that is it, to see if it works do php artisan, and be sure to see the command tinker there.

To use the shell:

php artisan tinker

Credits

That package is a partial modification of illuminate/framework and that is copyright of Taylor Otwell.

Comments
  • Laravel 5.5?

    Laravel 5.5?

    Hi,

    I've used your tinker with success on laravel 5.4, but on 5.5 I get this error:

    [ReflectionException]
    Method Vluzrmos\Tinker\TinkerCommand::handle() does not exist
    

    Maybe the calling structure changed?

    opened by Lambik 13
  • Does this support lumen 5.2?

    Does this support lumen 5.2?

    Keep getting this error when i try to use it

    PHP Fatal error:  Call to undefined method Laravel\Lumen\Application::resourcePath() in /Users/ken/server/vendor/vluzrmos/tinker/src/TinkerCaster.php on line 48
    
    opened by kenvunz 3
  • Didn't work after upgrading to lumen 5.2

    Didn't work after upgrading to lumen 5.2

    This was probably related to the symphony update.

    I could work around it by adding the type hints in Psy\Shell.php:669, like this: `public function renderException(\Exception $e, OutputInterface $output)``

    But this is not really a solution...

    opened by tralves 3
  • The direction key Unable to work correctly.

    The direction key Unable to work correctly.

    Psy Shell v0.7.2 (PHP 7.0.11 — cli) by Justin Hileman
    >>> ^[[B^[[B^[[B^[[B^[[B
    PHP Parse error: Unexpected character "SCII 27) on unknown line
    >>> ^[[D^[[A^[[C^[[B^[[B^[[D
    

    Why the up down left right key on the keyboard Unable to work correctly?

    It outputs some garbled when I press down.

    opened by logig 2
  • Url generation is fixed in lumen console

    Url generation is fixed in lumen console

    Remove known issues from readme, because the issue is obsolete. https://github.com/laravel/lumen-framework/pull/739

    Example:

    Psy Shell v0.8.18 (PHP 7.2.6 — cli) by Justin Hileman
    New version is available (current: v0.8.18, latest: v0.9.4)
    >>> url('/')
    => "http://localhost"
    

    Before the fix the was no hostname or scheme in the generated url.

    opened by gazben 0
  • Add a Gitter chat badge to readme.md

    Add a Gitter chat badge to readme.md

    vluzrmos/lumen-tinker now has a Chat Room on Gitter

    @vluzrmos has just created a chat room. You can visit it here: https://gitter.im/vluzrmos/lumen-tinker.

    This pull-request adds this badge to your readme.md:

    Gitter

    If my aim is a little off, please let me know.

    Happy chatting.

    PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

    opened by gitter-badger 0
Releases(v1.4.0)
Owner
Vagner Luz do Carmo
PHP | Node | Golang Developer.
Vagner Luz do Carmo
Extendable Interactive Make Command for Laravel

Extendable Interactive Make Command for Laravel Make your life easier with interactive make command! Installation composer require hydreflab/laravel-m

Hydref Lab 37 Nov 29, 2022
ReactPHP Shell, based on the Symfony Console component.

Pecan Event-driven, non-blocking shell for ReactPHP. Pecan (/pɪˈkɑːn/) provides a non-blocking alternative to the shell provided in the Symfony Consol

Michael Crumm 43 Sep 4, 2022
A developer-friendly wrapper around execution of shell commands.

ptlis/shell-command A developer-friendly wrapper around execution of shell commands. There were several goals that inspired the creation of this packa

brian ridley 18 Dec 31, 2022
YAPS - Yet Another PHP Shell

YAPS - Yet Another PHP Shell Yeah, I know, I know... But that's it. =) As the name reveals, this is yet another PHP reverse shell, one more among hund

Nicholas Ferreira 60 Dec 14, 2022
I gues i tried to make a shell that's looks like a terminal in single php file

php-shell-gui Terms of service This tool can only be used for legal purposes. You take full responsibility for any actions performed using this. The o

Squar3 4 Aug 23, 2022
A simple object oriented interface to execute shell commands in PHP

php-shellcommand php-shellcommand provides a simple object oriented interface to execute shell commands. Installing Prerequisites Your php version mus

Michael Härtl 283 Dec 10, 2022
Web Shell Detector – is a php script that helps you find and identify php/cgi(perl)/asp/aspx shells.

Web Shell Detector – is a php script that helps you find and identify php/cgi(perl)/asp/aspx shells. Web Shell Detector has a “web shells” signature database that helps to identify “web shell” up to 99%. By using the latest javascript and css technologies, web shell detector has a light weight and friendly interface.

Maxim 763 Dec 27, 2022
Vendor publish command for Lumen framework.

vendor:publish for Lumen framework This package contains a single command borrowed from the Laravel framework that enables you to use php artisan vend

Laravelista 208 Aug 12, 2022
A package built for lumen that ports most of the make commands from laravel.

A package built for lumen that ports most of the make commands from laravel. For lumen v5.1, but will most likely work for 5.2 as well. I haven't tested. If you have requests, let me know, or do it yourself and make a pull request

Michael Bonds 22 Mar 8, 2022
Cilex a lightweight framework for creating PHP CLI scripts inspired by Silex

Cilex, a simple Command Line Interface framework Cilex is a simple command line application framework to develop simple tools based on Symfony2 compon

null 624 Dec 6, 2022
A powerful command line application framework for PHP. It's an extensible, flexible component, You can build your command-based application in seconds!

CLIFramework CLIFramework is a command-line application framework, for building flexiable, simple command-line applications. Commands and Subcommands

Yo-An Lin 428 Dec 13, 2022
☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server

☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、WorkerMan、FPM、CLI-Server

Mix PHP 1.8k Jan 3, 2023
Console component from Zend Framework

zend-console Repository abandoned 2019-12-31 This repository has moved to laminas/laminas-console. Zend\Console is a component to design and implement

Zend Framework 47 Mar 16, 2021
A webshell plugin and interactive shell for pentesting a Moodle instance.

Moodle webshell plugin for RCE A webshell plugin and interactive shell for pentesting a Moodle instance. Features Webshell plugin for Moodle. Execute

Podalirius 11 Oct 10, 2022
PHP Reverse Shell > reverse-shell.php

PHP Reverse Shell > reverse-shell.php PHP Cmd Shell > cmd.php JPG cmd Shell > cmd.jpg /etc/passwd Pulling Shell > etc-passwd.php Configuration Pulling

Dark-Network 5 Feb 24, 2022
A multi-purpose web-shell that simplifies running shell commands on webserver

This webshell can be used for multi-purposed especially most if you want to manage your web server but you are in an emergency , so why not use a webshell:)

urchinsec 5 Oct 13, 2022
The Interactive PHP Debugger

The interactive PHP debugger Implemented as a SAPI module, phpdbg can exert complete control over the environment without impacting the functionality

Joe Watkins 841 Oct 9, 2022
Ariama Victor (A.K.A. OVAC4U) 106 Dec 25, 2022