lemaur/cms

This package is abandoned and no longer maintained. No replacement package was suggested.

cms

Fund package maintenance!
lemaur

0.1.7 2022-02-21 17:56 UTC

This package is auto-updated.

Last update: 2023-02-21 20:00:49 UTC


README

🚧 Under development - Don't use in production!

Latest Version on Packagist Total Downloads License GitHub Code Style Action Status GitHub Sponsors Trees

Support Me

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 😃:

Installation

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"

Increase security

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

Do you need some pages to start with?

php artisan db:seed

Do you need to generate "Terms of service" and/or "Privacy Policy"?

You can find a good starting point at getterms.io.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Wall of Fame