Weave 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

Cells Laravel Package

torann/cells

torann/cells is a Laravel package for building reusable view components called cells. It separates presentation from logic, letting you render encapsulated UI pieces, pass data cleanly, and keep Blade templates organized, maintainable, and testable across your application.

View on GitHub
Deep Wiki
Context7

Cells are view components for Laravel 4. They are mini-controllers with their own MVC stack, can invoke logic and render views.

Frequently asked questions about Cells
What is torann/cells and what problem does it solve in Laravel?
torann/cells is a Laravel 4 package for building reusable view components called cells. A cell is a mini-controller with its own small MVC stack: it can run logic, receive data, and render a view fragment inside a parent view. It exists to keep presentation logic out of controllers and Blade templates so UI pieces stay encapsulated and testable.
How do I install torann/cells in a Laravel 4 application?
Install it with Composer using composer require torann/cells from your project root. Then register Torann\Cells\CellsServiceProvider in the providers array of app/config/app.php. Optionally add the package facade to the aliases array so you can reference it with a short class name in your views.
Does torann/cells work with Laravel 5, 6, 7, 8, or newer?
No. The package constrains its illuminate dependencies to a Laravel 4.x line, so it cannot be installed alongside Laravel 5 or any later version. This is a hard stack boundary, not a configuration issue, and there is no maintained branch or shim that changes it. Treat it as a Laravel 4 only package.
Why does composer require torann/cells fail with a dependency conflict?
The package pins illuminate/support and related framework packages to 4.x and declares an old PHP requirement. On a modern Laravel application, or on PHP 7 or 8, Composer cannot find a satisfiable set of constraints and aborts. The usual error is an unsatisfiable illuminate/* or php version requirement, which confirms you are on an incompatible stack.
What PHP version does torann/cells require?
It targets the PHP 5.4 to 5.6 era in line with Laravel 4. That means it is not compatible with PHP 7 or PHP 8 runtimes. If your production server has already moved past PHP 5.x, this package is out of scope for you.
Is torann/cells still maintained?
No. The repository shows zero stars, zero dependents, a single maintainer, and no meaningful activity for roughly a decade. There is no issue triage, no release cadence, and no community around it. You would effectively be the only person finding and fixing its bugs.
Can I pass data into a cell and keep logic out of my Blade templates?
Yes, that is the core purpose of the package. Cells accept data cleanly from the calling view and encapsulate their own logic behind a render step, so your Blade templates stay declarative. In practice this means the parent template renders a cell rather than embedding conditionals and queries directly.
Is torann/cells safe to use in production?
Only if you are genuinely locked into Laravel 4 and plan to stay there. Laravel 4 has received no security releases since 2015, and the package inherits that exposure on top of being unmaintained. If you must use it, vendor or fork the code into a private repository so builds stay reproducible without depending on GitHub availability.
What are the best alternatives to torann/cells in modern Laravel?
Class-based Blade components in Laravel 7 and later cover the same logic-plus-view use case, and anonymous components or @include partials handle pure markup reuse. For cells that only pull data, a view composer bound to a view does the job cleanly. For anything interactive or stateful, Livewire is the closest modern equivalent on Laravel 8 and above.
How do I migrate existing cells to Blade components?
The translation is mostly mechanical. A cell with logic and a view becomes a class-based component in app/View/Components paired with a resources/views/components template, a markup-only cell becomes an anonymous component or partial, and a data-pulling cell becomes a view composer or a constructor dependency. Reactive cells map to Livewire if the app has moved to Laravel 8 or newer.
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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib