yupmin/slim-silly-doctrine

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

A Slim Framework skeleton application for rapid development

0.0.1 2016-07-12 04:20 UTC

This package is auto-updated.

Last update: 2021-07-29 01:29:08 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.

Reference