All Projects → locomotivemtl → charcoal-app

locomotivemtl / charcoal-app

Licence: MIT license
Slim-based application (modules, routes / controllers and middlewares)

Programming Languages

PHP
23972 projects - #3 most used programming language
shell
77523 projects
Mustache
554 projects

Projects that are alternatives of or similar to charcoal-app

podhouse
The best way to listen to your favorite podcasts.
Stars: ✭ 39 (+200%)
Mutual labels:  application
vade-mecum-shelf
Collection of vade mecum-like utilities wrapped into one single app, built with Electron.
Stars: ✭ 33 (+153.85%)
Mutual labels:  application
jpass
🔐 Password manager application with strong encryption (AES-256). [Java/Swing]
Stars: ✭ 129 (+892.31%)
Mutual labels:  application
quentier
Cross-platform desktop Evernote client
Stars: ✭ 115 (+784.62%)
Mutual labels:  application
instatron
A simple Instagram desktop uploader & client app build with electron.Mobile Instagram on desktop!
Stars: ✭ 95 (+630.77%)
Mutual labels:  application
slim-boilerplate
A PHP boilerplate,for a fast API prototyping based on Slim Framework, for start projects with Eloquent ORM, Validation, Auth (JWT), Repositories and Transformers ready
Stars: ✭ 58 (+346.15%)
Mutual labels:  slim
EOSFTPServer
A project to create a complete, standard compliant, multi-user, Objective-C (Mac OS X / iOS) FTP server.
Stars: ✭ 35 (+169.23%)
Mutual labels:  application
headlines
[WIP] A simple news reading GUI app built in Rust
Stars: ✭ 92 (+607.69%)
Mutual labels:  application
charcoal-project-boilerplate
A skeleton to get started with Charcoal.
Stars: ✭ 25 (+92.31%)
Mutual labels:  charcoal
iGap-iOS
iGap Client for iOS Source Code
Stars: ✭ 18 (+38.46%)
Mutual labels:  application
DAOSL
Implementation of Domain Adaption in One-Shot Learning
Stars: ✭ 14 (+7.69%)
Mutual labels:  slim
receipt-manager-app
Receipt parser application written in dart.
Stars: ✭ 140 (+976.92%)
Mutual labels:  application
neu-ipgw
东北大学校园网网关快速登录,更高效,更实用!
Stars: ✭ 19 (+46.15%)
Mutual labels:  application
kanban-board-app
Kanban style task management board app
Stars: ✭ 118 (+807.69%)
Mutual labels:  application
market-monitor
Interactive app to monitor market using Python
Stars: ✭ 20 (+53.85%)
Mutual labels:  application
Random-Name-Picker
Simple, beautiful Android app to help you choose from a list of names at random. Downloaded 560,000+ times on Google Play with a 4.5+ rating after 3,500+ reviews.
Stars: ✭ 37 (+184.62%)
Mutual labels:  application
J-Curry
A Java library that enables applying Functional Programming concepts like currying and partial application for functions, also it supports types like Either, Try, etc... using RxJava 2 interfaces, compatible with Java 7 and above
Stars: ✭ 17 (+30.77%)
Mutual labels:  application
fthx-bot
/色图 以图搜图 明日方舟关卡物品查询/基于mirai - Graia
Stars: ✭ 16 (+23.08%)
Mutual labels:  application
frontend-clean-architecture
React + TypeScript app built using the clean architecture principles in a more functional way · 🧼 🏛 🍪
Stars: ✭ 1,816 (+13869.23%)
Mutual labels:  application
figwrapper
Figwrapper is a script that fully integrates the Figma design tool (web version) into a complete app for Linux with local font support.
Stars: ✭ 13 (+0%)
Mutual labels:  application

Charcoal App

License Latest Stable Version Code Quality Coverage Status SensioLabs Insight Build Status

Charcoal App is a PHP framework to create web applications and APIs using Charcoal components.

The framework is built on top of Slim 3 and Pimple.


The Charcoal App is a collection of modules, routes (templates, actions and scripts), handlers, and services tied together with a config, a service container, and service providers.

The framework features (internally and externally) the following:

  • PSR-3 logger
  • PSR-6 cache system
  • PSR-7 kernel (web, API, CLI)
  • PSR-11 container
  • Translation layer
  • File system layer
  • Database layer
  • View layer

† Provided by external Charcoal components

Table of Contents

Installation

The preferred (and only supported) way of installing charcoal-app is with composer:

★ composer require locomotivemtl/charcoal-app

From Boilerplate

This module is intended to be used as the base for a web aplication (such as a website).

For a complete, ready-to-use project, start from the official boilerplate:

★ composer create-project locomotivemtl/charcoal-project-boilerplate

Dependencies

Required

PSR

  • PSR-3: Common interface for logging libraries. Fulfilled by Monolog.
  • PSR-6: Common interface for caching libraries. Fulfilled by Stash.
  • PSR-7: Common interface for HTTP messages. Fulfilled by Slim.
  • PSR-11: Common interface for dependency containers. Fulfilled by Pimple.

👉 Development dependencies, which are optional when using charcoal-app in a project, are described in the Development section of this README file.

Read the composer.json file for more details on dependencies.

Recommended Modules

In addition to the above dependencies, here's a list of recommended modules that can be added to a project.

Using the charcoal-project-boilerplate is really the recommended way of making sure a "full" Charcoal application is set up.

To install:

★ composer create-project locomotivemtl/charcoal-project-boilerplate

Components

The main components of the Charcoal App are:

Learn more about components.

Service Providers

Dependencies and extensions are handled by a dependency container, using Pimple, which can be defined via service providers (Pimple\ServiceProviderInterface).

Included Providers

The Charcoal App comes with several providers out of the box. All of these are within the Charcoal\App\ServiceProvider namespace:

External Providers

The Charcoal App requires a few providers from independent components. The following use their own namespace and are automatically injected via the AppServiceProvider:

Learn more about service providers.

Usage

Typical Front-Controller (www/index.php):

use \Charcoal\App\App;
use \Charcoal\App\AppConfig;
use \Charcoal\App\AppContainer;

include '../vendor/autoload.php';

$config = new AppConfig();
$config->addFile(__DIR__.'/../config/config.php');
$config->set('ROOT', dirname(__DIR__) . '/');

// Create container and configure it (with charcoal-config)
$container = new AppContainer([
    'settings' => [
        'displayErrorDetails' => true
    ],
    'config' => $config
]);

// Charcoal / Slim is the main app
$app = App::instance($container);
$app->run();

For a complete project example using charcoal-app, see the charcoal-project-boilerplate.

Development

To install the development environment:

$ composer install

To run the scripts (phplint, phpcs, and phpunit):

$ composer test

API Documentation

Development Dependencies

Coding Style

The charcoal-cache module follows the Charcoal coding-style:

Coding style validation / enforcement can be performed with composer phpcs. An auto-fixer is also available with composer phpcbf.

Credits

License

Charcoal is licensed under the MIT license. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].