Download the PHP package pt/pt-framework without Composer

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

pt framework

An easy-to-use and portable PHP Framework

What is pt?

Pt is an easy-to-use and portable PHP framework. It facilitates your development, making it easier and smoother.

Getting Started

1. Copy pt-framework in your project.

Copy class,common,conf,language folders and common.php into your project's folder.

2. Create folders.

Create log, template folders in the project (folders' name can be changed in config).
And set log folder writeable.

3. Create your first page

And coding this:

4. If you want create a single entry project, to read route page.
Or not, keep reading datebase or template page.

User Guide

View project's WIKI

Change Log

Alpha 0.1
    Date: 2014-10-06
    Contributor: nolan
    * This is the first version.
Alpha 0.2
    Date: 2015-04-13
    Contributor: nolan
    * Add namespace "pt\framework" and "pt\tool".
    * Add "pt\framework\debug" class.
    * Add "pt\framework\debug\console" class to print debug message into browser's console.
    * Move function "charset_convert" into class "pt\tool\string".
    * Move function "path_by_str" into class "pt\tool\string", rename "pad_split".
    * Move functions "_is_writable", "_mkdir", "mkdirs" into a new class "pt\tool\file".
    * Remove function "addslashes_deep", "trace".
Beta 1.0
    Date: 2015-05-26
    Contributor: nolan
    * Add "route".
    * Add Project's wiki.
Beta 1.1
    Date: 2015-10-15
    Contributor: nolan
    * Add "event", "filter" into framework.
    * Add event's trggiers. Search : "event::trigger" or "filter::apply"
    * UPdate template::$dir to template::$package, and change access for protected.
    * Update class "language" about Gettext not expanded.
    * Remove "template" class's "callback" option.
    * Optimize the filename.
        add path "common\pt", and move config.php and func.php into.
        rename all config file to *.conf.php
    Update Notice:
    * Replace All template::$dir=* to template::package(*).
    * Class "pt\tool\action" and "pt\tool\filter" will be remove for v2.0.
    * Some file path and name be changed, please check.

All versions of pt-framework with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.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 pt/pt-framework contains the following files

Loading the files please wait ....