Download the PHP package 1stel/stratostack-records-generation without Composer

On this page you can find all versions of the php package 1stel/stratostack-records-generation. 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-records-generation

Stratostack Bill Records Generation

The StratoSTACK Billing Portal enables developers, system integrators, managed service providers, and others providing services over the Apache CloudStack platform to offer Instance creation, provisioning, and billing without purchasing a cost prohibitive billing portal.

Pre-requisites

Packages
Apache2
MySQL-5.5+
PHP-5.5.9+
Rabbitmq-server

Installation

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

Ubuntu

Ubuntu 14.04 Package Dependencies

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

Uncomment the limit in /etc/default/rabbitmq-server

Enable rabbitMQ management interface:

# rabbitmq-plugins enable rabbitmq_management

Setup a RabbitMQ user for Cloudstack

Browse to http://[rabbitmq ip]:15672/. Click Admin. Add a username and password for Cloudstack to use to communicate with RabbitMQ.

Configure ACS Management Servers to send events to RabbitMQ

On your management servers, edit /etc/cloudstack/management/META-INF/cloudstack/core/spring-event-bus-context.xml

Add the following:

Install StratoSTACK Bill Records Generation server in /var/www/html

# composer create-project --prefer-dist 1stel/stratostack-records-generation recordsGen

Create MySQL database

# mysqladmin -u<user> -p create cloud_admin

The server will also need access to the cloud and cloud_usage databases used by your Cloudstack installation.

Update configuration files

Edit .env, update the DB, CLOUD_DB and CLOUDUSAGE_DB sections.

Edit config/cloud.php, and set the resource limits for your cloud. These limits represent the largest instance size your Cloud supports, or the largest size you want to allow to be created.

Populate the database

# 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/recordsGen/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

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

Add event scheduler to cron

Add the following to your crontab:

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

Login to BRG

Browse to http:/// and login with Username: admin, Password: admin.

Update Settings

Click on the Settings section if you aren’t directed there automatically. Fill in the management server information and click Sync ACS Settings.


All versions of stratostack-records-generation with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version 5.1.*
illuminate/html Version ~5.0
laracasts/flash Version ~1.3
php-amqplib/php-amqplib Version ^2.6
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-records-generation contains the following files

Loading the files please wait ....