Download the PHP package kinetis/skeleton without Composer
On this page you can find all versions of the php package kinetis/skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kinetis/skeleton
More information about kinetis/skeleton
Files in kinetis/skeleton
Package skeleton
Short Description The smallest possible runnable Kinetis application: nginx + PHP-FPM, one controller, one route, a welcome page.
License MIT
Informations about the package skeleton
kinetis/skeleton
The smallest possible runnable Kinetis application
Part of Kinetis, a non-blocking PHP framework for API-first applications, developed in the kinetis-dev/kinetis monorepo.
One controller, one route, a welcome page — nginx + PHP-FPM, so a code change takes effect on your very next request with no container restart. Meant to be copied and grown from, not run as-is.
Running it
Then open http://localhost:8080. Docker is the
only thing you need — the containers install the dependencies and run
the app, so no PHP or Composer has to exist on the host. (--no-install
is what keeps it that way: it fetches the project without resolving
dependencies, which docker compose up then does inside the container
it will run them in.)
The project is yours from that point on. docker-compose.yml mounts it
at /app and needs nothing outside it.
Using this as a starting point
Start editing what you just created. The whole app is
src/Http/WelcomeController.php (one route) and public/index.php,
which is the Composer autoloader plus one
Kinetis\Runtime\HttpStartup::run() call — the framework owns the
startup program itself. Add your own controllers anywhere under App\;
Kinetis discovers them automatically.
Looking for a larger, more realistic example — a database, a queue,
scheduled commands, real-time updates? See
kinetis/pingpong.
Working on this package itself
This package is developed in the
kinetis-dev/kinetis monorepo
and published from it; kinetis-dev/skeleton is the split mirror the
commands above install from. Inside the monorepo, composer.json still
carries the path repository that resolves kinetis/framework from the
sibling checkout, so the stack needs the override that mounts it:
Container paths are /app either way — that override adds mounts and
changes nothing else.
License
MIT — see LICENSE.