Download the PHP package portable/fila-cms without Composer

On this page you can find all versions of the php package portable/fila-cms. 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 fila-cms

#

Requirements

How to use

Require the package using composer: composer require portable/fila-cms:@dev

Installation Command

To initialize the package, you need to run the fila-cms:install command. This command also has arguments that will install other features of Filament.

You can read about the various Filament features here

The following arguments can be added to add the feature

  1. scaffold
  2. actions
  3. forms
  4. infolists
  5. notifications
  6. panels
  7. tables
  8. widgets

Add User Concerns

This command can be used by executing php artisan fila-cms:add-user-concerns. With this command, it'll add the traits and interfaces to your user model.

Note: This command is also part of the fila-cms:install. Upon executing the install command, you'll be asked if you want to add the required trait to your User Model. By inputting yes, the install command will also execute this command

Maker User

After installation, you can create a user with the admin role by executing php artisan fila-cms:make-user. This command will ask for field values present in your users table and automatically assigns the admin role to it.

Testing

From the project directory, run ./vendor/bin/pest

Frontend assets (pnpm)

JS/CSS assets are managed with pnpm (v11+) on Node 22+ — see the security rationale in docs/superpowers/plans/2026-06-11-npm-to-pnpm-migration.md. Do not use npm/yarn.

The pinned package manager (packageManager) and engines constraints in package.json are enforced via engine-strict=true in .npmrc; security defaults (7-day minimumReleaseAge) live in pnpm-workspace.yaml.

Interacting with the package

During development, you may like to actually interact with the FilaCMS UI. In your console, run

You can now load the application at http://localhost:8000/admin

Username: [email protected] Password: password

If you're doing anything that needs to send mail, start the Mailhog daemon: docker run -p 8025:8025 -p 1025:1025 mailhog/mailhog

Now you can go to http://localhost:8025 and see any mail that the application "sends"

Protecting resources

Add the IsProtectedResource trait to your Filament resources to have them automatically obey view <resource-name> and manage <resource-name> permissions.

Extending the Abstract Content

To add additional models or tables that extends the AbstractContent, you start by executing php artisan make:filament-resource {Resource}.

This command will generate a Resource file in your App\Filament\Resources folder. Add the next line in your class: use Portable\FilaCms\Filament\Resources\AbstractContentResource;

Then go to your generated Resource file (e.g. RecipeResource.php), and change the extends Resource part to extends AbstractContentResource.

You should declare the proper model in your $model variable.

Then go to your model and add the following line: use Portable\FilaCms\Models\AbstractContentModel; Then change the extends Model to extends AbstractContentModel

Next is to create a Plugin class in your app/Plugins folder (or create the folder if it's not present yet). The content should look like this (change the appropriate values such as the Resource and the ID):

namespace App\Plugins;

use App\Filament\Resources\RecipeResource;
use Filament\Panel;
use Filament\Contracts\Plugin;

class RecipesPlugin implements Plugin
{
    public function getId(): string
    {
        return 'filacms-recipes';
    }

    public function register(Panel $panel): void
    {
        $panel->resources([
            RecipeResource::class
        ]);
    }
}

Finally, add the plugin in your app/config/fila-cms.php file


All versions of fila-cms with dependencies

PHP Build Version
Package Version
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 portable/fila-cms contains the following files

Loading the files please wait ...