Download the PHP package 0xcrypto/simple without Composer
On this page you can find all versions of the php package 0xcrypto/simple. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package simple
Simple Framework
A Simple PHP framework to help you make websites and web applications faster. Fork
Getting Started
Simple Framework is kinda DIY framework. To keep everything light, Simple Framework is not packed with lots of features. It just gives you enough ground to build further. As simple as it can get, the Simple Framework is primarily developed to be compatible with Shared Hosting Providers. I have been working with clients who need their websites to be served on shared hosting. While I do love building with Laravel, it soon becomes an overkill as the project grows but resources don't. Simple Framework aims to give the same feel of Laravel but with quite less resource consumptions and overwhelming complexity. Simple Framework comes with Blade Templating Engine, Idiorm, Alto Router and very helpful function.
Prerequisites
All you need is PHP 7.1+ and MySQL (optional).
Installing
-
Install required packages with composer
-
Run the development server
- Visit and see Simple Framework in action.
Development
Simple Framework uses MVC and you can tinker with everything. The directory contains the controllers and models. The views are outside in directory. These views are blade templates. Routes are written in as an array which are splated into the Alto Router. Configurations are divided into two parts - and . Declarations in becomes global constants available in all over the application. On the other hand, declarations in is accessible via config function. I know it should be the other way. I will fix it in next commit.
Deployment
While primarily made for shared hosting, Simple Framework can be used in any kind of enviornment as far as PHP is installed. The process is same for all kind of hosting. Just upload the codebase to your hosting and change the with correct MySQL credentials.
It is okay if you upload vendor directory as well. If composer is available on your hosting environment, it is not recommended to upload vendor directory. Install packages using composer on the server.
It is recommended to keep everything out of directory except the directory, and . If you do this, make sure you change the following lines in :
Change to
where is where Simple has been relocated.
If relocating the codebase is not possible, you can simply upload the code and it will work. Make sure you delete the following files.
- composer.json
- composer.lock
- LICENSE
- README.md
Built With
- Blade Templating Engine - The templating engine used.
- Alto Router - Dependency Management
- Idiorm - The ORM used.
- dd - Reasonable var_dumps.
- composer - Dependency Management
Contributing
Send pull requests to https://github.com/0xcrypto/simple.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Vikrant Singh Chauhan - Developer & Maintainer - Follow on Twitter
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
All versions of simple with dependencies
jenssegers/blade Version ^1.3
j4mie/idiorm Version ^1.5
larapack/dd Version ^1.1