Download the PHP package tebe/php-package-skeleton without Composer

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

Travis Scrutinizer Packagist GitHub (pre-)release License PHP from Packagist

PHP Package Skeleton

This skeleton is a concrete example package based on PDS Skeleton. It uses the standard filesystem structure as proposed by PDS and adds some additional folders and files. The main idea is to create a project using this package and then remove the parts that are not used or not useful for your project.

Installation

To create a new project based on this skeleton package simply run the following command:

$ composer create-project -s dev tebe/php-package-skeleton myproject

Now, remove the parts from the created project that are not used or not useful for your project.

Summary

The package contains the following root-level directories:

Directory Description
bin/ command-line executables
config/ configuration files
docs/ documentation files
examples/ example files
public/ web server files
resources/ other resource files
src/ PHP source code
tests/ test code
vendor/ vendor files managed by composer

The package contains the following root-level files:

Files Description
CHANGELOG.md a log of changes between releases
CONTRIBUTING.md guidelines for contributors
LICENSE licensing information
README.md information about the package itself

The package contains the following scripts:

Script Description
composer test run minimal testsuite with phpunit and phpcs
composer run start webserver from public directory
composer phpunit run unit tests
composer phpcs run php code sniffer
composer docs:api build API documentation
composer docs:build build project documentation
composer docs:serve serve project documentation

Root-Level Directories

bin/

This is the root-level directory for command-line executable files. You are free to define the structure and contents of the directory.

config/

This is the root-level directory for configuration files. You are free to define the structure and contents of the directory.

docs/

This is the root-level directory for documentation files written in Markdown.

The directory contains three subfolders:

You are free to extend the structure and contents of the directory.

examples/

This is the root-level directory for example files. You are free to define the structure and contents of the directory.

public/

This is the root-level directory for web server files. You are free to define the structure and contents of the directory.

resources/

This is the root-level directory for other resource files. You are free to define the structure and contents of the directory.

src/

This is the root-level directory for PHP source code files. You are free to define the structure and contents of the directory.

tests/

This is the root-level directory for test files run by PHPunit.

The directory contains at least

You are free to define the structure and contents of the directory.

vendor/

This is the root-level directory managed by Composer.

This directory is generated and MUST NOT be touched.

Other Directories

You are free to add other root-level directories for purposes not used in this skeleton.

Root-Level Files

.apigen.yml

(TBD)

.gitignore

(TBD)

.travis.yml

(TBD)

CHANGELOG.md

This is the root-level file with a list of changes since the last release or version. You are free to define the structure and contents of the file.

.composer.json

(TBD)

.composer.lock

(TBD)

CONTRIBUTING.md

This is the root-level file that describes how to contribute to the package. You are free to define the structure and contents of the file.

LICENSE

This is the root-level file indicating the licensing and copyright terms of the package contents.

This is needed by package consumers which might be in violation of copyright law when copying unlicensed intellectual property.

You are free to define the structure and contents of the file.

mkdocs.yml

(TBD)

phpcs.xml

(TBD)

phpunit.xml

(TBD)

README.md

This is the root-level file with information about the package itself. You are free to define the structure and contents of the file.

Other Files

You are free to add other root-level files for purposes not used in this skeleton.

Scripts

A script, in Composer's terms, is either a PHP callbacks or any command-line executable command. They are defined in the root composer.json package and are useful for executing a package's custom code or package-specific commands during the Composer execution process.

Contributing

See CONTRIBUTING.md


All versions of php-package-skeleton with dependencies

PHP Build Version
Package Version
Requires php Version >=7.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 tebe/php-package-skeleton contains the following files

Loading the files please wait ....