Comments (3)
Hi Rajiv!
You must use connect method only if you are not using Laravel, like pure
PHP for example. If you are using Laravel you don't have to setup the
database.
Thanks ;-)
Junior GROSSI
www.grossi.io http://www.grossi.io
On Fri, Jun 27, 2014 at 6:34 AM, Rajiv Seelam [email protected]
wrote:
Hi,
Post,Comment etc., all models use the default connection and I didn't
notice any difference without includingCorcel\Database::connect($params); in index.php.
Would you please help me understand the purpose?
—
Reply to this email directly or view it on GitHub
#3.
from corcel.
Ahah! I saw that both of you have listed Corcel in Composer index and was wondering which version to take.
from corcel.
jgrossi/corcel is latest. Please go with it.
from corcel.
Related Issues (20)
- Trying to get property 'guid' of non-object.
- Corcel and Laravel Voyager incompatibility HOT 1
- How to use corcel in WordPress plugin for custom tables
- Get post category name HOT 1
- How to use WordPress plugins inside Laravel with Corcel? HOT 4
- Multiple Database connection, What should I set connection in Corcel ? HOT 1
- Two factor authentification HOT 2
- Menu doesn't return Product Categories added to WordPress menus
- How to query for Posts with updated_at field ?
- Corcel acf plugin not installable
- Missing PhpOption\Option dependencies on CakePHP HOT 2
- DB connection error Laravel HOT 1
- Add support for Laravel 10 HOT 10
- onEachSide give error but works HOT 1
- Project abandoned? HOT 3
- The Eloquent model's deprecated $dates
- Laravel Nova & Corcel - many-to-many relation
- Getting error unserialize(): Error at offset 0 of 2 bytes - using Carbon Fields
- As A developer I want Documentation on how to upload, create, save and update Media to The Media Library So it's done it as intended HOT 1
- Laravel 11 and PHP 8.2 support HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corcel.