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 phpartisanroute:cache
Turn off debug mode APP_DEBUG=false
Cache configuration information phpartisanconfig:cache
Use the 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 composerrequireswooletw/laravel-swoole first. Add this service provider to the config/app.php service provider array.
['providers'=>[SwooleTWHttpLaravelServiceProvider::class,],]
execute command
phpartisanswoole:httpstart|restart|stop|reload|infos
Nginx configuration
map$http_upgrade$connection_upgrade{defaultupgrade;''close;}server{listen80;server_nameyour.domain.com;root/path/to/laravel/public;indexindex.php;location=/index.php{#Ensurethatthereisnosuchfilenamed"not_exists"# inyour"public"directory.try_files/not_exists@swoole;}#anyphpfilesmustnotbeaccessed#location~*.php${#return404;#}location/{try_files$uri$uri/@swoole;}location@swoole{set$suffix" ";if($uri=/index.php){set$suffix?$query_string;}proxy_http_version1.1;proxy_set_headerHost$http_host;proxy_set_headerScheme$scheme;proxy_set_headerSERVER_PORT$server_port;proxy_set_headerREMOTE_ADDR$remote_addr;proxy_set_headerX-Forwarded-For$proxy_ add_x_forwarded_for;proxy_set_headerUpgrade $http_upgrade;proxy_set_headerConnection$connection_upgrade;#IFhttps#proxy_set_headerHTTPS"on";proxy_passhttp://127.0.0.1:1215$suffix;}}
Quick installation
Download source code/upload source code to server
Run composerinstall --ignore-platform-reqs in the root directory
Create an .env file in the root directory and run phpartisankey: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.