Download the PHP package wwtg99/flight2wwu without Composer

On this page you can find all versions of the php package wwtg99/flight2wwu. 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 flight2wwu

Flight2wwu framework

Installation

Use composer to install

Or, add require in composer.json "wwtg99/flight2wwu": "*"

Use command tool wwtinit (vendor/bin) to initialize project

Config Apache

Set web directory to web and set AllowOverride to All.

Config Nginx

Add in server

Config framework

Change conf files in App/config. At most time only change app_config.php.

Directories

Controllers

BaseController

The super class for all controllers.

RestfulController

The super class for all Restful controllers. Subclass must implement 7 functions.

RestfulAPIController

The best super class for restful APIs. Implement all functions in RestfulController (disable create and edit), and provided 5 functions to handle resources:

And 3 attributes:

RestfulPlusController

The best super class for restful view controllers. Implement all functions in RestfulController, all functions will return by view.

RestFul APIs Definition

Resource URI,represent one resource, example: http://example.com/resources/

If have errors, error message will be provided as {"error": "message", "code": 1} .

URIs and Methods(zoos as example):

Method URI Action
GET /zoos get resource list
POST /zoos create resource
GET /zoos/{id} get resource by id
PUT /zoos/{id} update resource by id (must provided all fields)
PATCH /zoos/{id} update resource by id (provided partial fields)
DELETE /zoos/{id} delete resource by id

Paging、Order and Filters

Get resource list support paging, order and filters.

Paging:

Method one:

page: page number page_size: number per page, optional, default 100 Example: ?page=1&page_size=100

Method two:

limit: number limitation offset:number offset, optional, default 0 Example: ?limit=100&offset=10

Order:

Use sort parameter, >field to sort by field ascending, <field to sort by field descending, use comma (,) to separate fields, Example: ?sort=>name,<age

Filters:

Use expression to filter, supported expression: =, >=, <=, !=。 Example:?name=Tom ?age>=10 ?name!=Tim

Selected fields

Get resource list and get one resource support select fields. Use fields parameters, comma (,) to separate. Example: ?fields=name,age,dob,pob If fields is count, then show number of data.

Return HTTP code


All versions of flight2wwu with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
wwtg99/config Version *
wwtg99/structure-files Version *
wwtg99/data_pool Version *
wwtg99/pgauth Version *
mikecao/flight Version ~1.2
catfan/medoo Version ~1.0
symfony/translation Version ~3.0
symfony/process Version ~3.0
symfony/css-selector Version ~3.0
symfony/dom-crawler Version ~3.0
monolog/monolog Version ~1.0
desarrolla2/cache Version ~2.0
maximebf/debugbar Version 1.*
erusev/parsedown Version ~1.6
nesbot/carbon Version ~1.21
twig/twig Version ~1.0
predis/predis Version ~1.0
gregwar/captcha Version 1.*
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 wwtg99/flight2wwu contains the following files

Loading the files please wait ....