Download the PHP package wallrio/directly without Composer
On this page you can find all versions of the php package wallrio/directly. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wallrio/directly
More information about wallrio/directly
Files in wallrio/directly
Download wallrio/directly
More information about wallrio/directly
Files in wallrio/directly
Vendor wallrio
Package directly
Short Description micro-framework to provider web pages quickly
License MIT
Homepage http://wallrio.com
Package directly
Short Description micro-framework to provider web pages quickly
License MIT
Homepage http://wallrio.com
Please rate this library. Is it a good library?
Informations about the package directly
Directly
Micro-framework PHP to provider web pages quickly
Installation
It's recommended that you use Composer to install Directly.
Usage
Create an index.php file with the following contents:
Create an .htaccess file with the following contents:
Class Directly()
-
new Directly(DIRECTORY-YOUR-APP);
DIRECTORY-YOUR-APP = specifies the application directory (optional)
-
$directly->run(ROUTE);
ROUTE = specifies an initial route (optional)
-
Optionally you can force a home directory for your files, use the attribute below for this:
$directly->publicDir = 'DIRECTORY-PUBLIC';
DIRECTORY-PUBLIC = specify a directory after the directory of your application
example
Struct directory
Other options
$directly->publicDir = 'assets';
Short tags
[=inc:menu.php=] = includes no document the contents of the menu.php file located in the directory /application/inc
[=inc-route:meta.php=] = includes no document the contents of the menu.php file located in the directory /application/view/CURRENT-PAGE/meta.php
[=global:FILE_NAME=] = includes no document the contents of the menu.php file located in the directory /application/global/FILE_NAME.php
[=domain:url=] = replace to url of domain
License
The Directly Framework is licensed under the MIT license. See License File for more information.
All versions of directly with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.2
The package wallrio/directly contains the following files
Loading the files please wait ....