Download the PHP package 1stel/stratostack-portal without Composer

On this page you can find all versions of the php package 1stel/stratostack-portal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package stratostack-portal

StratoSTACK Billing Portal

Pre-requisites

Packages:
Apache2
MySQL 5.5+
PHP-5.5.9+
Redis-server

Other:
StratoSTACK Bill Records Generation Server
PowerDNS Server
TaxCloud Account
Authorize.Net Account

Installation

StratoSTACK uses Composer for dependency management. See its Download Guide for installation instructions.

Ubuntu

Ubuntu 16.04 Package Dependencies

# sudo apt install apache2 php mysql-server php-mysql php-mcrypt php-mbstring libapache2-mod-php php-bcmath php-xml

Ubuntu 14.04 Package Dependencies

# sudo apt-get install apache2 php5 mysql-server-5.5 php5-mysql redis-server php5-mcrypt

Move to the html directory:

# cd /var/www/html

Install StratoSTACK Billing Portal

# composer create-project --prefer-dist 1stel/stratostack-portal portal

Add a MySQL-compatible database named cloud_billing for portal's usage

# mysqladmin -u<your user> -p create cloud_billing

Edit configuration files

Edit .env, adding database access configuration.

DB_HOST=localhost
DB_DATABASE=cloud_billing
DB_USERNAME=homestead
DB_PASSWORD=secret

Edit config/cloud.php. Add management server, API credentials and the Bill Records Generation API key.

Edit config/taxcloud.php, config/authorizenet.php and config/powerdns.php, entering the values for your TaxCloud, Authorize.Net accounts and PowerDNS server credentials.

Populate the database

In /var/www/html/portal, run these commands

# php artisan migrate: install
# php artisan migrate --seed

Update Apache Configuration

Edit /etc/apache2/sites-enabled/000-default.conf

Change DocumentRoot to /var/www/html/portal/public

Add the following under DocumentRoot:

<Directory /var/www/html>
    Options FollowSymLinks
    AllowOverride All
</Directory>

Enable mod_rewrite:

# a2enmod rewrite

Restart Apache:

# service apache2 restart

Set permissions on the Portal

# chown www-data.www-data /var/www/html/portal -R

Add Laravel's event scheduler to cron

Add the following to your crontab:

* * * * * root php /var/www/html/portal/artisan schedule:run >> /dev/null 2>&1

Run the queue processor upon startup

Add the following to /etc/rc.local:

php /var/www/html/portal/artisan queue:listen --sleep=5 --tries=3 &

Customization

See customize.md for more information on customizing the StratoSTACK installation for your needs.


All versions of stratostack-portal with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version 5.1.*
illuminate/html Version ~5.0
cystbear/authorizenet-php-sdk Version 0.1.*
laracasts/flash Version ~1.3
guzzlehttp/guzzle Version ^6.0
vmdoh/php-taxcloud Version ^0.1.1
predis/predis Version ~1.0
1stel/cloudstack-php-client Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package 1stel/stratostack-portal contains the following files

Loading the files please wait ....