PHPackages                             stiwl/page-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. stiwl/page-bundle

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

stiwl/page-bundle
=================

Symfony StiwlPageBundle PHP &gt;=5.3.3

091PHP

Since May 27Pushed 11y ago2 watchersCompare

[ Source](https://github.com/STIWL/StiwlPageBundle)[ Packagist](https://packagist.org/packages/stiwl/page-bundle)[ RSS](/packages/stiwl-page-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

StiwlPageBundle
===============

[](#stiwlpagebundle)

Some times we have to make a web page faster, with the essential thinks web marketing, the solution is StiwlPageBundle.

Is a Bundle to create a completly Page Management, it is efficient to implement and ia a simple form to build fully manageable Website in few minutes.

Is a best choice for building a robust and powerful base for projects web pages or web systems.

### Features

[](#features)

- Menu - Page - News - Contact - Products contents.
- This bundle provides an Admin bundle and Doctrine2 ORM Admin bundle managements of Entities: User, Page, Menu, HeaderImage, Meda, News, Product and Category.
- Each Entities with languages and correctly associations.
- All Contents Management is provides from SonataAdminBundle.
- In Contact page the customer information, the form and google maps ubication is integrated.
- User Management provides by FOSUSerBundle.
- Integrates a google maps bundle by IvoryGoogleMapBundle.
- Integrates a paginator provides by KnpMenuPaginator Bundle.
- Integrates a text editor provides by CKEditorBundle.

The demo website can be found in

**Warning**: The bundle has been split in 13 composer requires:

- [SonataAdminBundle](https://github.com/sonata-project/SonataAdminBundle): the current one, contains the Admin bundle generator.
- [SonataBlockBundle](https://github.com/sonata-project/SonataBlockBundle): the current one, contains the Block bundle to sonata admin.
- [SonataIntlBundle](https://github.com/sonata-project/SonataIntlBundle): the current one, contains the Internalization bundle to sonata admin.
- [SonataDoctrineORMAdminBundle](https://github.com/sonata-project/SonataDoctrineORMAdminBundle): Integrates the admin bundle into with the Doctrine ORM project.
- [KnpMenuBundle](https://github.com/KnpLabs/KnpMenuBundle): Integrates the knp menu bundle.
- [KnpPaginatorBundle](https://github.com/KnpLabs/KnpPaginatorBundle): Integrates the knp paginator bundle.
- [SonataMediaBundle](https://github.com/sonata-project/SonataMediaBundle): the current one, contains the Media bundle to sonata admin.
- [SonataNotificationBundle](https://github.com/sonata-project/SonataNotificationBundle): the current one, contains the Notification bundle to sonata admin.
- \[StofDoctrineExtensionsBundle\] () : Integrates doctrine2 extension.
- \[IvoryGoogleMapBundle\] () : Integrates the google maps libraries.
- [IvoryCKEditorBundle](https://github.com/egeloen/IvoryCKEditorBundle): Integrates the powerfull editor CKeditor.
- \[FOSUserBundle\] () : Integrates the FOS user Bundle to manage the users in the system.

Installation:
-------------

[](#installation)

### Installation via composer. ()

[](#installation-via-composer-httpgetcomposerorg)

```
{
  "require": {
    "stiwl/page-bundle": "dev-master",
    "sonata-project/admin-bundle": "dev-master",
    "sonata-project/block-bundle": "dev-master",
    "sonata-project/intl-bundle": "dev-master",
    "sonata-project/media-bundle": "dev-master",
    "sonata-project/notification-bundle": "dev-master",
    "sonata-project/core-bundle": "dev-master",
    "sonata-project/doctrine-orm-admin-bundle": "dev-master",
    "knplabs/knp-menu-bundle": "1.1.x-dev",
    "knplabs/knp-paginator-bundle": "dev-master",
    "stof/doctrine-extensions-bundle": "dev-master",
    "egeloen/google-map-bundle": "dev-master",
    "egeloen/google-map": "*@dev",
    "egeloen/ckeditor-bundle": "2.*",
    "willdurand/geocoder": "*",
    "friendsofsymfony/user-bundle": "*"
  },
}
```

How to use
----------

[](#how-to-use)

### Add in appKernel.php:

[](#add-in-appkernelphp)

```

```

### Add in your routing

[](#add-in-your-routing)

```
# app/config/routing.yml
stiwl_pageB_third_sonata_admin:
    resource: "@StiwlPageThirdSonataAdminBundle/Resources/config/routing.yml"
    prefix: /admin

stiwl_pageB_third_media_admin:
    resource: "@StiwlPageThirdSonataMediaBundle/Resources/config/routing.yml"
    prefix: /media

stiwl_pageB_third_fos_user:
    resource: "@StiwlPageThirdFOSUserBundle/Resources/config/routing.yml"
    prefix:   /

stiwl_pageB_set_locale:
    path: /set-locale/{route}/{routeParams}
    defaults: { _controller: StiwlPageBundle:Page:setLocale, routeParams: null }

stiwl_pageB_page:
    path:  /page/{menuId}/{slug}
    defaults: { _controller: StiwlPageBundle:Page:page }

_stiwl_pageB:
    resource: .
    type: stiwl_page
    prefix: /

stiwl_pageB_index:
    path: /
    defaults: {_controller: StiwlPageBundle:Page:index }
```

### Configure your security for FOSUserBundle security:

[](#configure-your-security-for-fosuserbundle-security)

I suggest read all the documentation ()

```
# app/config/security.yml
security:
    firewalls:
        secured_area:
            pattern: ^/*
            anonymous: ~
            form_login:
                provider: fos_userbundle
                csrf_provider: form.csrf_provider
                login_path: fos_user_security_login
                check_path: fos_user_security_check
                default_target_path: fos_user_security_login
            logout:
                path: fos_user_security_logout
                target: fos_user_security_login
            remember_me:
                key:      "%secret%"
                lifetime: 31536000 # 365 days in seconds
                path:     /
                domain:   ~ # Defaults to the current domain from $_SERVER

    role_hierarchy:
        ROLE_ADMIN:  ['ROLE_USER']
        ROLE_SUPER_ADMIN: ['ROLE_ADMIN']

## add /(en|es) of some languages if you enabled the {_locale} in your app/config/routing.yml
    access_control:
        - { path: ^/(en|es)/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/(en|es)/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/(en|es)/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/(en|es)/admin/, role: ROLE_ADMIN }
# If not enabled {_locale} in your app/config/routing.yml
#        - { path: '^/backend', roles: ['ROLE_ADMIN'] }
#        - { path: '^/secured', roles: ['ROLE_USER'] }
#        - { path: '^/guest/user', roles: ['ROLE_USER', 'IS_AUTHENTICATED', 'ROLE_ADMIN', 'ROLE_TEACHER'] }

    providers:
        fos_userbundle:
            id: fos_user.user_provider.username

    encoders:
        FOS\UserBundle\Model\UserInterface: { algorithm: sha512, iterations: 10 }
```

Configuration:
--------------

[](#configuration)

```
# app/config/config.yml
stiwl_page:
    developer: STIWL
    website: http://www.stiwl.net/
    enterprise:
        name: Pharmacy S.A.C
        short_name: pharmacy
        business: Pharmaceutical products
        slogan: Quality and reliability
        money: $
        email: luis.sanchez.saldana@gmail.com
        address: Av. xxx #xxx
        phones:
            ## add what you want, defaults are movil and office
            movil: { value: '#########' }
            office: { value: '######' }
        google_map:
            latitude: -12.09223
            longitude: -77.00050
            width: 300px
            height: 300px
    pages:
        news:
            enabled: true
            #you can config the position last or first too
            position: 0
        products:
            enabled: true
            position: 1
        contact_us:
            enabled: true
            position: 2
        fos_user:
            login:
                visible: false
                position: ~
            register:
                enabled: false
                position: ~
```

Finally execute command to generate database and create schema from doctrine
----------------------------------------------------------------------------

[](#finally-execute-command-to-generate-database-and-create-schema-from-doctrine)

- php app/console doctrine:database:create
- php app/console doctrine:schema:create

Visit my Website and my Facebook page
-------------------------------------

[](#visit-my-website-and-my-facebook-page)

- [STIWL](http:www.stiwl.com)
- [Facebook](http:www.facebook.com/stiwl)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/4073566?v=4)[Solutions Technology Information Web Land](/maintainers/stiwl)[@STIWL](https://github.com/STIWL)

---

Top Contributors

[![luisansaldev](https://avatars.githubusercontent.com/u/169325137?v=4)](https://github.com/luisansaldev "luisansaldev (29 commits)")

### Embed Badge

![Health badge](/badges/stiwl-page-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/stiwl-page-bundle/health.svg)](https://phpackages.com/packages/stiwl-page-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)
