Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a composer.json file #1355

Closed
spoonerWeb opened this issue Feb 8, 2017 · 4 comments
Closed

Add a composer.json file #1355

spoonerWeb opened this issue Feb 8, 2017 · 4 comments

Comments

@spoonerWeb
Copy link

Would be awesome to get your package via composer.

@Mottie
Copy link
Owner

Mottie commented Feb 8, 2017

Hi @spoonerWeb!

Will do... I'll get that file added soon!

@Mottie Mottie closed this as completed in f2f2464 Feb 8, 2017
@Mottie Mottie reopened this Feb 8, 2017
@Mottie
Copy link
Owner

Mottie commented Feb 8, 2017

Hmm, when I tried to submit to Packagist, I get an error message:

The CSRF token is invalid. Please try to resubmit the form.

First off I'm a php n00b... this Stack Overflow answer isn't very helpful since it is meant for Symfony2.

I did not include these sections in the composer.json (ref) since I wasn't sure what settings to use. Could this be the cause of the error?

"require": {
    "php": ">=5.3.0"
},
"autoload": {
    "psr-0": {
        "Monolog": "src"
    }
}

@Mottie
Copy link
Owner

Mottie commented Feb 8, 2017

Wow, the original tablesorter has a fork with this composer.json file....

{
  "name":"christianbach/tablesorter"
}

Maybe I added too much?

@Mottie
Copy link
Owner

Mottie commented Apr 2, 2017

Ok all set! https://packagist.org/packages/mottie/tablesorter

Sorry again for the long delay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants