Almost badly written, badly commented and documented, not tested. I'm working on it in the few spare time!
Things will change, things will break!
nope! (a.k.a. n!) is a content management system written in PHP, suitable for small projects.
- PHP >= 5.5.x with:
- PDO with SQLite extension,
- GD image processing library,
- CURL library
- Apache2 >= 2.4.x with mod_rewrite
- composer
Download or clone this repository:
$ git clone https://github.com/davidefavia/nope.git
Use composer to manage PHP dependencies.
$ composer install
Go to http://localhost/admin if you prefer to use installation directory as DocumentRoot
.
Go to http://localhost/path/to/installation/admin if you installed nope! inside a subfolder or DocumentRoot
.
Simple installation process will drive you through requirements and folder permissions.
nope! does not pretend to reinvent the wheel, so it takes advantage of the following libraries:
- Slim framework
- RedbeanPHP
- Respect\Validation
- Intervention\Image
- PHPMailer
- Stringy
- Parsedown
- oscarotero\Embed
- Carbon
- League\Event
Administration interface is built on top of:
and others.
Default theme uses milligram.
TL;DR I ❤️ WordPress but I need something simpler.
I worked a lot with WordPress for customers and personal projects. Every single project had the same path for me.
- Download WordPress locally.
- Create MySQL database.
- Install WordPress.
- Install set of useful plugins.
- Define custom post types.
- Develop custom plugins and theme.
- Insert content.
- Set permissions and menu to forbid administration settings change.
- Export MySQL database.
- FTP to production.
- Import MySQL database to production environment (via PHPMyAdmin or MySQL GUI client if database server is remotely accessible).
- MySQL search and replace for URLs.
- Write instructions for customer about how to insert new content, manage images, carousels, widgets and anything else I developed to customize every single fu**ing box/carousel/list in the sidebar/footer (that probably will never change in future).
- Backup database and FTP all changes (e.g. uploaded files) to local environment.
Maybe a lot of this stuff is achievable via plugins I never used or discovered or learnt how to configure. Things could be easier even with this workflow, but not for me at this time.
I'm tired of this workflow, I'm tired of an heavy administration interface and different plugins UI. I spent more time to hide features or configure administration than to develop good code, I neither updated my code customizations nor the platform. I NEVER had the need to add plugins or change theme on-the-fly through administration interface without testing them locally in advance.
I need something radically different:
- Download and install nope! locally.
- Enable or define (and develop code for) custom content types via PHP files.
- Develop custom theme and plugins/hooks.
- Set roles and permissions inside a PHP file.
- Insert content.
- Build package for production.
- FTP to production.
- Easy backup and restore (e.g. compressed file with SQLite database and uploaded files).
If I need something new (1% of cases), I develop locally and I update everything (except database, maybe).
Don't get me wrong: I ❤️ WordPress, but it doesn't fit my needs anymore. I need something simpler even if still customizable and hookable. Few actions: write content, upload files, create gallery, build a custom theme, let people add/edit and organize content without full administration privileges. If I need more features, I'll develop them, simple.
See LICENSE file.