Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Eloquentbundle Laravel Package

cekurte/eloquentbundle

View on GitHub
Deep Wiki
Context7

Cekurte\EloquentBundle

Build Status Code Climate Coverage Status Latest Stable Version License SensioLabsInsight

  • A simple bridge to use the Eloquent ORM with Symfony 2 (with all methods covered by php unit tests), contribute with this project!

If you liked of this library, give me a star =).

Installation

  • The package is available on Packagist.
  • The source files is PSR-2 compatible.
  • Autoloading is PSR-4 compatible.
composer require cekurte/eloquentbundle

After, register the bundle in your AppKernel like this:

// app/AppKernel.php

// ...
public function registerBundles()
{
    $bundles = array(
        // ...
        new Cekurte\EloquentBundle\CekurteEloquentBundle(),
        // ...
    );

    // ...
    return $bundles;
}

Configuration

All reference to configure this bundle is bellow, add this in your config file.

# app/config/config.yml

# ...
cekurte_eloquent:
    connection:
        driver:     "mysql"           # Default is mysql. Available too: postgres, sqlserver and sqlite.
        host:       "127.0.0.1"       # Required
        database:   "dbname"          # Required
        username:   "user"            # Required
        password:   "pass"            # Optional, default is ""
        charset:    "utf8"            # Optional, default is "utf8"
        collation:  "utf8_unicode_ci" # Optional, default is "utf8_unicode_ci"
        prefix:     ""                # Optional, default is ""

How to use

See the documentation of the Eloquent ORM.

Contributing

  1. Give me a star =)
  2. Fork it
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Make your changes
  5. Run the tests, adding new ones for your own code if necessary (vendor/bin/phpunit)
  6. Commit your changes (git commit -am 'Added some feature')
  7. Push to the branch (git push origin my-new-feature)
  8. Create new Pull Request
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
andydefer/laravel-actions
aimeos/prisma
besmartand-pro/php-quality-config
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor