yupmin / slim-silly-doctrine
A Slim Framework skeleton application for rapid development
0.0.1
2016-07-12 04:20 UTC
Requires
- php: >=5.5.0
- doctrine/orm: ^2.5
- mnapoli/silly: ^1.3
- monolog/monolog: ^1.17
- slim/php-view: ^2.0
- slim/slim: ^3.1
- symfony/yaml: ^3.1
This package is auto-updated.
Last update: 2024-11-29 04:36:11 UTC
README
This skeleton application was built for Composer. This makes setting up a new Slim + Silly + Doctrine application quick and easy.
Install the Application
Run this command from the directory in which you want to install your new Slim Framework application.
php composer.phar create-project yupmin/slim-silly-doctrine [my-app-name]
Replace [my-app-name]
with the desired directory name for your new application. You'll want to:
- Point your virtual host document root to your new application's
public/
directory. - Ensure
logs/
,cache/
is web writeable.
Use the Application
Run this command from the directory for cli console
php src/console
Run this command from the directory for Doctrine console After creating config.yml
cp .config.yml config.yml
Add Entity, Repository files
php vendor/bin/doctrine orm:schema-tool:update
That's it! Now go build something cool.