Simple Bootstrap Laravel CMS. Can integrate to any existing Laravel project. Only add few database tables with prefix, not effect your existing database tables. Support Laravel 8.x & 7.x & Laravel 6.x & Laravel 5.x - Amila Laravel CMS
alexstack/laravel-cms is a Laravel package for simple bootstrap laravel cms. can integrate to any existing laravel project. only add few database tables with prefix, not effect your existing database tables. support laravel 8.x & 7.x & laravel 6.x & laravel 5.x - amila laravel cms.
It currently has 107 GitHub stars and 4.313 downloads on Packagist (latest version 1.4.7).
Install it with composer require alexstack/laravel-cms.
Discover more Laravel packages by alexstack
or browse all Laravel packages to compare alternatives.
Last updated
// Make sure you already have laravel installed and configured the database in the .env
// Go to your laravel project folder and install it via composer
// Initialize the CMS (You can set up database table prefix and locale here)
composer require alexstack/laravel-cms && php artisan laravelcms
// Now you can access the cms frontend site: http://yourdomain/cms-home
// Access the backend with the FIRST USER of your site: http://yourdomain/cmsadmin
// Note: The default admin is the first user in your laravel database(user id = 1 )
// Step 1: Install Laravel to folder cms
composer create-project laravel/laravel cms && cd cms && composer require alexstack/laravel-cms
// Step 2: install CMS in silent mode
php artisan laravelcms --locale=en --table_prefix=cms_ --silent=yes
// Note: it will ask for database settings if you did not change the default .env file
// Note: it will automatically run a web server on port 9321 for your project
// Step 3: Now, you can access your cms backend via http://127.0.0.1:9321/cmsadmin/
// Default admin username: [email protected] password: admin321
// Uninstall the CMS
php artisan laravelcms --action=uninstall




// Laravel 6.x & Laravel >= 7 & Laravel >= 8
composer require laravel/ui && php artisan ui vue --auth
// Laravel 5.x, run blow command instead
php artisan make:auth && php artisan migrate
# Change homepage_route to / Â in config/laravel-cms.php
'homepage_route' Â Â => env('LARAVEL_CMS_HOMEPAGE_ROUTE', '/'),
# Remove the existing / route in the routes/web.php
// Route::get('/', function () {
// Â Â return view('welcome');
// });
'page_route_prefix' => env('LARAVEL_CMS_PAGE_PREFIX', '/Article-'),
'admin_route' Â Â Â => env('LARAVEL_CMS_BACKEND_ROUTE', '/admin2019'),
php artisan laravelcms --action=clear
@if ( isset($file_data->main_image) )
  <img src="{{$helper->imageUrl($file_data->main_image, '1000') }}" class="img-fluid" />
  <img src="{{$helper->imageUrl($file_data->main_image, '500') }}" class="img-fluid" />
  <img src="{{$helper->imageUrl($file_data->main_image, 'w', '150') }}" class="img-fluid" />
  <img src="{{$helper->imageUrl($file_data->main_image, '100', '100') }}" class="img-fluid" />
  <img src="{{$helper->imageUrl($file_data->main_image, 'original', 'original') }}" class="img-fluid" />
@endif
<link rel="stylesheet" href="{{ $helper->assetUrl('css/main.css') }}">
...
<script src="{{ $helper->assetUrl('js/bottom.js') }}"></script>
  'template' => [
    'frontend_dir'    => 'frontend',
    'backend_dir'    => 'backend',
    'backend_language'  => 'en',
    'frontend_language' => 'en',
  ]
  'slug_format'  => 'from_title',
  'slug_suffix'  => '.html',
  'slug_separate' => '-',
composer require alexstack/laravel-cms && php artisan laravelcms --action=upgrade

DB_CONNECTION=pgsql
DB_HOST=topsy.db.elephantsql.com
DB_PORT=5432
DB_DATABASE=oktetra
DB_USERNAME=oktetra
DB_PASSWORD=the-postgresql-password
On AWS: Create a s3 bucket and enable it as a Static website hosting, allow all public access and set s3:GetObject Bucket policy, Create an IAM user for api use.
Laravel .env file, set below variables:
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=
AWS_BUCKET=
FILESYSTEM_DRIVER=s3
AWS_URL=
composer require league/flysystem-aws-s3-v3 ^1.0
done
// Step 1: Install Laravel to folder cms
composer create-project laravel/laravel cmsjet && cd cmsjet && composer require laravel/jetstream
// Step 2: install jetstream
php artisan jetstream:install inertia && npm install && npm run dev
// Step 3: install CMS in silent mode
composer require alexstack/laravel-cms && php artisan laravelcms --locale=en --table_prefix=jet_ --silent=yes
// Step 4: Edit routes/web.php
Remove or comment Auth::routes();
Change Route::get('/' to Route::get('/welcome'
Run command: php artisan laravelcms --action=clear
// Step 5: Now, you can access your cms backend via http://127.0.0.1:9321/cmsadmin/
// Default admin username: [email protected] password: admin321
web: vendor/bin/heroku-php-apache2 public/