manacode / phalconlibs
Adapters, prototypes or functionality that can be potentially incorporated to the C-framework.
Requires
- php: >=5.4
- ext-phalcon: >=2.0.4
Requires (Dev)
- phpunit/phpunit: 4.*
Suggests
- manacode/manafx: Mana Application Framework
This package is not auto-updated.
Last update: 2024-09-14 19:14:41 UTC
README
Phalcon is a web framework delivered as a C extension providing high performance and lower resource consumption.
This is a repository to publish/share/experiment with new adapters, prototypes or functionality that can potentially be incorporated into the framework.
The code in this repository is written in PHP.
Installation
Installing via Composer
Install Composer in a common location or in your project:
curl -s http://getcomposer.org/installer | php
Create the composer.json
file or add new require line as follows:
{ "require": { "manacode/phalconlibs": "dev-master" } }
Run the composer installer:
$ php composer.phar install
Installing via GitHub
Just clone the repository in a common location or inside your project:
git clone https://github.com/manacode/phalconlibs.git
Autoloading the Library
Add or register the following namespace strategy to your Phalcon\Loader in order to load classes from the phalconlibs repository:
$loader = new Phalcon\Loader(); $loader->registerNamespaces([ 'Manacode\Phalcon' => '/path/to/manacode/phalconlibs/' ]); $loader->register();
Library Index
Translate
- Manacode\Phalcon\Translate\NativeArray - Translation class using native array
License
PhalconLibs is open-sourced software licensed under the New BSD License. © Manacode Team and contributors