doubleleft / hook
backend as a service
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 770
Watchers: 66
Forks: 84
Open Issues: 27
Requires
- php: >=5.4.0
- ext-mbstring: *
- cboden/ratchet: 0.3.*
- composer/composer: 1.0.0-alpha10
- doctrine/dbal: 2.*
- endel/slim: dev-master
- guzzlehttp/guzzle: 4.2.*
- illuminate/cache: 5.1.*
- illuminate/config: 5.1.*
- illuminate/database: 5.1.*
- illuminate/encryption: 5.1.*
- illuminate/events: 5.1.*
- patchwork/utf8: ~1.2
- react/socket: 0.4.*
- swiftmailer/swiftmailer: 5.0.*
- zordius/lightncandy: ~0.19
Requires (Dev)
- aws/aws-sdk-php: 2.7.*
- dropbox/dropbox-sdk: 1.1.*
- duccio/apns-php: dev-master
- jenssegers/mongodb: 2.1.*
- mockery/mockery: 0.8.0
- opauth/facebook: dev-master
- opauth/opauth: dev-master
- opauth/twitter: dev-master
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-12-21 18:04:08 UTC
README
Welcome to hook
![Gitter](https://badges.gitter.im/Join Chat.svg)
hook is a RESTful, extendable Backend as a Service that provides instant backend to develop sites and apps faster, with dead-simple integration for iOS, Android, JavaScript and more.
Requirements: PHP 5.5+, or PHP 5.3.
Features
- Multitenancy (same instance may be used for many apps)
- User authentication (register, login, reset password)
- Data persistance through
collections
- Data storage through many providers
- Real-time communication through WAMP subprotocol (WebSockets).
- Package management through composer
Installation
Run this command in your terminal to get the lastest version:
curl -sSL https://raw.githubusercontent.com/doubleleft/hook/master/scripts/install.sh | bash
At the end of the process you should have hook and hook-cli installed in your machine.
How to use
Run the server locally:
hook server
Create a new application from the commandine:
hook app:new my-app --endpoint http://0.0.0.0:4665
It will output access keys to use in the front-end. Checkout this example using JavaScript frontend.
Take a look at the documentation for more details.
Front-end Integration
Reduce the gap between backend and frontend development:
- JavaScript (docs)
- C# / Unity3D
- Corona SDK
- iOS / OSX
- Java / Android
- C++
- PHP (docs)
- Ruby (docs)
- Flash / ActionScript 3.0
License
MIT.