Download the PHP package kengoldfarb/underscore_php without Composer

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

_PHP - a lightweight php framework

Installation

Composer

The easiest way to install is by using Composer

In your composer.json file:

Alternately, you can just Download the source

Getting Started

This framework follows the MVC pattern with all routing occuring at the webserver level.

The best way to enjoy _PHP is by using it in conjunction with _Libs which can be installed by composer (this is there by default)

Controllers (and basic routing)

Creating friendly urls is easy.

maps to

maps to

maps to

maps to

and so on...

Just check out controllers/defaultController.php for examples.

For custom routing check out the .htaccess file and the nginx example config file

Models

Models should be created in models/ and then used normally

Views

Views are included by the controller. This allows you a lot of flexibility to create layouts as you see fit.

See the views/ directory and defaultController.php for examples

Config

Environments

Environment specific configuration options can be defined in files located in

Mapping your server name to an environment happens in

Constants

_PHP defines some handy constants that can be used throughout your code.

The full path to the web root directory (/path/to/project/src/www)

The full path to the web root directory (/path/to/project/src/www/models)

The full path to the web root directory (/path/to/project/src/www/controllers)

The full path to the web root directory (/path/to/project/src/www/views)

Versioning

You can set a version in the file. This is particularly useful for cache busting.

Anything that comes in with a version number will be routed to the corresponding location.

For example:

is the same as

is the same as

Webserver Config

Check out the .htaccess file for apache. Nginx coming soon...

License

GNU General Public License Version 3


All versions of underscore_php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
kengoldfarb/underscore_libs Version 1.*
kengoldfarb/underscore_php_installer 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 kengoldfarb/underscore_php contains the following files

Loading the files please wait ....