mothership-ec / cog
This package is abandoned and no longer maintained.
No replacement package was suggested.
Mothership's PHP5 framework for building modular systems
4.16.0
2016-04-22 14:21 UTC
Requires
- php: >=5.4.0
- ext-curl: *
- ext-gd: *
- ext-intl: *
- ext-json: *
- ext-mysqli: *
- ext-simplexml: *
- dflydev/markdown: ~1.0
- filp/whoops: 1.0.*
- itbz/fpdf: 1.7.*
- itbz/fpdi: 1.4.*
- jeremeamia/superclosure: ~1.0
- knplabs/knp-snappy: 0.1.*
- kriswallsmith/assetic: 1.1.*
- lmammino/jsmin4assetic: 1.0.*
- message/wkhtmltopdf: 1.0.*
- monolog/monolog: 1.7.*
- mtdowling/cron-expression: 1.0.*
- natxet/cssmin: 3.0.*
- pimple/pimple: ~2.0
- swiftmailer/swiftmailer: ~5.2.1 | ~5.3
- symfony/console: 2.7.*
- symfony/event-dispatcher: 2.1.*
- symfony/filesystem: 2.4.*
- symfony/finder: 2.2.*
- symfony/form: 2.3.*
- symfony/http-kernel: 2.3.*
- symfony/options-resolver: 2.6.*
- symfony/process: 2.1.*
- symfony/routing: 2.3.*
- symfony/templating: 2.1.*
- symfony/translation: 2.3.*
- symfony/twig-bridge: 2.3.*
- symfony/twig-bundle: 2.3.*
- symfony/validator: 2.3.*
- symfony/yaml: 2.1.*
- treasure-chest/treasure-chest: 0.1.*
- twig/twig: 1.13.*
- zendframework/zend-debug: ~2.4
- zendframework/zend-escaper: ~2.4
Requires (Dev)
- mikey179/vfsstream: 1.1.*
- mockery/mockery: ~0.9
Suggests
- ext-apc: The preferred caching system in Cog
- ext-mysqlnd: Extension for converting data types that come out of a MySQL database. There may be strange behaviour if this is not installed
- ext-oauth: Extension for managing OAuth requests
- message/cog-raven: A Cog module that logs errors, exceptions and messages to Sentry
- 4.16.0
- 4.15.0
- 4.14.1
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.9.0
- 4.8.0
- 4.7.1
- 4.7.0
- 4.6.0
- 4.5.1
- 4.5.0
- 4.4.3
- 4.4.2
- 4.4.1
- 4.4.0
- 4.3.3
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.0
- 4.1.1
- 4.1.0
- 4.0.1
- 4.0.0
- 3.12.2
- 3.12.1
- 3.12.0
- 3.11.0
- 3.10.1
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.1
- 3.3.0
- 3.2.0
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.1
- 3.0.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0.0
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-titles-deprecation
- dev-feature/better-email-headers
- dev-windows-support
- dev-feature/uninstall-module-migrations
- dev-feature/app-title
- dev-feature/field-unit-tests
- dev-feature/unit-test-fixes
- dev-feature/string-generator-fixes
- dev-feature/remove-zend
- dev-feature/improve-db-debugging
- dev-feature/session-expiry
- dev-feature/convert-csv-to-utf8
- dev-feature/wysiwyg
- dev-feature/count-sql
- dev-string-gen-unittest
- dev-fixture-debug
- dev-feature/pdf-downloads
- dev-feature/default-view-namespace
- dev-compatability/blog-comments
- dev-feature/fixture-manager-abstraction
- dev-feature/symfony2.6-update
- dev-compatibility/product-upload
- dev-feature/migration-run-soft-error
- dev-feature/issue-184-detect-content-type
- dev-feature/permission-fix-command
- dev-feature/ssl-support
- dev-feature/fix-link-field
- dev-feature/zend-escaper-requirement
- dev-feature/deploy-event-listeners
- dev-feature/lazy-loading
- dev-feature/bootstrap-folder-dependency-bug
- dev-compatibility/union-music-store
- dev-feature/sql-pagination-ordering-fix
- dev-compatibility/fields-and-connection
- dev-mob-refactor/addresses
- dev-feature/phpspec
- dev-feature/patch-164
- dev-feature/patch-186
- dev-feature/patch-220
- dev-feature/authorship-magic-properties
- dev-feature/session-conflict-fix
- dev-absolute-ref-long-module-names
- dev-issue-159-move-translations-to-resources
- dev-price_twig_extension
- dev-route_collections_array
- dev-config-fixture-bug
- dev-validation-refactor
- dev-nested-helper-fixes
- dev-date-time-change
This package is not auto-updated.
Last update: 2021-03-22 11:08:25 UTC
README
What is Cog?
Cog is Mothership's Symfony-based PHP framework.
What services does Cog define?
Cog defines the following services on the service container. Don't overwrite any of these in your application unless you want to replace the functionality of this service with your own class.
class.loader
This is the Composer autoloader class which is based on Symfony's autoloader.http.request.master
This is theMessage\Cog\HTTP\Request
instance for the current master request.bootstrap.loader
This is an instance ofMessage\Cog\Bootstrap\Loader
.app.loader
This is the instance of the application loader class, which will be the installation's sublass ofMessage\Cog\Application\Loader
.module.loader
This is an instance ofMessage\Cog\Module\Loader
.
What global events does Cog fire?
terminate
This is the very last thing that happens for any Cog request. Use this event for stopping debug timers; garbage collection; data logging; etc.cog.load.success
Fired once Cog is ready to use (but before modules have been loaded). All of Cog's event handlers and services will be setup and registered by this point.
Running tests
To execute all tests run phpunit
in the root of the site.
You can run tests for individual components by running phpunit --testsuite <componentname>
e.g phpunit --testsuite Routing
or phpunit --testsuite Application