Download the PHP package codeception/phalcon-demo without Composer

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

Phalcon Demo Application

Build Status

We use modified Phalcon INVO Application to demonstrate basics of Codeception testing. We expect to implement as many features as possible to showcase the framework and its potential.

Please write us if you have any feedback.

Thanks.

NOTE

The master branch will always contain the latest stable version. If you wish to check older versions or newer ones currently under development, please switch to the relevant branch.

Get Started

Requirements

Installation

The Composer way (recommended)

Using Composer, you can create a new project, write this code on your terminal:

After running this command, there should be an output, similar below:

The Git way

Another way to fetch project by using git clone:

First you need to clone this repository:

Install composer in a common location or in your project:

Then install dependencies:

Setup Database

A MySQL database is also bundled in this project. The connection to the database is required for several tests. You'll need to create the database and initialize schema.

You can create a database as follows:

then initialize schema:

Note:

For these tests we use the user root with password as password. You may need to change this in tests/codeception.yml. You can override application config by creating app/config/config.ini.dev (already gitignored).

Tests

Phalcon Demo Application uses Codeception functional, acceptance and unit tests.

First you need to re-generate base classes for all suites:

You can execute all test with run command:

Read more about the installation and configuration of Codeception:

If you cannot run the tests, please refer to the .travis.yml file for more instructions how we test Phalcon Demo Application. For detailed information on our application environment setting refer to app/config/env.php file.

Functional Tests

Demonstrates testing of CRUD application with:

Contributing

See CONTRIBUTING.md

License

Phalcon Demo Application is open-sourced software licensed under the New BSD License.
© 2012 - 2020 Phalcon Framework Team and contributors
© 2015 - 2020 Codeception Team and contributors


All versions of phalcon-demo with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0 <8.0
ext-phalcon Version >=4
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 codeception/phalcon-demo contains the following files

Loading the files please wait ....