PHPackages                             indieweb/salmon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. indieweb/salmon

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

indieweb/salmon
===============

A set of PSR-0 autoloadable classes for dealing with the Salmon protocol and magic signatures

v0.1.0(13y ago)329PHP

Since Aug 29Pushed 13y ago12 watchersCompare

[ Source](https://github.com/barnabywalters/salmon-php)[ Packagist](https://packagist.org/packages/indieweb/salmon)[ RSS](/packages/indieweb-salmon/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

salmon-php
==========

[](#salmon-php)

Some PHP classes for dealing with Salmon, both original code and modified forks of stuff which is elsewhere. Packaged up as a Composer package, all PSR-0 compliant for awesome autoloading.

Contains:

- Nat Sakimura's [php-magic-signatures](https://bitbucket.org/Nat/php-magic-signatures/overview), packaged up as an autoloadable class

Installation
------------

[](#installation)

Install using [Composer](http://getcomposer.org). If you don't already have composer, download it per their instructions. Then:

1. Add `indieweb/salmon` to your project's `composer.json` file, so it looks a bit like this:

    ```
     {
     	"require" : {
     		"indieweb/salmon": "*"
     	},
     	"minimum-stability": "dev"
     }

    ```

    If you've never used composer, this is just specifying that your project needs the indieweb/salmon package in order to work, it doesn't matter which version you get, and it's all right to use packages which are in development.
2. Run `php composer.phar update`
3. Provided there were no errors, you should now have indieweb/salmon installed

Usage
-----

[](#usage)

indieweb/push supports psr-0 autoloading, so using the classes is easy provided you're familiar with PHP namespaces.

```
