PHPackages                             rmatil/angular-cms-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. rmatil/angular-cms-bundle

AbandonedArchivedSymfony-bundle[Framework](/categories/framework)

rmatil/angular-cms-bundle
=========================

A content management system for Symfony 3

001[1 issues](https://github.com/rmatil/angular-cms-bundle/issues)[1 PRs](https://github.com/rmatil/angular-cms-bundle/pulls)PHP

Since Mar 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/rmatil/angular-cms-bundle)[ Packagist](https://packagist.org/packages/rmatil/angular-cms-bundle)[ RSS](/packages/rmatil-angular-cms-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Installation
------------

[](#installation)

- composer install
- add FOSUserBundle to AppKernel
- add JMSSerializer to AppKernel
- add DoctrineMigrationsBundle to AppKernel
- add rmatilCmsBundle to AppKernel

```

     public function registerBundles()
        {
            $bundles = [
                // ....
                new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
                new JMS\SerializerBundle\JMSSerializerBundle(),
                new FOS\UserBundle\FOSUserBundle(),
                new Vich\UploaderBundle\VichUploaderBundle(),
                new rmatil\CmsBundle\rmatilCmsBundle(),
                new AppBundle\AppBundle(),
            ];

            if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
                $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
                $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
                $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
                $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
            }

            return $bundles;
        }
```

- Add routing for FOSUser to `routing.yml`
- Add routing for CmsBundle to `routing.yml`

```
    # rmatil CmsBundle
    rmatil_cms:
        resource: "@rmatilCmsBundle/Resources/config/routing.yml"
        prefix:   "/api"

    # FOS UserBundle
    fos_user:
        resource: "@FOSUserBundle/Resources/config/routing/all.xml"

```

- Add the following to `config.yml`

```
    # FOS UserBundle
    fos_user:
        db_driver: orm
        firewall_name: main # must match the firewall name where fos_user_bundle is configured
        user_class: rmatil\CmsBundle\Entity\User
        registration:
            confirmation:
                enabled: true

    # Doctrine Migrations
    doctrine_migrations:
        dir_name: "%kernel.root_dir%/../src/rmatil/CmsBundle/Resources/doctrine-migrations"
        namespace: Application\Migrations
        table_name: migration_versions
        name: Application Migrations
```

- Add the following to `security.yml`

```
    encoders:
        FOS\UserBundle\Model\UserInterface: bcrypt

    role_hierarchy:
        ROLE_MEMBER:      [ROLE_USER]
        ROLE_ADMIN:       [ROLE_MEMBER]
        ROLE_SUPER_ADMIN: [ROLE_ADMIN]

    # http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
    providers:
        fos_userbundle:
            id: fos_user.user_provider.username

    firewalls:
        # disables authentication for assets and the profiler, adapt it according to your needs
        dev:
            pattern: ^/(_(profiler|wdt)|css|images|js)/
            security: false

        # Basic Authentication for API requests
        api:
            pattern: /api/*
            stateless: true
            anonymous: true
            form_login: false
            http_basic:
                provider: fos_userbundle

        # Form Login Authentication for all other requests
        main:
            # activate different ways to authenticate

            # http_basic: ~
            # http://symfony.com/doc/current/book/security.html#a-configuring-how-your-users-will-authenticate

            # form_login: ~
            # http://symfony.com/doc/current/cookbook/security/form_login_setup.html

            # FOS UserBundle
            pattern: ^/
            form_login:
                provider: fos_userbundle
                csrf_token_generator: security.csrf.token_manager
                # if you are using Symfony < 2.8, use the following config instead:
                # csrf_provider: form.csrf_provider

            logout:       true
            anonymous:    true

    access_control:
        - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/api/, role: ROLE_ADMIN }
```

- Add the following to `web/.htaccess` and replace `app_dev.php` with `app.php` for production

```
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{HTTP_HOST} ^dev.flimsfestival.rmatil.vagrant
    RewriteRule ^(.*)$ app_dev.php [QSA,L]
    # Rewrite all other queries to the front controller.
    # RewriteRule ^ %{ENV:BASE}/app.php [L]

```

- Change the path in `AppKernel` for files to `tmp` folder:

```
    // ...

    public function getCacheDir()
    {
//        return dirname(__DIR__).'/var/'.$this->environment.'/cache';
        return '/tmp/var/'.$this->environment.'/cache';
    }

    public function getLogDir()
    {
//        return dirname(__DIR__).'/var/'.$this->environment.'/logs';
        return '/tmp/var/'.$this->environment.'/logs';
    }

    // ...
```

- Change the path in `config.yml` for sessions:

```
    session:
        # http://symfony.com/doc/current/reference/configuration/framework.html#handler-id
        handler_id:  session.handler.native_file
        #save_path:   "%kernel.root_dir%/../var/sessions/%kernel.environment%"
        save_path:   "/tmp/var/sessions/%kernel.environment%"
```

- Add the configuration for Vich Uploader Bundle in `config.yml`:

```
    # Vich Uploader Bundle
    vich_uploader:
        db_driver: orm

        mappings:
            upload:
                uri_prefix:         /upload
                upload_destination: '%kernel.root_dir%/../web/upload'
                namer:              vich_uploader.namer_origname
                inject_on_load:     false
                delete_on_update:   true
                delete_on_remove:   true
```

File Upload
-----------

[](#file-upload)

- Open correct `php.ini`: `sudo vim /etc/php/7.1/fpm/php.ini`
- Check for `file_uploads`. Should be `On`
- Check for `post_max_size`.
- Check for `upload_max_filesize`. Should have the same size as `post_max_size`
- Restart apache
- Make sure, that the upload folder has write permissions: `chmod +x web/uploads`
- Make sure, file uploads work. If not check

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3106589?v=4)[Raphael Matile](/maintainers/rmatil)[@rmatil](https://github.com/rmatil)

---

Top Contributors

[![rmatil](https://avatars.githubusercontent.com/u/3106589?v=4)](https://github.com/rmatil "rmatil (57 commits)")

### Embed Badge

![Health badge](/badges/rmatil-angular-cms-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/rmatil-angular-cms-bundle/health.svg)](https://phpackages.com/packages/rmatil-angular-cms-bundle)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
