Git Product home page Git Product logo

bootpack's Issues

Comma in config/app.php is missing

Package is great, but one small error. When generating service provider, comma is not added on end and app has compailer errors.

Thats all, everything else good :)

Error Exception, Undefined offset: 1

Hello,

have followed the instruction to install the package as written in the documentation, at the final step I got this error:
[ErrorException]
Undefined offset: 1.

Any suggestion on how can I resolve that?

bootpack

Here is a screenshot of the error.

Thanks

D

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

laravel5.5.0

  • consoletvs/bootpack 1.1.0 requires consoletvs/support ^1.0.6 -> satisfiable by consoletvs/support[1.0.6, 1.0.7].
    • consoletvs/bootpack 1.1.1 requires consoletvs/support ^2.2.0 -> satisfiable by consoletvs/support[2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.5].
    • consoletvs/bootpack 1.1.2 requires consoletvs/support ^2.2.0 -> satisfiable by consoletvs/support[2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.5].
    • consoletvs/bootpack 1.1.3 requires consoletvs/support ^2.2.0 -> satisfiable by consoletvs/support[2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.5].
    • consoletvs/bootpack 1.1.4 requires consoletvs/support ^2.2.0 -> satisfiable by consoletvs/support[2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.5].
    • consoletvs/bootpack 1.1.5 requires consoletvs/support ^2.2.0 -> satisfiable by consoletvs/support[2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.5].
    • consoletvs/bootpack 1.1.6 requires consoletvs/support ^2.2.0 -> satisfiable by consoletvs/support[2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.5].
    • consoletvs/bootpack 1.1.7 requires consoletvs/support ^2.2.0 -> satisfiable by consoletvs/support[2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.5].
    • consoletvs/bootpack 1.1.8 requires consoletvs/support ^2.2.0 -> satisfiable by consoletvs/support[2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.5].
    • consoletvs/support 1.0.6 requires intervention/image ^2.4 -> satisfiable by intervention/image[2.4.0, 2.4.1].
    • consoletvs/support 1.0.7 requires intervention/image ^2.4 -> satisfiable by intervention/image[2.4.0, 2.4.1].
    • consoletvs/support 2.2.0 requires intervention/image ^2.4 -> satisfiable by intervention/image[2.4.0, 2.4.1].
    • consoletvs/support 2.2.1 requires intervention/image ^2.4 -> satisfiable by intervention/image[2.4.0, 2.4.1].

Add please new subdirs

Add please src/Requests, src/Seeds.

Excellent help in package development. Thank you!

Hyphens in namespaces

Upon attempting to create a package called vendor/test-package, the namespace of Vendor\Test-package is suggested. When chnged to Vendor\TestPackage, the service provider and any other class, actually, retains the Test-package name.

Case in point:

Creating the root folder...                                                                  
Project root created at: /laravel-packages/packages/vendor/test-package            
Collecting package information...                                                            
                                                                                             
 What is your name? [Mike Rockett]:                                                          
 >                                                                                           
                                                                                             
 What is the package name? [vendor/test-package]:                                            
 >                                                                                           
                                                                                             
 What is the package description? [Awesome Package]:                                         
 >                                                                                           
                                                                                             
 What is the package license? [MIT]:                                                         
 >                                                                                           
                                                                                             
 What is the package min PHP version? [7.0]:                                                 
 >                                                                                           
                                                                                             
 What is the package namespace? [Vendor\Test-package]:                                       
 > Vendor\TestPackage                                                                        
                                                                                             
Great, confirm the following data before we go ahead!                                        
+---------------------+-----------------+--------------+---------+-----+--------------------+
| name                | description     | author       | license | php | namespace          |
+---------------------+-----------------+--------------+---------+-----+--------------------+
| vendor/test-package | Awesome Package | Mike Rockett | MIT     | 7.0 | Vendor\TestPackage |
+---------------------+-----------------+--------------+---------+-----+--------------------+
  • Service provider: Test-packageServiceProvider
  • All other classes: Test-package*

But, the namespace is correct.

Facades folder

This has just saved me a ton of time! Thank you so much!

Not sure how to send a PR, but could you add a facades folder too?

Thanks,

Daniel.

How to add tests and run it in laravel app

Its great bootstrap package but how would I go about testing my package, it has everything but nothing for tests. Most of the packages I see have a src and tests folder in the root.

It will be very helpful if someone can give me steps to set up the TDD for laravel package.

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.