atomino / project
atomino project boilerplate
Installs: 159
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Type:project
pkg:composer/atomino/project
Requires
- ext-curl: *
- ext-gd: *
- ext-json: *
- ext-readline: *
- ext-sockets: *
- atomino/bundle-attachment: dev-master
- atomino/bundle-authenticate: dev-master
- atomino/bundle-authorize: dev-master
- atomino/bundle-comment: dev-master
- atomino/bundle-created: dev-master
- atomino/bundle-debug: dev-master
- atomino/bundle-guid: dev-master
- atomino/bundle-typed-field: dev-master
- atomino/bundle-updated: dev-master
- atomino/carbon: dev-master
- atomino/core: dev-master
- atomino/gold: dev-master
- atomino/mercury: dev-master
This package is auto-updated.
Last update: 2025-10-12 16:39:48 UTC
README
Requirements
- php 8.0;
- ext-gd
- ext-curl
- ext-mbstring
- php-mysql
- mysql 8.0
- composer 2
Optional
- node 15.14.0
- npm 7.7.6
- apache 2.4
Create project
composer create-project atomino/project your-project -s dev- Configure your project within the installer
- Create a
mysqldatabase for your project (utf-8) bin/mkvardir.sh- creates thevardirectory structure- give permissions to the webserver to write the whole
vardirectory bin/atomino mig:init- initializes the migrationsbin/atomino mig:migrate- do the first migration (users)bin/publish.sh- copy all files frometc/publicto thevar/publicfolder
Frontend
This project uses svelte as frontend framework. Frontend project can be found in the frontend folder.
These are separate projects - each of those has it's own root folder - embedded into your application.
- You should install the dependencies:
cd frontend/adminnpm install
- Build your code
npm run dev- development build with watch, compiles directly into thevar/publicfolder- or
npm run build- production build, it compiles into theetc/publicfolder- to make it work you need to publish is to
var/public
- to make it work you need to publish is to
Fonts
(npm required)
There is a built-in solution for fontawesome and all @fontsource fonts to handle.
cd frontend/admin(or any other frontend directory)npm run fonts- this copies all@fontsourceandfontawesome(pro/free) fromnode_moduelstoetc/publicbin/publish.sh
Run and test with the built-in server
- Run the logger server:
bin/log.sh - Run the development server:
bin/dev.sh - Open website in browser:
http://my-project.localhost:8080- You should see an atom
- Open gold admin in the browser:
http://admin.my-project.localhost:8080- user:
atomino@atomino.atom - pass:
atomino
- user:
- Test the api in a browser:
http://api.my-project.localhost:8080/user/1- You should see a json
- Try it with the Chrome Json Formatter extension
Setup apache
- Run
bin/vhost,- It copies
etc/vhostfolder tovar/vhost - and Updates the
rootanddomainvariables in thevhost.conffile based on theatomino.ini
- It copies
- Include the
var/vhost/vhost.confin yourhttpd.conforapache2.conffile - Reload / restart apache
- Open the
http://my-project.localhostin your browser - There is a built-in solution for https, but you can setup your vhost as you like.