karelwintersky / arris
Karel Wintersky's Application µFramework
Installs: 2 138
Dependents: 6
Suggesters: 4
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 6
Requires
- php: >=7.4 | 8.*
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- ext-pdo: *
- ext-readline: *
- ext-simplexml: *
- psr/log: *
Requires (Dev)
- php-coveralls/php-coveralls: ^1.1
- php-sage/sage: ^1.3
- phpunit/phpunit: ^4.8 || ^5.7 || ^6.5
- predis/predis: ^2.0
- symfony/var-dumper: ^5.4
- vlucas/phpdotenv: ^3.3
Suggests
- adbario/php-dot-notation: PHP dot notation access to arrays
- ajur-media/php-image-resize: PHP class to re-size and scale images
- karelwintersky/arris.entity: Arris µFramework: Entity Types
- karelwintersky/arris.helpers: Arris µFramework: helpers
- karelwintersky/arris.logger: Arris µFramework: AppLogger class
- karelwintersky/arris.router: Arris µFramework: AppRouter class
- karelwintersky/arris.template: Arris Template engine
- karelwintersky/arris.toolkit.cli-console: Arris µFramework - CLIConsole helper
- league/csv: CSV data manipulation made easy in PHP
- php-curl-class/php-curl-class: PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs.
- php-sage/sage: Sage - Insightful PHP debugging assistant, pretty replacement for var_dump() and debug_backtrace().
- sabre/event: sabre/event is a library for lightweight event-based programming (more complexity than Arris/Hook)
- spatie/regex: A sane interface for php's built in preg_* functions
- vlucas/phpdotenv: Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
- dev-master
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.1
- 2.8.0
- 2.7.1
- 2.7.0
- 2.6.1
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.9
- 2.0.2
- 2.0.1
- 2.0.0
- 1.80.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.2
- 1.70.0
- 1.65.0
- 1.63.0
- 1.62.1
- 1.62.0
- 1.61.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.10
- 1.54.9
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.2
- 1.47.0
- 1.42.0
- 1.41.1
- 1.40.0
- 1.39.3
- 1.39.2
- 1.39.0
- 1.38.2
- 1.38.0
- 1.37.1
- 1.37.0
- 1.34.8
- 1.34.7
- 1.34.6
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.22
- 1.21
- 1.20
- 1.19
- 1.18
- 1.17
- 1.16
- 1.14.1
- 1.14
- 1.13.1
- 1.13
- 1.12
- 1.7
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6
- 1.5
This package is auto-updated.
Last update: 2024-12-23 21:25:43 UTC
README
Class collection for some my projects
Sub-packages
- Core classes
- Arris.AppLogger,
composer require karelwintersky/arris.logger
- Arris.AppRouter,
composer require karelwintersky/arris.router
- Arris.AppLogger,
- Helpers
- [Arris.Helpers]
- Utils
- Arris.PHP_FileDownload,
composer require karelwintersky/arris.php-file-download
- Arris.PHP_FileDownload,
- Toolkits
- Arris.Toolkit.MimeTypes,
composer require karelwintersky/arris.toolkit.mimetypes
- Arris.Toolkit.Nginx,
composer require karelwintersky/arris.toolkit.nginx
- Arris.Toolkit.Sphinx,
composer require karelwintersky/arris.toolkit.sphinx
- Arris.Toolkit.MimeTypes,
How to use
App - Реестр
$app = App::factory(); $app->set('PDO', new PDO(/* params */)); $app->set(PHPAuth::class, new PHPAuth($pdo, (new PHPAuthConfig())->loadENV('_env')->getConfig() )); $app->set(Smarty::class, new Smarty()); $app->addService('pdo.main', new PDO());
later:
$app = App::factory(); // or ::handle() $dbc = $app->get('PDO'); // or $dbc = (App::access())->get('PDO'); // or $dbc = (App::factory())->getService('pdo.main');
CLIConsole
- todo
DB
- todo
DBPool
- todo
Hook
- todo