jinexus-framework / jinexus-framework-skeleton
JiNexus Framework Skeleton
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 3
Forks: 6
Open Issues: 0
Type:project
Requires
- php: ^5.6 || ^7.0
- jinexus-framework/jinexus-mvc: ^1.0.0
This package is auto-updated.
Last update: 2024-10-14 06:26:30 UTC
README
Introduction
This is a skeleton application using the JiNexus Framework MVC layer and module systems. This application is meant to be used as a starting place for those looking to use JiNexus Framework.
System Requirements
JiNexus Framework 1.x.x requires:
- PHP 5.6 or later
- Mod_Rewrite
- Mbstring
Setup
To create your new JiNexus Framework application, first make sure you're using PHP 5.6 or later and have Composer installed. You may also check how to install composer in their documentation.
All you have to do—to create your new JiNexus Framework project is to run this one single line command:
$ composer create-project jinexus-framework/jinexus-framework-skeleton path/to/my-project
This will create a new my-project directory, download some dependencies into it and even generate the basic directories and files you'll need to get started. In other words, your new app is ready!
Next you'll have to make project directories writable (command may vary depending on your system):
$ chown -R www-data:www-data path/to/my-project
$ chmod -R g+rwX path/to/my-project
Start a Web Server
The Skeleton creates a full application structure that's ready-to-go when complete. You can test it out using built-in web server.
From the project root directory, execute either of the following command:
Using Composer
$ composer run --timeout=0 serve
Using PHP
$ php -S localhost:8000 -t public
Either of the following command—this will starts up a web server on localhost port 8000; browse to http://localhost:8000 to see if your application responds correctly!
- File issues at https://github.com/jinexus-framework/jinexus-http/issues
- Documentation is at https://framework.jinexus.com/documentation