Skip to content
Ascend is a PHP Framework
PHP CSS JavaScript Hack
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
App
public
storage
.gitattributes
.gitignore
LICENSE
ascend
bootstrap-builtin.php
bootstrap.php
composer.json
readme.txt

readme.txt

#################################################################################
# Website

Go to AcendPHP.com for more information.

#################################################################################
# Install

## PHP Enabled allow_url_fopen
composer create-project --prefer-dist dvarner/ascendphp . --stability dev
## PHP Disabled (Shared hosting mostly)
php -d allow_url_fopen=on ../composer.phar create -project --prefer-dist dvarner/ascendphp . --stability dev
## Continue
chmod -R 777 storage/
chmod 755 storage/
cp App/config.sample.php App/config.php
# In config.php turn on debug = true to see 500 errors
php ascend db:migrate
php ascend permission:manage
php ascend user:create 1 admin [pass] email@email

#################################################################################
# Supports

* PHP 5.4+
* PHP PDO Extension
* MySQL

#################################################################################
# FAQ

Q: Getting a 500 error after running composer create?
A1: Go to App/config.php and change debug = true to see errors.
A2: Do composer install.
A3: Next make sure to copy config.sample.php to config.php
A4: Make sure to have correct database credentials

Q: Ascend\[name] does not exist?
A: As of 10/18/1017 the namespace was updated to Ascend\Core\[name]
Add Core into name space to fix the issue.

Q: BS:: or DB:: does not exist?
A Convert BS:: to Bootstrap:: and DB:: to Database.
Felt the shorthands were a bit much.

# Notes #
* Trait; available as of 5.4+
* json_encode($data, JSON_PRETTY_PRINT); // 5.4+
* Bootstrap::getConfig('name.subname'); // <-- each . goes into a deeper level of array
* $db = Bootstrap::getDB();

#################################################################################
# Benchmark

* ab (apache benchmark)
* phpmatrics
You can’t perform that action at this time.