定制 kud/avatar-o-matic 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kud/avatar-o-matic

Composer 安装命令:

composer require kud/avatar-o-matic

包简介

Avatar-o-matic, a twitter avatar propaganda.

README 文档

README

This application allows you to create your own avatar propaganda. Choose an avatar, override web/img/avatar.png and set up this application. When it's done, you'll get a great application where people can apply your new avatar to their twitter account. Change the avatars, change the world!

Features

Installation

  • Vendors installation
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
  • Configuration
$ cp app/config/config.php.dist app/config/config.php

Don't forget to insert your own twitter application keys. Go to dev.twitter.com to create an app.

How to use it

Structure

The application boot with app/app.php. This process requires a non-versioned app/config.php, to easily switch between environments (dev, test, prod...):

<?php
require_once __DIR__.'/config.php';
// require_once __DIR__.'/config_dev.php';
// require_once __DIR__.'/config_test.php'
?>

Styles

For the styles, I used SASS. You need it to generate the css. Once done, you can remove SASS if you want and use whatever else you want.

Warning

You can't use any avatar you want. You have to respect a certain weight about the file that I don't know yet.

Thanks

Many thanks to Matt Harris for his great twitter lib. Well coded and includes good examples. Many thanks too to Ludovic Fleury who helped me to do a better app structure.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-03-24