{"id":18628662,"url":"https://github.com/caffe1neadd1ct/phalcon-base","last_synced_at":"2025-11-04T03:30:23.306Z","repository":{"id":201737780,"uuid":"58560394","full_name":"Caffe1neAdd1ct/phalcon-base","owner":"Caffe1neAdd1ct","description":"Base project for starting phalcon framework applications","archived":false,"fork":false,"pushed_at":"2016-11-03T16:01:11.000Z","size":1219,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T11:00:17.895Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Caffe1neAdd1ct.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-05-11T16:08:21.000Z","updated_at":"2016-05-11T16:08:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"67d33ac3-904d-41ff-bcb6-d78f2495846e","html_url":"https://github.com/Caffe1neAdd1ct/phalcon-base","commit_stats":null,"previous_names":["caffe1neadd1ct/phalcon-base"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caffe1neAdd1ct%2Fphalcon-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caffe1neAdd1ct%2Fphalcon-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caffe1neAdd1ct%2Fphalcon-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caffe1neAdd1ct%2Fphalcon-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Caffe1neAdd1ct","download_url":"https://codeload.github.com/Caffe1neAdd1ct/phalcon-base/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239425338,"owners_count":19636346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T04:48:32.846Z","updated_at":"2025-11-04T03:30:22.866Z","avatar_url":"https://github.com/Caffe1neAdd1ct.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phalcon Base Application\n\n## Intro\n\nA collection of boilerplate code for Phalcon Framework projects to enable even faster project setup and development.\n\n\n## Setup\n\n    git clone git@github.com:Caffe1neAdd1ct/phalcon-base.git\n\n\n### Compiling Phalcon\n\n    git clone --depth=1 git://github.com/phalcon/cphalcon.git\n    cd cphalcon/build\n    sudo ./install\n\nIf needed change the PHP executable path inside `install`, some installations are suffixed e.g php55 php56\n\n\n### Installing dependencies via Composer\n\n    cd phalcon-base/\n    /usr/bin/php /path/to/composer.phar install --dev\n\n\n### PHP In Built Web Server\n\n    cd phalcon-base/\n    /usr/bin/php -S localhost:8000 -t public public/htrouter.php\n\nThe PHP inbuilt webserver should only be used for development purposes.\n\n\n### Application Settings\n\n\n#### Database\n    adapter  - Mysql Sqlite\n    host     - 127.0.0.1\n    user     - notroot?\n    password - secret\n    dbname   - schema or filename\n    dbdir    - only for sqlite, path to db file.\n\n#### Database migrations\n    ./vendor/bin/phalcon.php migration run --config=app/config/app.ini --migrations=/app/migrations/\n\n\n#### Url / Routing\n    host    - domain / host\n    baseUri - /subdirectory/ if not straight inside the document root\n\n\n#### Mail\n    server   - localhost\n    username - me@mailbox.com\n    password - secret\n    port     - 1025 (default for mailcatcher)\n    security - none or tls or ssl\n    from     - app@localhost\n    name     - App Name\n\n### Mailcatcher\n\n#### Install Rbenv\n\n    git clone git://github.com/sstephenson/rbenv.git .rbenv\n    echo 'export PATH=\"$HOME/.rbenv/bin:$PATH\"' \u003e\u003e ~/.bash_profile\n    echo 'eval \"$(rbenv init -)\"' \u003e\u003e ~/.bash_profile\n    git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build\n    source ~/.bash_profile\n\n\n#### Install Ruby through rbenv:\n\n    rbenv install 2.1.0-rc1\n    rbenv local 2.1.0-rc1\n    rbenv global 2.1.0-rc1\n    rbenv rehash\n\n#### Update all Gems and install bundler\n\n    gem update\n    gem update --system\n    gem install bundler\n    rbenv rehash\n\n\n#### Install mailcatcher through bundler\n\n    mkdir mailcatcher \u0026\u0026 cd mailcatcher;\n    bundle init\n    vim Gemfile\n    add mailcatcher\n    bundle install --without development test --path vendor --standalone\n\n\n#### mailcatcher standalone\n\n    bundle exec mailcatcher\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaffe1neadd1ct%2Fphalcon-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaffe1neadd1ct%2Fphalcon-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaffe1neadd1ct%2Fphalcon-base/lists"}