Download the PHP package wouterj/eloquent-bundle without Composer
On this page you can find all versions of the php package wouterj/eloquent-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wouterj/eloquent-bundle
More information about wouterj/eloquent-bundle
Files in wouterj/eloquent-bundle
Package eloquent-bundle
Short Description Implementing the Eloquent ORM into Symfony
License MIT
Informations about the package eloquent-bundle
WouterJEloquentBundle
The WouterJEloquentBundle claims to integrate the Eloquent ORM into the Symfony framework.
Maintained Releases
Only the latest release of this bundle is maintained. Backwards compatible support for new versions of PHP, Symfony and Laravel are considered bug fixes. Dropping support for old versions is considered a feature.
New releases will be made as much as once a week following semantic versioning. The default branch (2.x) will be released as minor or patch version, depending on the changes with the last release (features or only bug fixes).
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and run the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
When you want to use useful make commands (e.g. make:model
), also
make sure you have the Symfony MakerBundle installed.
Step 2: Enable the Bundle
If you're using Symfony Flex, the previous step already got you up and running and you can skip this step!
Otherwise, enable the bundle by adding it to the list of registered
bundles in the app/AppKernel.php
file of your project:
Step 3: Configure the Database
To use the Eloquent ORM, configure a connection by setting the correct
environment variables in .env.local
:
If you're not using Symfony Flex, create the configuration file yourself:
For more information, refer to the documentation below.
Table of Content
- Installation
- Step 1: Download the Bundle
- Step 2: Enable the Bundle
- Step 3: Configure the Database
- Usage
- Query Builder
- Eloquent ORM
- Using Services instead of Facades
- Migrations and Seeding
- Running seeders
- Setting up
- Generating migrations
- Running migrations
- Rolling migrations
- Refreshing the database
- Using Models in Forms
- Binding the Object to the Form
- Form Type Guessing
- Form Validation
- Using the Eloquent User Provider
- Creating the User Model
- Configuring the User Provider
- Events and Observers
- Register Listeners
- Observers
- Observers as Services
- Configuration
- Full configuration
- Connections
- Drivers
- Default connection
- Eloquent
- Aliases
- License
- Contributing
- Backwards Compatibility
License
This project is licensed under the MIT license. For more information, see the license file included in this bundle.
Contributing
I love contributors. You can submit fixes, report bugs, share your opinion, advocate this bundle or just say "hello". I welcome anything that makes this project better.
All versions of eloquent-bundle with dependencies
illuminate/database Version ^9.0 || ^10.0 || ^11.0
illuminate/events Version ^9.0 || ^10.0 || ^11.0
illuminate/console Version ^9.39 || ^10.0 || ^11.0
laravel/serializable-closure Version ^1.0
symfony/framework-bundle Version ^6.0 || ^7.0
symfony/dependency-injection Version ^6.0 || ^7.0
jdorn/sql-formatter Version ^1.2.17