PHPHub is a Forum project written in Laravel 4.2, and it is also the project build up PHP & Laravel China community.
PHPHub for iOS is the universal iPhone and iPad application for PHPHub, This is the official PHPHub iOS client that uses the newly introduced official PHPHub API, One of the cool features of the new API are updates pushed in real time.
If you have any questions please don't hesitate to ask them in an issue or email me at firstname.lastname@example.org.
Our team is EST Group, Check out this link if you want to know more details.
PHPHub related projects
You can checkout the others open source projects of PHPHub in the following list.
- PHPHub-Server by @NauxLiu
- PHPHub-Android by @Kelvin and @Xiaoxiaoyu
- PHPHub-UI by @Summer and @Aufree
- PHPHub-Web by @Summer
- Support the iPhone and the iPad perfectly
- Integrate Google Analytics
- Support User Feedback (UMeng)
- Apple Push Notification Service (Jpush)
- Social Share (UMeng)
- Crash Reporting (Crashlytics)
- Data Persistence (User Model)
- Launch Screen Ads
- Scan to login (QRCodeReaderViewController)
- Full screen Pop Gesture (FDFullscreenPopGesture)
- Open images of web view in-app (JTSImageViewController]
- An iPhone/iPad running iOS 8.0+
- Xcode 7.0 or above
If you're not install the Cocoapods on your machine, Run:
$ gem install cocoapods $ pod setup
Download the source code
$ git clone https://github.com/Aufree/phphub-ios
Now you'll need to build the dependencies
$ pod install
Next you'll need to create your own version of environment-specific data. Make a copy of SecretConstant.example.h as SecretConstant.h:
$ cp PHPHub/Constants/SecretConstant.example.h PHPHub/Constants/SecretConstant.h
Now you need to apply for a
Client_id and a
Client_secret in this link (Use in production environments).
SecretConstant.h and set it up.
Run this command to create a plist file for Jpush.
$ cp PHPHub/PushConfig.example.plist PHPHub/PushConfig.plist
You can setup your Jpush appkey in
PHPHub/PushConfig.plist if you want to use Jpush.
Run the application in the debug mode.
Select Product -> Scheme -> Edit Schemes -> Info -> Change Build Configuration to Debug mode.
Important: You shouldn't test your code in production environment!
PHPHub.xcworkspace in Xcode.
Note: Don't open the .xcodeproj because we use Cocoapods now!
That's it! Have Fun!
How should I Login?
Scan this QRCode by using PHPHub for iOS application.
Go to PHPHub's official website and Login with GitHub. then find your QRCode in your personal page. It should look like this:
Who made this
I'm Aufree, A passionate engineer, leading member of The EST Group, and while I am college dropout, I want to make some cool stuff in GitHub, That's why I'm here, you can ping me on Twitter or follow me on Weibo If you find an issue.
- @Aufree - An engineer love of technology.
- @Moneky - Amazing guy.
- @Summer - The only true man I have always admire, this guy can do anything.
Thank you for your interest in contributing to PHPHub for iOS! Your ideas for improving this app are greatly appreciated. The best way to contribute is by submitting a pull request. I'll do my best to respond to you as soon as possible. You can also submit a new GitHub issue if you find bugs or have questions.
This software additionally references or incorporates the following sources of intellectual property, the license terms for which are set forth in the sources themselves:
The following dependencies are bundled with the PHPHub, but are under terms of a separate license:
|MJRefresh||An easy way to use pull-to-refresh|
|Qiniu||Qiniu cloud iOS SDK|
|DateTools||Dates and times made easy in Objective-C|
|GVUserDefaults||NSUserDefaults access via properties.|
|FDFullscreenPopGesture||An UINavigationController's category to enable fullscreen pop gesture in an iOS7+ system style with AOP.|
|UIActionSheet+Blocks||Category on UIActionSheet to use inline block callbacks instead of delegate callbacks.|
For a more complete list, check the Podfile.
Copyright (c) 2015 Paul King
Released under the MIT license