Giter Site home page Giter Site logo

laravel-packme's Introduction

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).

laravel-packme's People

Contributors

ahuggins avatar ptondereau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

laravel-packme's Issues

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.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.