Skip to content

Add composer autoload support#1

Open
Pascal-So wants to merge 1 commit intosimplepush:masterfrom
Pascal-So:master
Open

Add composer autoload support#1
Pascal-So wants to merge 1 commit intosimplepush:masterfrom
Pascal-So:master

Conversation

@Pascal-So
Copy link

While trying to use the package as indicated in the "Libraries - PHP" section on https://simplepush.io/, I got error messages, the class "Simplepush" could not be found. By adding a classmap autoload instruction to the composer.json file, this can be fixed without having to add a namespace, therefore without breaking backwards compatibility.

I also bumped the version to 1.0.2 so that composer would download the version from my forked repo while I was checking to see if this works, not the version from packagist.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant