zphalcon / phalcon-tip
Source code of The official Phalcon Tip site
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 23
Watchers: 5
Forks: 11
Open Issues: 1
Type:project
Requires
- php: >= 5.4
- ext-iconv: *
- ext-mbstring: *
- ext-phalcon: ~3.0
- aws/aws-sdk-php: ~2.5
- dropbox/dropbox-sdk: 1.1.*
- elasticsearch/elasticsearch: ~1.0
- guzzle/guzzle: >=4.0|<7.0
- kzykhys/ciconia: ~1.0
- monolog/monolog: 1.11.*@dev
- phpspec/php-diff: ~1.0
- swiftmailer/swiftmailer: ~5.4
Requires (Dev)
- codeception/codeception: *
- fzaninotto/faker: *
- mockery/mockery: dev-master
- squizlabs/php_codesniffer: 1.*
This package is not auto-updated.
Last update: 2025-03-19 12:31:56 UTC
README
This is the official Phalcon Tip it clone from Phalcon Forum, you can adapt it to your own needs or improve it if you want.
Please write us if you have any feedback.
Thanks.
NOTE
The master branch will always contain the latest stable version. If you wish to check older versions or newer ones currently under development, please switch to the relevant branch.
Get Started
Requirements
To run this application on your machine, you need at least:
- Curl extension
- Openssl extension
- Internationalization (intl) extension
- Mbstring (mbstring) extension
- Composer
- PHP >= 5.4
- Apache Web Server with mod_rewrite enabled or Nginx Web Server
- Latest stable Phalcon Framework release extension enabled
- Beanstalkd server
Installation
Install composer in a common location or in your project:
$ curl -s http://getcomposer.org/installer | php
Create the composer.json file as follows:
{ "require": { "zphalcon/phalcon-tip": "dev-master" } }
Run the composer installer:
$ php composer.phar install
Then you'll need to create the database and initialize schema:
$ echo 'CREATE DATABASE phalcontip CHARSET=utf8 COLLATE=utf8_unicode_ci' | mysql -u root $ cat schemas/phalcontip.sql | mysql -u root phalcontip
Initial Test Data
You can create fake entries on an empty PhalconTip installation by running:
Note: The script random-entries.php must be executed inside the scripts directory
$ cd scripts
$ php random-entries.php
Change the owner of app/logs
and app/cache
to whatever user your web server is running as.
This application uses Github as authentication system, you need a client id and secret id
to be set up in the configuration (app/config/config.php
).
Starting the Beanstalkd client
A PHP client to deliver e-mails must be enabled in background:
$ php scripts/send-notifications-consumer.php &
Tests
Phalcontip use Codeception functional and unit tests. Execute:
$ vendor/bin/codecept build $ vendor/bin/codecept run # OR $ vendor/bin/codecept run --debug # Detailed output
License
PhalconTip open-sourced software licensed under the New BSD License. © Phalcon Framework Team and contributors