Download the PHP package smartedutech/littelframeworkapp without Composer
On this page you can find all versions of the php package smartedutech/littelframeworkapp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download smartedutech/littelframeworkapp
More information about smartedutech/littelframeworkapp
Files in smartedutech/littelframeworkapp
Package littelframeworkapp
Short Description skeleton for small mvc application
License MIT
Informations about the package littelframeworkapp
litelleframework-mvc-skeleton
Introduction
--Version This is a application skeleton application using the litelleframwork MVC layer and module systems. This application is meant to be used as a starting place for those looking to get their feet wet with litelleframwork MVC.
Installation using Composer
The easiest way to create a new litelleframwork MVC project is to use Composer. If you don't have it already installed, then please install as per the documentation.
To create your new littelframework MVC project:
Once installed, you can test it out immediately using PHP's built-in web server:
This will start the cli-server on port 8080, and bind it to all network interfaces. You can then visit the site at http://localhost:8080/
- which will bring up litelleframwork MVC Skeleton welcome page.
Note: The built-in CLI server is for development only.
Development mode
You cas use a simple generator included in this project. the generator is a package named smartedutech/litelle-framework-generator
the file used to generate your CRUD is '/public/generator.php'
Development mode configure generator
to configure the crud you must implement this file 'vendor\smartedutech\litelle-framework-generator\src\Configgen\module.php' the file content the name of package and the name of your controllers and actions with the database tables
''controllers configure "roles"=>array( "name"=>"roles", "actions"=>array() ) action configure "{Controller}"=>array( "name"=>"{Controller}", "actions"=>array( "edit{Table}"=>array( "Type"=>"simple"//"AJAX" ,'Role'=>"edit"//lister | consulter | gestion | delete | save ,"view"=>array( "view"=>true ,"layout"=>false ,"pages"=>array( "edit"=>"edit{Table}" ,"lister"=>"lister{Table}" //,"id"=>"id{Table}" ) ) ,"activity"=>"edit" ,"form"=>"form{Table}" ,"model"=>array( "table"=>"{Table}" ) ), ) bash $ ./vendor/bin/phpunit apache <VirtualHost *:80> ServerName litelleframeworkapp.localhost DocumentRoot /path/to/litelleframeworkapp/public <Directory /path/to/litelleframeworkapp/public> DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all
</Directory>
nginx http {
...
include sites-enabled/*.conf;
} nginx server { listen 80; server_name litelleframeworkapp.localhost; root /path/to/litelleframeworkapp/public;
location / {
index index.php;
try_files $uri $uri/ @php;
}
location @php {
# Pass the PHP requests to FastCGI server (php-fpm) on 127.0.0.1:9000
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME /path/to/litelleframeworkapp/public/index.php;
include fastcgi_params;
}
}
All versions of littelframeworkapp with dependencies
smartedutech/litelle-framework-generator Version ^0.2.0