🚧 Under development - Don't use in production!
Hey folks,
Do you like this package? Do you find it useful and it fits well in your project?
I am glad to help you, and I would be so grateful if you considered supporting my work.
You can even choose 😃:
- You can sponsor me 😎 with a monthly subscription.
- You can buy me a coffee ☕ or a pizza 🍕 just for this package.
- You can plant trees 🌴. By using this link we will both receive 30 trees for free and the planet (and me) will thank you.
- You can "Star ⭐" this repository (it's free 😉).
You can install the package via composer:
composer require lemaur/cms
You can launch the installation:
php artisan cms:install --force
You can publish and run the migrations with:
php artisan vendor:publish --provider="Lemaur\Cms\CmsServiceProvider" --tag="cms-migrations"
php artisan migrate
You can use the route with:
Open routes/web.php
and replace the content with:
Route::social('social');
Route::cms('cms', '/');
You can publish the config file with:
php artisan vendor:publish --provider="Lemaur\Cms\CmsServiceProvider" --tag="cms-config"
# You also need this 3rd party configuration file.
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="config"
You can publish views with:
php artisan vendor:publish --provider="Lemaur\Cms\CmsServiceProvider" --tag="cms-views"
Change values of encrypt
and secure
on your "config/session.php" file.
'encrypt' => env('SESSION_ENCRYPT_COOKIE', true),
...
'secure' => env('SESSION_SECURE_COOKIE', true),
And then add it into your .env.example file as a commented out option:
SESSION_DRIVER=file
SESSION_LIFETIME=120
#SESSION_SECURE_COOKIE=false
#SESSION_ENCRYPT_COOKIE=false
php artisan db:seed
You can find a good starting point at getterms.io.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
- Seo Tools by Artesaos
- Common Mark by League
- Eloquent Publishing by Lemaur (it's me 😎)
- Laravel Image Sitemap by Lemaur (it's me 😎)
- Eloquent Sortable by Spatie
- Laravel Media Library by Spatie
- Laravel Schemaless Attributes by Spatie
- Laravel Sluggable by Spatie
- Laravel Tags by Spatie
- Laravel View Models by Spatie