Download the PHP package cpliakas/php-project-starter without Composer

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

PHP Project Starter

Build Status Code Coverage HHVM Status Scrutinizer Code Quality Latest Stable Version License

PHP Project Starter is a command line tool that allows developers to quickly create PHP applications that use common conventions and best-in-breed development tools. The goals of this application are to guide developers towards best practices and get them from zero-to-CI in seconds.

The applications created by this tool have an opinionated directory structure, build system, and pre-configured set of service connections with badges ready to go. Refer to the Tools And Conventions and Directory Structure sections below for more details.

See the examples below for repositories created by the PHP Project Starter tool:

Usage

Install The Command Line Tool

Download Via Browser

Download php-project.phar from https://github.com/cpliakas/php-project-starter/releases/latest,

Download Via Command Line

curl -O http://www.chrispliakas.com/php-project-starter/download/latest/php-project.phar

Test It Out!

Run php php-project.phar --help to see all options supported by the command line tool and ensure that installation succeeded.

It is also common practice to place the php-project.phar file in a location that makes it easier to access, for example /usr/local/bin, and renaming it to php-project. Ensure the file is executable by running chmod 755 so that you don't have to prefix the command with php.

Create A New Project

Pass the --jenkins-url option to post a job to Jenkins that consumes the build artifacts.

Make A Repository On GitHub

Make a new repository matching the project name (e.g. cpliakas/my-project) and push your code. Note that the origin remote is already set in the repository.

Configure Other Services

Keeping Up-To-Date

Run the following command to update PHP Project Starter to the latest stable version:

php php-project.phar self-update

Using Apache Ant

Running ant in the newly created project's root directory will download Composer, install development dependencies, run PHPUnit, and generate a code coverage report and software metrics in the ./build directory.

The main targets can be found by running ant -p and are listed below:

Common command line options that set Ant properties are listed below:

Tools And Conventions

Tools and conventions that this template expects the PHP project being started to embrace.

Dependency Management

Build & CI

Code Quality

Services

Conventions

Directory Structure

PHP Project

Build Artifacts


.
`-- build/
    |-- coverage/
    |   `--index.html
    |-- logs/
    |   |-- clover.xml
    |   |-- jdepend.xml
    |   |-- junit.xml
    |   |-- phploc.csv
    |   |-- pmd-cpd.xml
    |   `-- pmd.xml
    |-- pdepend/
    |   |-- dependencies.svg
    |   `-- overview-pyramid.svg
    `-- composer.phar

All versions of php-project-starter with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
cpliakas/git-wrapper Version ~1.0
guzzle/http Version >=3.9.0,<4.0.0
herrera-io/phar-update Version ~1.0
symfony/console Version ~2.0
symfony/filesystem Version ~2.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 cpliakas/php-project-starter contains the following files

Loading the files please wait ....