Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opensourcedoc/frameworkless-php
A "no framework" approach to PHP web development
https://github.com/opensourcedoc/frameworkless-php
boilerplate boilerplate-application boilerplate-web frameworkless no-framework nodejs nodejs16 php php81
Last synced: 5 days ago
JSON representation
A "no framework" approach to PHP web development
- Host: GitHub
- URL: https://github.com/opensourcedoc/frameworkless-php
- Owner: opensourcedoc
- License: mit
- Created: 2021-11-12T22:17:13.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T02:22:58.000Z (7 months ago)
- Last Synced: 2024-04-21T02:19:43.151Z (7 months ago)
- Topics: boilerplate, boilerplate-application, boilerplate-web, frameworkless, no-framework, nodejs, nodejs16, php, php81
- Language: JavaScript
- Homepage:
- Size: 1.12 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Frameworkless PHP
A "no framework" approach to PHP web development.
## System Requirements
### Back End
* Production
* A major GNU/Linux distribution is recommended
* [PHP](https://www.php.net/) 8.1 or above
* Development
* [Composer](https://getcomposer.org/)### Front End
* Production
* A [modern browser](https://browsehappy.com/) like Chrome or Firefox
* Development
* [Node.js](https://nodejs.org/) 18.x or above
* [Gulp](https://gulpjs.com/)
* [Sass](https://sass-lang.com/)
* [Autoprefixer](https://github.com/postcss/autoprefixer)
* [stylelint](https://stylelint.io/)
* [Babel](https://babeljs.io/)
* [Flow](https://flow.org/en/)
* [ESLint](https://eslint.org/)### Install CLI Tools on Windows
```shell
> choco install php --version=8.1.21
> choco install composer
> choco install nodejs --version=18.16.1
> choco install rsync
> choco install sed
```## Usage
Clone the repo locally:
```shell
$ git clone https://github.com/cwchentw/frameworkless-php.git myapp
$ cd myapp
```Run your web app locally:
```shell
$ ./tools/bin/serve localhost:5000
```To deploy your app to a PaaS, invoke this command:
```shell
$ ./tools/bin/publish
```This command exposes all external files to *public* directory.
To deploy your app to an IaaS, invoke this command:
```shell
$ sudo ./tools/bin/sync-to /path/to/www
```The root directory of your app is located in *www* directory.
## Copyright
Copyright (c) 2021-2023 OpenTechTutorials. Licensed under MIT