Download the PHP package rosalana/configure without Composer

On this page you can find all versions of the php package rosalana/configure. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package configure

Rosalana

Rosalana Configure is a low-level engine for programmatic, structure-safe manipulation of Laravel configuration files.

It allows you to read, modify, generate and reorganize config files while preserving formatting, order, comments, and developer intent.

This package is designed primarily for:

Installation

Why Configure?

Laravel configuration files are PHP code — not simple data structures.

Editing them reliably means dealing with:

Rosalana Configure does not treat config files as arrays. It treats them as a structured document composed of nodes.

[!NOTE] Think of it more like a DOM or AST for Laravel config files.

Core Concepts

Nodes

Every configuration file is represented as a tree of nodes:

Node Type Description
File Root of the configuration file
Section An array block ('database' => [...])
Value A single key-value pair
Comment Single-line comment (//)
RichComment Laravel-style block comment (/* */)

All operations are performed by selecting nodes, not by mutating arrays.


Selection Model

Selection works similarly to browser dev tools:


Sections vs Values

You can traverse deeper:

Or jump directly using a full path:


Automatic Creation

If a section or value does not exist, it is created automatically.

New nodes are always appended to the end of their parent section.

Working with Values

Soft assignment

Sets the value only if it does not already exist.


Value typing

Always pass values as strings. The engine resolves the correct PHP representation.

Non-associative arrays can be written on multiple lines and still be recognized correctly. The engine will automatically reformat them when containing five items or more.

[!IMPORTANT] Associative arrays must be created using section(), not set().


Renaming Nodes

Renaming changes the node path. When selecting again, use the new name.

Moving and Reordering Nodes

All nodes can be reordered within their parent scope.

Cross-scope movement

To move nodes outside their parent, specify the full target path.

Chaining & Scope Control

Selectors automatically return to the appropriate scope.

Root selection (. notation)

Using . always resets scope to the root file.

Comments Support

Comments are first-class citizens. You can add, remove, and manipulate comments in the same way as other nodes.

Single-line comments


Multi-line comments


Laravel-style comments


Node-bound comments

As you can see, comments were placed inside the section they are created in just like other nodes.

Selecting comments can be tricky, because comments do not have keys.

More proper way to create and select comments is to bound them to other nodes. Every node may have one associated comment, placed immediately above it.

[!IMPORTANT] The comment is rewritten if the node already has an associated comment. Also note that withComment() is just for scoping convenience. It does not make any functional difference compared to creating comments normally.

This way, comments are logically tied to their nodes, and you can rewrite them without worrying about selecting them directly.

Layout, Padding & Formatting

Each node defines its own padding rules.

The engine:

You never manually manage whitespace.

Saving & Diffing

Save Changes

Preview Changes

Debugging & Inspection

Every node can be inspected:


Common Getter Methods


Common Helpers


Value Helpers


Parent Node Helpers


Comment Node Helpers

License

Rosalana Configure is open-source under the MIT license, allowing you to freely use, modify, and distribute it with minimal restrictions.

You may not be able to use our systems but you can use our code to build your own.

For details on how to contribute or how the Rosalana ecosystem is maintained, please refer to each repository’s individual guidelines.

Questions or feedback?

Feel free to open an issue or contribute with a pull request. Happy coding with Rosalana!


All versions of configure with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^12.0
symfony/polyfill-php85 Version ^1.33
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rosalana/configure contains the following files

Loading the files please wait ...