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
Ruangbundle

Ruangbundle Laravel Package

ais/ruangbundle

View on GitHub
Deep Wiki
Context7

Ruang Bundle For AIS

Frequently asked questions about Ruangbundle
Can I use ais/ruangbundle directly in Laravel 8/9 without Symfony 2.7?
No, this bundle is tightly coupled to Symfony 2.7 and won’t work in Laravel. You’d need to either proxy its API via a microservice or fork and rewrite the Ruang logic for Laravel’s Eloquent/Service Container. The PHP 5.3.9 requirement also conflicts with Laravel’s PHP 7.4+ baseline.
What exactly is 'Ruang' in this bundle? Is it a database schema, geospatial tool, or business logic?
The README doesn’t define 'Ruang,' but the context suggests it’s likely a domain-specific abstraction (e.g., room/space management, possibly for hotels or smart buildings). Without documentation, you’ll need to inspect the `src/` folder or contact the maintainer (vizzlearn@gmail.com) for clarification. Alternatives like `spatie/laravel-geocoder` may fit better for spatial data.
How do I install this bundle in a Laravel project?
You can’t install it directly in Laravel due to Symfony 2.7 dependencies. Instead, add it to a separate Symfony 2.7 microservice (via `composer require ais/ruangbundle:dev-master`), then consume its API from Laravel using `Http::get()` or a Laravel API client. The bundle requires `NelmioApiDocBundle`, `FOSRestBundle`, and `JMSSerializerBundle` for API documentation.
Are there Laravel-native alternatives to ais/ruangbundle for room/space management?
Yes. For spatial data, consider `spatie/laravel-geocoder` or `laravel-rooms` (if available). For generic room management, build a custom Eloquent model or use a package like `laravel-nova` for admin interfaces. The bundle’s lack of Laravel support makes alternatives more viable unless you’re tied to its specific Ruang logic.
Will this bundle work with Laravel’s testing tools (Pest/PHPUnit 9+)?
No. The bundle uses Symfony 2.7’s testing stack (PHPUnit 3.7, `LiipFunctionalTestBundle`), which is incompatible with Laravel’s modern testing tools. If you need to test Ruang logic, you’d have to run it in a separate Symfony 2.7 environment or rewrite tests for Laravel’s ecosystem.
How do I migrate Doctrine entities from this bundle to Laravel’s Eloquent?
Manually map Doctrine entities to Eloquent models. Use `doctrine/dbal` as a bridge if needed, but expect significant refactoring. Replace Symfony’s dependency injection with Laravel’s Service Providers and adapt repositories to Eloquent queries. The bundle’s monolithic design may require extracting only the Ruang-specific logic first.
Is this bundle actively maintained? Should I use it in production?
No, the package is unmaintained (0 stars, no recent activity) and relies on end-of-life Symfony 2.7. Production use introduces security risks (PHP 5.3.9 is unsupported) and architectural debt. If Ruang is critical, consider forking and modernizing it or building a Laravel-native replacement.
Can I use this bundle’s API from Laravel without deploying Symfony 2.7?
No, the bundle’s API depends on Symfony 2.7’s runtime (e.g., `FOSRestBundle`, `JMSSerializer`). You’d need to deploy it as a separate microservice (e.g., on a VPS) and call its endpoints via Laravel’s `Http` client. This adds latency but avoids PHP/Symfony version conflicts.
How do I handle the bundle’s dependency conflicts with Laravel’s built-in packages (e.g., SwiftMailer, Monolog)?
The bundle includes SwiftMailer and Monolog, which Laravel already bundles. To avoid conflicts, extract only the Ruang-specific logic (models/services) and rewrite them for Laravel. Replace Symfony’s mail/logging with Laravel’s `Mail`, `Log`, and `LogServiceProvider` equivalents.
What’s the best approach if I need this bundle’s Ruang functionality in Laravel?
Evaluate three options: 1) **API Proxy**: Deploy the bundle as a Symfony 2.7 microservice and call its API from Laravel. 2) **Fork & Rewrite**: Extract Ruang logic and adapt it to Laravel’s Eloquent/Service Container. 3) **Hybrid**: Use Lumen to bridge Symfony 2.7 and Laravel 8+. Option 2 is riskiest but offers full control; Option 1 is safest for short-term use.
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.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware