PHPackages                             hansott/lastify - 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. hansott/lastify

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

hansott/lastify
===============

Lastify syncs spotify playlists with your last.fm top tracks.

1.0.2(10y ago)613MITPHPPHP &gt;=5.3.0

Since Mar 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/hansott/lastify)[ Packagist](https://packagist.org/packages/hansott/lastify)[ Docs](https://github.com/hansott/lastify)[ RSS](/packages/hansott-lastify/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

Lastify
=======

[](#lastify)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9129e756f52741662c7cc995fefa5985ac70a0b27ff9876674ff98a2831a6e0c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68616e736f74742f6c6173746966792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hansott/lastify)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/56ff8949522e5d8d407ce92c49b8d75a69f833947e644b4b9de45ee83834579b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f68616e736f74742f6c6173746966792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/hansott/lastify)[![Coverage Status](https://camo.githubusercontent.com/261d758262015d4d3e3b59d377152aac765f63162a9de67ef9e31aa1b1ce8c10/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f68616e736f74742f6c6173746966792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/hansott/lastify/code-structure)[![Quality Score](https://camo.githubusercontent.com/a7fa0af254d0d4c9cff05956267dcf02d376e156fe2117d1c6888241daffb0bb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f68616e736f74742f6c6173746966792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/hansott/lastify)[![Total Downloads](https://camo.githubusercontent.com/6631ac859987d9ebd8108e9a7cc875a7f59101c8e4c26431954383772f76d4d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68616e736f74742f6c6173746966792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hansott/lastify)

Lastify is a PHP library that syncs your music between Last.fm, Spotify, etc.

Install
-------

[](#install)

Via Composer

```
$ composer require hansott/lastify
```

Usage
-----

[](#usage)

1. Generate a spotify access token: [Spotify Api Console](https://developer.spotify.com/web-api/console/get-current-user/) (OAuth Scope: playlist-read-private, playlist-modify-public &amp; playlist-modify-private)
2. Create a last.fm API account and copy the api key: [Create API account](http://www.last.fm/api/account/create) (Note: You cannot view your API account after creating.)

```
