MyCms is an open source and free self-media blog CMS system developed based on Laravel. It is suitable for the development and use of personal websites and corporate websites. Software copyright number: 2021SR1543432. MyCms is released based on the Apache2.0 open source license. It is free and does not restrict commercial use. Welcome to continue to follow us.
Features:
Basic backend functions
Permission management
Content management
Product management
Member management
Plug-in management
Front desk function implementation
front page
Article category page
Article search page
Article tab
Article details page
Article comments
Product list page
Product details page
Member login/registration
Member Center
System characteristics
Simple, elegant, flexible and scalable
SEO-friendly URL patterns
More elegant, SEO-optimized paging
Basic caching function and database index creation
More scalable routing monitoring function
Complete plug-in installation/uninstallation mechanism
Embedding public functions to better expand the system
Simple and easy-to-use template functions, making templates more convenient
Performance improvements
Use opcache to speed up performance
Cache routing information php artisan route:cache
Turn off debug mode APP_DEBUG=false
Cache configuration information php artisan config:cache
Use Swoole version
Swoole version
Currently, the latest version v1.3.2+ has added Swoole support. Users using the new version can directly install it and configure it as follows.
Users using older versions need to install composer require swooletw/laravel-swoole first. Add this service provider to the service provider array in config/app.php.
[ 'providers' => [ SwooleTWHttpLaravelServiceProvider::class, ], ]
execute command
php artisan swoole:http start|restart|stop|reload|infos
Nginx configuration
map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { listen 80; server_name your.domain.com; root /path/to/laravel/public; index index.php; location = /index.php { # Ensure that there is no such file named "not_exists" # in your "public" directory. try_files /not_exists @swoole; } # any php files must not be accessed #location ~* .php$ { # return 404; #} location / { try_files $uri $uri/ @swoole; } location @swoole { set $suffix ""; if ($uri = /index.php) { set $suffix ?$query_string; } proxy_http_version 1.1; proxy_set_header Host $http_host; proxy_set_header Scheme $scheme; proxy_set_header SERVER_PORT $server_port; proxy_set_header REMOTE_ADDR $remote_addr; proxy_set_header 0.1 :1215$suffix; } }
Quick installation
Download source code/Upload source code to server
Run composer install --ignore-platform-reqs in the root directory
Create an .env file in the root directory and run php artisan key:generate to generate the key
Set the website running directory to /public
Visit domain name/install and perform online configuration according to the installation wizard.