Download the PHP package fwk/core without Composer
On this page you can find all versions of the php package fwk/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package core
Fwk\Core (Application Framework)
Core is a zero-configuration application framework that makes developers happy :)
Installation
Via Composer:
If you don't use Composer, you can still download this repository and add it to your PSR-0 compatible
Introduction
Core can be used diffently depending on your application needs and how you plan to maintain and make it evolves in time. There is no directory-structure dependencies nor "recommended pattern". Knowing how to configure PHP 5.3+ on your environment is the only prerequisite.
A Request to an Application calls an Action (Controller) which sometimes uses Services (Model) to return a Result (View). Fwk\Core let you use any type of Action thanks to ActionProxies. An object containing the Request (and the Response) is shared during the runtime, it is the Context. The runtime creates Events emitted by the Application that can be used by Listeners to extends its behavior.
Included ActionProxies are:
- CallableActionProxy(): calls
- ControllerActionProxy(,): instanciate and calls
- IncludeActionProxy(): includes
- ServiceActionProxy(): executes the Service registered as
- ServiceControllerActionProxy(, ): executes on the Service registered as
Its suggested to use as a shortcut to the corresponding , like:
Hello World Application
This is probably the simplest example:
That's it! Now open your browser to http://localhost/wherever/index.php or http://localhost/wherever/index.php?name=John+Doe !
More documentation on its way...
Contributions / Community
- Issues on Github: https://github.com/fwk/Events/issues
- Follow Fwk on Twitter: @phpfwk
Legal
Fwk is licensed under the 3-clauses BSD license. Please read CREDITS and LICENSE for full details.
All versions of core with dependencies
fwk/events Version dev-master
fwk/di Version 1.*
fwk/xml Version dev-master
symfony/http-foundation Version dev-master