A CLI starter pack for developing a package with Laravel 5

Overview

Laravel PackMe

Build Status Code Coverage Scrutinizer Code Quality StyleCI SensioLabsInsight

Laravel PackMe is a project starter pack which combine all basic stuff (src, tests) in order to develop a package for Laravel 5.*. It takes care about tests and best pratices I gathered over some cool repository. With one command line, you are ready to develop a package in good condition. It works like Laravel installer.

Most of this repository's common practices comes from Graham Campbell. You should follow him!

Laravel PackMe was created by, and is maintained by Pierre Tondereau. It utilises Laravel TestBench package. Feel free to check out the change log, license, and contribution guidelines.

Installation

Either PHP 5.5+ or HHVM 3.6+ are required.

To get the latest version of Laravel PackMe, simply require the project using Composer:

$ composer global require ptondereau/laravel-packme

Usage

$ packme create my-package
$ cd my-package/
$ composer install

This will prompt to you so question and it will create a folder my-package/ with all prepared files. Such as laravel installer. You should review composer.json, README.md and LICENSE.

Further Information

There are other classes in this package that are not documented here. This is because they are not intended for public use and are used internally by this package.

License

Laravel PackMe is licensed under The MIT License (MIT).

You might also like...
PHP CLI project to get an appointment from https://vacunacovid.catsalut.gencat.ca

covid_vaccine_bcn PHP CLI project to get an appointment from https://citavacunacovid19.catsalut.gencat.cat/Vacunacio_Covid/Vacunacio/VacunacioCovidRes

PHP CLI to add latest release notes to a CHANGELOG

changelog-updater A PHP CLI to update a CHANGELOG following the "Keep a Changelog" format with the latest release notes. Want to automate the process

unofficial cli built using php which can be used to upload and download files from anonfiles.com

Anonfiles CLI Table of Contents Introduction Features Screenshots Installation Contributing License Introduction Anon Files CLI can upload and downloa

A CLI program that helps you check your endpoints by requesting the given servers and send a report message in any supported channel like Telegram

API Monitor A CLI program that help you check your endpoints by requesting the given servers and send a report message in any supported channel ( Tele

Termage provides a fluent and incredibly powerful object-oriented interface for customizing CLI output text color, background, formatting, theming and more.
Termage provides a fluent and incredibly powerful object-oriented interface for customizing CLI output text color, background, formatting, theming and more.

Termage provides a fluent and incredibly powerful object-oriented interface for customizing CLI output text color, background, formatting, theming and

PHPFusion CLI

PHPFusion CLI Installation Source Add path\to\PF-CLI\bin to your system PATH .phar file Download pf.phar Check the Phar file to verify that it's worki

Drupal.org Git CLI
Drupal.org Git CLI

doGit Drupal.org + Git CLI application. doGit assists in making the transition to merge requests, and general Git operations, easier for Drupal develo

A Magento 2 module that adds a CLI bin/magento cms:dump to dump all CMS pages and CMS blocks to a folder var/cms-output.

A Magento 2 module that adds a CLI bin/magento cms:dump to dump all CMS pages and CMS blocks to a folder var/cms-output.

Host Onion services in dark web using Heroku CLI
Host Onion services in dark web using Heroku CLI

Tor Onion Service On Heroku Host Tor v3 Hidden Service in dark web using heroku Try my another repository built with php https://github.com/sumithemma

Comments
  • Installation issue

    Installation issue

    Run this: composer global require ptondereau/laravel-packme

    Get this: Your requirements could not be resolved to an installable set of packages.

    Problem 1 - Installation request for ptondereau/laravel-packme ^2.1 -> satisfiable by ptondereau/laravel-packme[2.1.0]. - Conclusion: remove symfony/filesystem v4.0.8 - Conclusion: don't install symfony/filesystem v4.0.8 - ptondereau/laravel-packme 2.1.0 requires symfony/filesystem ^3.1 -> satisfiable by

    Installation failed, reverting ./composer.json to its original content.

    When i try to remove it:

    symfony/filesystem is not required in your composer.json and has not been removed v4.0.8 is not required in your composer.json and has not been removed Package "v4.0.8" listed for update is not installed. Ignoring.

    opened by natanshalva 5
  • PHP Debricated PHP Deprecated:  Non-static method Ptondereau\PackMe\Commands\CreateCommand::handle()

    PHP Debricated PHP Deprecated: Non-static method Ptondereau\PackMe\Commands\CreateCommand::handle()

    First, thanks for this greate package!

    After the last update one can't use packme anymore. When run on windows or homestead I got this message:

    PHP Deprecated:  Non-static method Ptondereau\PackMe\Commands\CreateCommand::handle() should not be called statically in {Roaming}\vendor\mnapoli\silly\src\Application.php on line 207
    
    Deprecated: Non-static method Ptondereau\PackMe\Commands\CreateCommand::handle() should not be called statically in {Roaming}\Composer\vendor\mnapoli\silly\src\Application.php on line 207
    PHP Fatal error:  Uncaught TypeError: ReflectionFunction::__construct() expects parameter 1 to be string, array given in {Roaming}\Composer\vendor\mnapoli\silly\src\Application.php:209
    Stack trace:
    #0 {Roaming}\Composer\vendor\mnapoli\silly\src\Application.php(209): ReflectionFunction->__construct(Array)
    #1 {Roaming}\Composer\vendor\mnapoli\silly\src\Application.php(97): Silly\Application->defaultsViaReflection(Array)
    #2 {Roaming}\Composer\vendor\ptondereau\laravel-packme\src\packme.php(39): Silly\Application->command('create [dir]', Array)
    #3 {main}
      thrown in {Roaming}\Composer\vendor\mnapoli\silly\src\Application.php on line 209
    
    Fatal error: Uncaught TypeError: ReflectionFunction::__construct() expects parameter 1 to be string, array given in {Roaming}\Composer\vendor\mnapoli\silly\src\Application.php:209
    Stack trace:
    #0 {Roaming}\Composer\vendor\mnapoli\silly\src\Application.php(209): ReflectionFunction->__construct(Array)
    #1 {Roaming}\Composer\vendor\mnapoli\silly\src\Application.php(97): Silly\Application->defaultsViaReflection(Array)
    #2 {Roaming}\Composer\vendor\ptondereau\laravel-packme\src\packme.php(39): Silly\Application->command('create [dir]', Array)
    #3 {main}
      thrown in {Roaming}\Composer\vendor\mnapoli\silly\src\Application.php on line 209
    
    
    opened by okaufmann 4
Releases(2.1.1)
Owner
Pierre Tondereau
Jobless baby Rustacean 🦀 - Former PHP/React developer 🐘 ⚛️
Pierre Tondereau
WP-CLI Trait Package Command

WP-CLI Trait Package Command Generate plugin or php model files e.g. post-type or taxonomy for WP-Trait Package in Develop WordPress Plugin. Installat

Mehrshad Darzi 2 Dec 17, 2021
A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies

A CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package. This will prevent you from using "soft" dependencies that are not defined within your composer.json require section.

Matthias Glaub 722 Dec 30, 2022
🖥 Build beautiful PHP CLI menus. Simple yet Powerful. Expressive DSL.

Contents Minimum Requirements Installation Upgrading Usage Quick Setup Examples API Appearance Menu Title Colour Width Padding Margin Borders Exit But

PHP School 1.9k Dec 28, 2022
An Elegant CLI Library for PHP

Commando An Elegant PHP CLI Library Commando is a PHP command line interface library that beautifies and simplifies writing PHP scripts intended for c

Nate Good 793 Dec 25, 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
PHP Version Manager for the CLI on Windows

This package has a much more niche use case than nvm does. When developing on Windows and using the integrated terminal, it's quite difficult to get those terminals to actually listen to PATH changes.

Harry Bayliss 49 Dec 19, 2022
Library for creating CLI commands or applications

Console Motivation: this library purpose is to provide a lighter and more robust API for console commands and/or applications to symfony/console. It c

Théo FIDRY 16 Dec 28, 2022
PHP CLI tool which allows publishing zipped MODX extra to modstore.pro marketplace

MODX Extra Publisher PHP CLI tool which allows publishing zipped MODX extra to modstore.pro marketplace. Installation global? local? To install packag

Ivan Klimchuk 3 Aug 6, 2021
A handy set of Stringable mixins for CLI text.

Laravel Colorize A mixin for Laravel's Stringable to easily apply colors and styles to CLI text. Installation You can install the package via Composer

James Brooks 47 Oct 30, 2022