Download the PHP package openi-ict/api-builder without Composer
On this page you can find all versions of the php package openi-ict/api-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package api-builder
OPENi API Builder
OPENi API Builder is a web project that allows developers to add Objects and combine methods for use with the official OPENi API Framework.
DIRECTORY STRUCTURE
.docs/ contains Documents for building the API Builder (mockups etc.)
assets/ contains assets definition
commands/ contains console commands (controllers)
config/ contains application configurations
controllers/ contains Web controller classes
mail/ contains view files for e-mails
migrations/ contains migrations for the database to be configured automatically
models/ contains model classes
runtime/ contains files generated during runtime
tests/ contains various tests for the basic application (not yet fully charged)
vendor/ contains dependent 3rd-party packages
views/ contains view files for the Web application
web/ contains the entry script and Web resources
widgets/ contains additional widgets used in this app
REQUIREMENTS
The minimum requirement by this application template that your Web server supports PHP 5.4.0. Additional packages required are marked in the composer.json file.
INSTALLATION
Download the latest release or the zipped master source code from api-builder
into a directory named api-builder
that is directly under the Web root.
Run a command prompt in that directory and type:
composer global require "fxp/composer-asset-plugin:1.0.0"
composer install
NOTE: If you do not have Composer, you may install it by following the instructions at getcomposer.org.
This will fetch all the required packages and save them in your vendor folder.
You can then access the application through the following URL:
http://localhost/api-builder/web/
NOTE: For having recommendation features in the API views, Elasticsearch should be installed from here.
CONFIGURATION
Database
Create a file config/db.php
with real data, for example:
Or rename the dbSample.php with your actual data.
Then, open a terminal and run
to make all the tables in the database.
Also check and edit the other files in the config/
directory to customize your application.
If your website is different than http://localhost/api-builder/ , you need to update the url property of the js file in /web/js/swagger/site.js .
At last, you need to rename the /web/indexSample.php to /web/index.php for the application to work and comment out the environment lines if you are in production environment.
Elasticsearch
This request should be made to create the 'api-builder' index:
Recommended setting setup:
NOTE: This of course implies that you have a synonyms and stopwords texts in your elasticsearch/config/analysis/ folder. Samples can be found at the root folder of the project.
TECH STACK USED FOR DEVELOPMENT - MANY THANKS!
All versions of api-builder with dependencies
yiisoft/yii2 Version *
yiisoft/yii2-bootstrap Version *
kartik-v/yii2-widgets Version *
kartik-v/yii2-money Version dev-master
kartik-v/yii2-checkbox-x Version dev-master
kartik-v/yii2-grid Version *
kartik-v/yii2-icons Version dev-master
yiisoft/yii2-swiftmailer Version *
kartik-v/yii2-mpdf Version dev-master
zircote/swagger-php Version *
yiidoc/yii2-timeago Version *
costa-rico/yii2-images Version dev-master
romdim/yii2-bootstrap-material Version dev-material-version-0-2-2
romdim/yii2-snackbarjs Version dev-master