ccwwonebyone / thinkorm-bundle
Symfony Think Orm Bundle
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.2.5
- symfony/console: ^4.3
- symfony/dotenv: ^4.3
- symfony/flex: ^1.4
- symfony/framework-bundle: ^4.3
- symfony/yaml: ^4.3
- topthink/think-orm: ^2.0
This package is auto-updated.
Last update: 2024-04-19 17:36:49 UTC
README
Symfony Think Orm Bundle
About
the thinkorm-bundle
package allows you use think-orm in symfony.
Installation
Require the ccwwwonebyone/thinkorm-bundle
package in your composer.json
and update your dependencies:
$ composer require ccwwwonebyone/thinkorm-bundle
Useage
edit config/bundles.php
return [ //... OneThink\OrmBundle\OneThinkOrmBundle::class => ['all' => true], ]
Configuration
move vendor/ccwwonebyone/thinkorm-bundle/config/packages/one_think_orm.yaml
to config/packages/one_think_orm.yaml
edit .env
set database info
DB_HOSTNAME=host DB_USERNAME=username DB_PASSWORD=password DB_DATABASE=database APP_DEBUG=true
you can see ThinkORM开发指南 to learn other configurations
License
Released under the MIT License, see LICENSE.