小程序三方平台开发: 解析小程序开发的未来趋势和机遇
559
2022-11-03
Nimble 一个超级快速迷你PHP框架基于松耦合可选组件
Nimble is a super fast mini-framework for PHP built on top of optional loose components.
Installation
Clone the repository
$ git clone git@github.com:neoighodaro/nimble.git
CD into your projects directory and run composer install if you don't have composer installed, install it.
php composer install
Start building. Some of the components are Illuminate components, each of them have a readme file in their directory on how to use the component or a link to the authors documentation.
Running your application
You can easily get up and running. Using PHP's in-built php server. cd to your projects directory and run
$ php -S localhost:8234 -t public
Now you open http://localhost:8234 in your browser to see your application.
Your first hello world.
Open your routes.php file, and add a new route
$router->get('/greetings', function () { return 'Hello world';});
Visit http://localhost:8234/greetings. You're done.
Creator | Contributors
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~