Download the PHP package opcoding/starter-kit without Composer
On this page you can find all versions of the php package opcoding/starter-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package starter-kit
Objective PHP / Starter Kit
Project topic
Typical Objective PHP project arborescence, with minimal workflow and configuration implementation.
This is where to start your own Objective PHP project.
How to make it work
A few simple steps are needed to get this application up and running:
The next step assumes that composer is available in your PATH
You can then open http://localhost:8001 to access your brand new project. Note that the framework will show itself much more efficient when using a production grade web server (as Apache or Nginx), while the PHP built-in server will allow you to make the starter kit running within seconds.
Doctrine support
Doctrine Package activation
The starter-kit comes with sample Doctrine support. This setup has to be activated by plugging the Doctrine Package in the Application.
This can be done by simply uncommenting the corresponding line in the Application::importPackages()
method (in app/src/Application.php
).
Doctrine CLI
To run the native Doctrine CLI console you may are used to, it has to be wrapped with Objective PHP init sequence. So, please trigger the console tool by running:
and not vendor/bin/doctrine
.
Doctrine configuration
You should also adapt the app/config/doctrine.php
configuration file to reflect your own setup, not to forget that you also
can override any config file by creating a local version of it (like app/config/doctrine.local.php
).
starter-kit
All versions of starter-kit with dependencies
objective-php/application Version ^1.1.0
objective-php/router Version ^1.0.0
doctrine/annotations Version ~1.4.0
objective-php/services-factory Version ^1.2.0