Download the PHP package cmouleyre/lunacms without Composer

On this page you can find all versions of the php package cmouleyre/lunacms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package lunacms

LunaCMS - README

Overview

LunaCMS is a lightweight and extensible PHP library for building content management system (CMS) websites. It leverages modern PHP components such as Twig for templating, Doctrine DBAL for database interactions, PHPMailer for email handling, and Redis for optional caching. LunaCMS is designed to help developers create modular, maintainable, and flexible small to medium-scale websites quickly and efficiently.

Features

Requirements

Installation

Prerequisites

Steps

  1. Clone the Repository

  2. Navigate to the Project Directory

  3. Install PHP Dependencies

  4. Install Node.js Dependencies

  5. Generate the Site Structure Use the CLI script to generate the necessary directories and files.

  6. Configure the Project Edit the config/config.json file with your project-specific settings.

  7. Build Assets

Usage

Generating a New Site Structure

Use the command-line tool to create a new site structure. This will generate all the necessary directories and configuration files:

Configuration

LunaCMS uses a configuration file located at config/config.json. This file contains:

Controllers

LunaCMS follows an MVC architecture, using controllers to handle requests. Create new controllers by extending the Controller class:

Redis Caching

LunaCMS supports Redis caching if the Redis PHP extension is installed. Example usage:

If Redis is not available, these methods will fail silently.

Sending Emails

You can send emails with PHPMailer using LunaCMS's built-in functionality:

Make sure to configure the email settings in the config/config.json file.

Routing

Routing in LunaCMS is handled by the Routing class. Define your routes in config/routes.php:

This allows you to map URLs to specific controllers easily.

Project Structure

Key Directories and Files

License

LunaCMS is open source and licensed under the MIT License. You are free to use, modify, and distribute it in accordance with the license terms.

Contributing

Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request with your changes.

Feel free to reach out if you need more guidance or if anything is unclear.


All versions of lunacms with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
twig/twig Version ^3.0
symfony/console Version ^6.0
doctrine/dbal Version ^3.0
phpmailer/phpmailer Version ^6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cmouleyre/lunacms contains the following files

Loading the files please wait ....