TypiCMS is a multilingual content management system build with Laravel 4.1.
Bower and gulp are used for assets management and user interface is build with Bootstrap 3 with Less.
Demo
This kind of urls are managed by the CMS :
Modules:
- /en/events/slug-in-english
- /fr/evenements/slug-en-francais
Pages:
- /en/parent-pages-slug-en/subpage-slug-en/page-slug-en
- /fr/parent-pages-slug-fr/subpage-slug-fr/page-slug-fr
- Repositories
- Cache decorator
- Form and validation services
- Presenters
- Gulp
- Bower
- Bootstrap 3
- PHP >= 5.4.0
- MCrypt PHP Extension
- Memcached or APC
- Download TypiCMS
git clone git://github.com/sdebacker/TypiCMS.git mywebsite
- Enter newly created folder
cd mywebsite
- Install dependencies with Composer :
Composer install
- Fill in your MySQL credentials in env.local.php
- Rename env.local.php to .env.local.php :
mv env.local.php .env.local.php
- Create a new database with the name filled in .env.local.php
- Migrate and seed Database :
php artisan migrate --seed
- Set permissions
chmod -R 777 app/storage
andchmod -R 777 public/uploads
- Go to http://mywebsite.local/admin and log in with admin@example.com as email and admin as password.
- Set available locale and default locale in app/config/app.php
- Set a new encryption key manually or with
php artisan key:generate
- Change cache prefix in app/config/cache.php
- Cache driver is set to memcached, you can change it to apc in app/config/cache.php
Pages are nestable with drag and drop, on drop, uris are generated and saved in database. A page has routes for each translation.
Each menu have nestable entries. One entry can be linked to a module, page, URI or URL.
Projects have categories, projects urls follows this pattern : /en/projects/category-slug/project-slug
Categories has many projects.
Tags are linked to projects and use Select2 js plugin.
It has many to many polymorphic relations so it could easily be linked to other modules.
Events have starting and ending dates
Simple news module
Frontend contact form and admin side records management
Files module allows you to upload multiple files linked to a resource. It uses DropzoneJS.
Thumbnails are generated on the fly with Croppa.
Sentry 2 is used to manage users, groups and permissions.
Users registration can be enable through the settings panel (/admin/settings).
Translations can be store in database through the admin panel (/admin/translations).
Each cell of the translation table is editable in place.
You can call DB translation everywhere with Lang::get('db.Key')
, trans('db.Key')
or @lang('db.Key')
.
Change website title, and other options trough the settings panel. Settings are saved in database.
- Improve user interface
- Make modules as packages
- Build more tests
TypiCMS needs many improvements, some options are not yet implemented and some code need to be simplified and moved in separate classes.
TypiCMS follow PSR-2 standard.
Some admin controllers are actually tested, more tests needed.
TypiCMS is open-sourced software licensed under the MIT license.