https://github.com/masterminds/fortissimo-commons
Common commands for the Fortissimo framework.
https://github.com/masterminds/fortissimo-commons
Last synced: 3 months ago
JSON representation
Common commands for the Fortissimo framework.
- Host: GitHub
- URL: https://github.com/masterminds/fortissimo-commons
- Owner: Masterminds
- Created: 2013-09-13T16:14:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-02T17:39:19.000Z (over 11 years ago)
- Last Synced: 2025-01-13T21:44:23.851Z (5 months ago)
- Language: PHP
- Size: 273 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fortissimo Commons
Common commands for the [Fortissimo
Framework](https://github.com/masterminds/fortissimo).This project focuses on collecting common commands that are used within
Fortissimo applications. For an overview of all of the commands in this
library, read
[An Overview of Fortissimo Commons](http://technosophos.com/2013/11/22/an-overview-of-fortissimo-commons.html).## Usage
1. Include the library in your `composer.json`
file: `require: {'masterminds/fortissimo-commons': 'dev-master' }`
2. run `composer update` to use the library
3. Use the commands: `->does('\Fortissimo\Commons\Foo')`For more on composer, see [GetComposer](http://getcomposer.com).
## Contribute to This Library!
We're looking for useful commands to add! Go ahead and fork the master
branch and add your commands. Then issue a pull request and we'll be in
touch!There are a few basic caveats for what we're looking for.
Critieria for inclusion:
- Commands should be generalized.
- Commands should not require external libraries -- only Fortissimo
and PHP itself. (Special cases will be considered, though.)
- Commands should be useful in a wide variety of cases.
- Commands should NOT require a datasource (including a database
schema). But we are fine with file IO.Examples that we'd like to include:
- Load a JSON file
- Perform date transformations
- Parse an XML file (with or without a schema)
- Save data to a file
- Generate a random stringThings we might consider bending the rules for:
- A Markdown converter
- A YAML reader## Other Useful Fortissimo Libraries
- [Fortissimo-Twig](https://github.com/masterminds/fortissimo-twig):
Twig template for Fortissimo.
- [Fortissimo-Base](https://github.com/masterminds/fortissimo-base):
Scaffold an application quickly.Got another useful Fortissimo library? Tell us about it and we'll add it to the
list.