A PHP CMS powered by Laravel 5 and Sentry https://gjcampbell.co.uk/
Bootstrap CMS was created by, and is maintained by Graham Campbell, and is a PHP CMS powered by Laravel 5.1 and Sentry. It utilises many of my packages including Laravel Core and Laravel Credentials. Feel free to check out the releases, license, screenshots, and contribution guidelines.
Installation
- There are 3 ways of grabbing the code:
- Use GitHub: simply download the zip on the right of the readme
- Use Git:
git clone git@github.com:BootstrapCMS/CMS.git
- Use Composer:
composer create-project graham-campbell/bootstrap-cms --prefer-dist -s dev
- From a command line open in the folder, run
composer install --no-dev -o
and thennpm install
. - Enter your database details into
config/database.php
. - Run
php artisan app:install
followed bygulp --production
to setup the application. - You will need to enter your mail server details into
config/mail.php
.- You can disable verification emails in
config/credentials.php
- Mail is still required for other functions like password resets and the contact form
- You must set the contact email in
config/contact.php
- I'd recommend queuing email sending for greater performance (see below)
- You can disable verification emails in
- Finally, setup an Apache VirtualHost to point to the "public" folder.
- For development, you can simply run
php artisan serve
- For development, you can simply run
Setting Up Queuing
Bootstrap CMS uses Laravel's queue system to offload jobs such as sending emails so your users don't have to wait for these activities to complete before their pages load. By default, we're using the "sync" queue driver.
- Check out Laravel's documentation.
- Enter your queue server details into
config/queue.php
.
Setting Up Caching
Bootstrap CMS provides caching functionality, and when enabled, requires a caching server. Note that caching will not work with Laravel's
file
or database
cache drivers.- Choose your poison - I'd recommend Redis.
- Enter your cache server details into
config/cache.php
. - Setting the driver to array will effectively disable caching if you don't want the overhead.
Setting Up Themes
Bootstrap CMS also ships with 18 themes, 16 from Bootswatch.
- You can set your theme in
config/theme.php
. - You can also set your navbar style in
config/theme.php
. - After making theme changes, you will have to run
php artisan app:update
.
Setting Up Google Analytics
Bootstrap CMS natively supports Google Analytics.
- Setup a web property on Google Analytics.
- Enter your tracking id into
config/analytics.php
. - Enable Google Analytics in
config/analytics.php
.
Setting Up CloudFlare Analytics
Bootstrap CMS can read CloudFlare analytic data through a package.
- Follow the install instructions for my Laravel CloudFlare package.
- Bootstrap CMS will auto-detect the package, only allow admin access, and add links to the navigation bar.
from https://github.com/BootstrapCMS/CMS