Luminova is a PHP framework built for speed and efficiency, designed to enhance your existing coding skills. At Luminova, we prioritize performance by offering feature customization through the env file. This ensures the framework includes only what's needed for your project, based on the features you enable. This approach allows you to enable or disable features as well as customizing your preferred template rendering mode and coding style.
Luminova, provide access to the template View object within the view files, allowing you to call template methods and properties using $this keyword within template files. This can be disabled if you prefer your views to be rendered in isolation, disabling it will allow you to access exported application classes using custom keyword $self.
Ready to light up your projects? Dive into our official documentation. For more tips, tricks, and some coding fun, check out our YouTube channel.
Install luminova via Composer.
composer create-project luminovang/luminova my-projectTo start the PHP development server, run the following NovaKit command.
php novakit serverTo generate your website sitemap use the below NovaKit command.
php novakit generate:sitemapTo learn more about NovaKit commands read the novakit documentation.
Luminova support flexible routing implementation using Attributes or Router methods.
Define your route using PHP8 attributes:*
#[Route('/', methods: ['GET'])]
public function index(): int
{
return $this->view('index');
}Or define your route using code-based routing:
<?php
$router->get('/', 'YourController::index');Here we can brief you on the basic features you can expect in Luminova. There's a lot more than what is written here. As Linus Torvalds said, "Talk is cheap. Show me the code."
Twig or Smarty template engines.NovaKit command.Q: My session works on the development server but not on the production server.
$sessionDomain in /app/Config/Session.php to your actual production domain. A quick fix is to use '.' . APP_HOST. Also, don't forget to update the Cookie.php configuration accordingly.Q: My CSS and images are broken on the production server.
app.environment.mood key to production in your environment file when deploying to production. This small step ensures your assets are served correctly.Your feedback is highly appreciated! Drop us a line at [email protected]. Let us know what we can add to enhance your experience with Luminova. You can also recommend tutorials for our YouTube channel to help you understand and use Luminova better.
Most importantly, don't forget to rate Luminova on GitHub. Your rating is like fuel, helping to illuminate our motivation to add more features and make Luminova even better known and more powerful.