logikostech / common
Miscellaneous useful classes, interfaces, and traits
1.0.2
2017-01-25 02:20 UTC
Requires
- php: >=5.4
- ext-phalcon: >=2.0
This package is auto-updated.
Last update: 2025-01-21 21:02:33 UTC
README
Miscellaneous useful classes, interfaces, and traits used by other Logikos components.
Installation
Installing via Composer
Install Composer in a common location or in your project:
curl -s http://getcomposer.org/installer | php
create or edit the composer.json
file as follows:
{ "repositories": [ { "type": "git", "url": "https://github.com/logikostech/common" } ], "require": { "logikostech/common": "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/logikostech/common.git
Autoloading (if not using composer)
Add or register the following namespace strategy to your Phalcon\Loader
:
$loader = new Phalcon\Loader(); $loader->registerNamespaces([ 'Logikos' => '/path/to/this/repo/src/' ]); $loader->register();