Is there any CMS in PHP in just 1 file?
EDIT
Thank you for all your suggestion. I can choose only 1 so I'd choose the one by Chacha102, which I could not find when Googling. You all earned my vote.
Is there any CMS in PHP in just 1 file?
Thank you for all your suggestion. I can choose only 1 so I'd choose the one by Chacha102, which I could not find when Googling. You all earned my vote.
Well, technically ANY CMS that is database-based can be condensed into a single file. That is really all that include
does...
You could probably even write a file-based CMS that just rewrote itself everytime you made a change.
Now whether it is maintainable is a whole other idea. I'd probably stick away from trying to find a 1 file CMS, because as Felix said, it can't be that great..
I know a Github repo that is making a very small (almost 1 file) blogging CMS. I think when I actually tested it, it created another file or two for storing the data. Either way, very small footprint.
Barebonesmvc-php is 60 lines long and says it could be used for a CMS.
Not a good one that is. Sounds like you would have to home brew your own solution at that rate.
You could effectively put a multi-file framework into one file, and have everything work using autoload.